OSDN Git Service
Andrew Cagney [Wed, 5 Jul 2000 08:05:53 +0000 (08:05 +0000)]
Update TODO.
Mark Kettenis [Tue, 4 Jul 2000 22:55:42 +0000 (22:55 +0000)]
* TODO: Update.
Alexandre Oliva [Tue, 4 Jul 2000 08:00:19 +0000 (08:00 +0000)]
* armvirt.c (ABORTS): Do not define.
Alexandre Oliva [Tue, 4 Jul 2000 07:18:18 +0000 (07:18 +0000)]
* armdefs.h (struct ARMul_State): Add is_StrongARM.
(ARM_Strong_Prop, STRONGARM): Define.
* arminit.c (ARMul_NewState): Reset is_StrongARM.
(ARMul_SelectProcessor): Set is_StrongARM.
* wrapper.c (sim_create_inferior): Use bfd machine type to
determine processor type to emulate.
* armemu.h (BUSUSEDINCPCS, BUSUSEDINCPCN): Don't increment PC
when emulating StrongARM.
Alexandre Oliva [Tue, 4 Jul 2000 06:54:48 +0000 (06:54 +0000)]
* armemu.c (ARMul_Emulate, t_undefined): Proceed to next insn.
Alexandre Oliva [Tue, 4 Jul 2000 06:52:30 +0000 (06:52 +0000)]
* armemu.h (INSN_SIZE): New macro.
(SET_ABORT): Save CPSR in SPSR and set LR.
* armemu.c (ARMul_Emulate, isize): Set to INSN_SIZE.
(WriteR15, WriteSR15): Do not discard bit 1 in Thumb mode.
* arminit.c (ARMul_Abort): Use new SETABORT and INSN_SIZE.
Alexandre Oliva [Tue, 4 Jul 2000 06:39:39 +0000 (06:39 +0000)]
* armemu.c (LoadSMult): Use WriteR15() to discard the least
significant bits of PC.
Alexandre Oliva [Tue, 4 Jul 2000 06:35:36 +0000 (06:35 +0000)]
* armemu.h (WRITEDESTB): New macro.
* armemu.c (ARMul_Emulate26, bl): Use WriteR15Branch() to
modify PC. Moved the existing logic...
(WriteR15Branch): ... here. New function.
(WriteR15, WriteSR15): Drop the two least significant bits.
(LoadSMult): Use WriteR15Branch() to modify PC.
(LoadMult): Use WRITEDESTB() instead of WRITEDEST().
Alexandre Oliva [Tue, 4 Jul 2000 06:19:29 +0000 (06:19 +0000)]
* armemu.h (GETSPSR): Call ARMul_GetSPSR().
* armsupp.c (ARMul_CPSRAltered): Zero out bits as they're
extracted from state->Cpsr, but preserve the unused bits.
(ARMul_GetCPSR): Get bits preserved in state->Cpsr.
(ARMul_GetSPSR, ARMul_FixCPSR): Use ARMul_GetCPSR() to
get the full CPSR word.
Alexandre Oliva [Tue, 4 Jul 2000 06:06:30 +0000 (06:06 +0000)]
* armemu.h (PSR_FBITS, PSR_SBITS, PSR_XBITS, PSR_CBITS): New.
(SETPSR_F, SETPSR_S, SETPSR_X, SETPSR_C): New macros.
(SETPSR, SET_INTMODE, SETCC): Removed.
* armsupp.c (ARMul_FixCPSR, ARMul_FixSPSR): Do not test bit
mask. Use SETPSR_* to modify PSR.
(ARMul_SetCPSR): Load all bits from value.
* armemu.c (ARMul_Emulate, msr): Do not test bit mask.
Alexandre Oliva [Tue, 4 Jul 2000 05:47:22 +0000 (05:47 +0000)]
* arm-dis.c (print_insn_arm): Output combinations of PSR flags.
Alexandre Oliva [Tue, 4 Jul 2000 05:30:43 +0000 (05:30 +0000)]
* armemu.c (ARMul_Emulate): Compute writeback value before
loading, since the offset register may be the destination
register.
Alexandre Oliva [Tue, 4 Jul 2000 05:16:20 +0000 (05:16 +0000)]
* armdefs.h (SYSTEMBANK): Define as USERBANK.
* armsupp.c (ARMul_SwitchMode): Remove SYSTEMBANK cases.
Alexandre Oliva [Tue, 4 Jul 2000 05:11:37 +0000 (05:11 +0000)]
* coff-arm.c (coff_arm_relocate_section): Do not ignore the symbol
value of PC-relative offsets.
Andrew Cagney [Tue, 4 Jul 2000 05:00:54 +0000 (05:00 +0000)]
TIc80 simulator.
Andrew Cagney [Tue, 4 Jul 2000 02:47:08 +0000 (02:47 +0000)]
Rewrite gdb.asm so that it doesn't assume a C comiler (or any C
support).
Andrew Cagney [Tue, 4 Jul 2000 02:38:05 +0000 (02:38 +0000)]
Replace jumbo pattern match with gdb_expect_list().
Andrew Cagney [Tue, 4 Jul 2000 02:32:58 +0000 (02:32 +0000)]
Fix MOVN.fmt and MOVZ.fmt, need to test GPR[RT].
Jim Wilson [Tue, 4 Jul 2000 02:18:06 +0000 (02:18 +0000)]
Fix hash section entry size to match ELF standard. Override for alpha-linux.
* elf64-alpha.c (alpha_elf_size_info): New.
(elf_backend_size_info): Define to alpha_elf_size_info.
* elfcode.h (elf_size_info): Change hash bucket size to 4.
Ulf Carlsson [Tue, 4 Jul 2000 00:10:15 +0000 (00:10 +0000)]
2000-07-03 Ulf Carlsson <ulfc@engr.sgi.com>
* elf32-mips.c: Include elf32-target.h again for the traditional
MIPS targets.
Nick Clifton [Mon, 3 Jul 2000 22:25:33 +0000 (22:25 +0000)]
Tidy up formatting.
Add -mall-opcodes, -mno-skip-bug, -mno-wrap.
Nick Clifton [Mon, 3 Jul 2000 21:52:37 +0000 (21:52 +0000)]
Fix formatting.
Elena Zannoni [Mon, 3 Jul 2000 18:59:36 +0000 (18:59 +0000)]
2000-07-03 Christopher Faylor <cgf@cygnus.com>
Committed by Elena Zannoni <ezannoni@cygnus.com>
* sh-tdep.c (sh_skip_prologue): Change prologue matching for modern
compilers.
(sh_frame_find_saved_regs): Ditto.
(sh_find_callers_reg): Stop if pc is zero.
Nick Clifton [Mon, 3 Jul 2000 18:47:53 +0000 (18:47 +0000)]
Fix typo in previous delta
Nick Clifton [Mon, 3 Jul 2000 18:45:18 +0000 (18:45 +0000)]
Turn a weak symbol into an external symbol for a non-shared, non-relocatable
link.
Nick Clifton [Mon, 3 Jul 2000 17:49:37 +0000 (17:49 +0000)]
Fix formatting of reloc16.c
Regernate generated files.
Kevin Buettner [Sun, 2 Jul 2000 20:18:11 +0000 (20:18 +0000)]
Move PARAMS elimination remarks to the appropriate ChangeLog file.
Kevin Buettner [Sun, 2 Jul 2000 20:07:07 +0000 (20:07 +0000)]
PARAMS elimination.
Ulf Carlsson [Sun, 2 Jul 2000 01:17:52 +0000 (01:17 +0000)]
2000-07-01 Koundinya K <kk@ddeorg.soft.net>
* config.bfd: Change targ_defvec and targ_selvecs for mips*-*-sysv4*
to add a new target for traditional mips i.e
bfd_elf32_tradbigmips_vec and bfd_elf32_tradlittlemips_vec.
* configure.in: Likewise.
* configure: Rebuild.
* targets.c (bfd_elf32_tradbigmips_vec): Declare and put in
bfd_target_vector.
(bfd_elf32_tradlittlemips_vec): Likewise.
* elfxx-target.h: Add macro INCLUDED_TARGET_FILE which is more a test
to see that elfNN_bed does not get redefined even if the target file
is included twice for a chip. See elf32-mips.c.
Ulf Carlsson [Sun, 2 Jul 2000 01:14:54 +0000 (01:14 +0000)]
2000-07-01 Koundinya K <kk@ddeorg.soft.net>
* ltconfig: Add support for mips-dde-sysv4.2MP
Andrew Cagney [Sat, 1 Jul 2000 08:02:53 +0000 (08:02 +0000)]
Revert previous ser-unix change. Locks up serial device.
Andrew Cagney [Sat, 1 Jul 2000 05:49:13 +0000 (05:49 +0000)]
Restore setting of SER_HARDWIRE. Lost during rs6000 merge.
Alan Modra [Sat, 1 Jul 2000 01:41:09 +0000 (01:41 +0000)]
Fix 2000-06-22. grep after running dep.sed
Nick Clifton [Fri, 30 Jun 2000 22:15:12 +0000 (22:15 +0000)]
Add entry omited when Stephane Carrez's h68hc11 code was chaecked in.
DJ Delorie [Fri, 30 Jun 2000 21:57:53 +0000 (21:57 +0000)]
* peicode.h (coff_swap_filehdr_in): can't use e_magic because we
can't assume the PE header is at 0x80.
DJ Delorie [Fri, 30 Jun 2000 21:54:03 +0000 (21:54 +0000)]
* peicode.h (coff_swap_filehdr_in): can't use e_magic because we
can't assume the PE header is at 0x80.
* coff/pe.h: clarify a comment
DJ Delorie [Thu, 29 Jun 2000 15:07:46 +0000 (15:07 +0000)]
typo
DJ Delorie [Thu, 29 Jun 2000 15:06:34 +0000 (15:06 +0000)]
* syms.c (_bfd_stab_section_find_neares_line): Use IS_ABSOLUTE_PATH.
Corinna Vinschen [Wed, 28 Jun 2000 20:26:53 +0000 (20:26 +0000)]
* ltconfig: Check for host_os beeing one of `cygwin', `mingw' or
`os2'. Force ac_cv_exeext to be ".exe" in that case.
DJ Delorie [Wed, 28 Jun 2000 15:55:41 +0000 (15:55 +0000)]
* go32stub.h: Update stub.
Syd Polk [Tue, 27 Jun 2000 21:50:33 +0000 (21:50 +0000)]
2000-06-19 Syd Polk <spolk@redhat.com>
* acinclude.m4: Updated for Incr Tcl 3.0.
Kevin Buettner [Tue, 27 Jun 2000 06:45:43 +0000 (06:45 +0000)]
Params elimination.
Nick Clifton [Tue, 27 Jun 2000 01:45:30 +0000 (01:45 +0000)]
Applied Marek Michalkiewicz <marekm@linux.org.pl>'s patch to ehance the AVR port.
Nick Clifton [Tue, 27 Jun 2000 01:31:59 +0000 (01:31 +0000)]
Fix formatting.
Scott Bambrough [Mon, 26 Jun 2000 16:50:29 +0000 (16:50 +0000)]
2000-06-26 Scott Bambrough <scottb@netwinder.org>
* arm-dis.c (regnames): Add an additional register set to match
the set used by GCC. Make it the default.
Nick Clifton [Sun, 25 Jun 2000 17:58:45 +0000 (17:58 +0000)]
Fix spelling typo
Eli Zaretskii [Sun, 25 Jun 2000 08:12:30 +0000 (08:12 +0000)]
* Makefile.in (install-info): Support installation from outside of
the source directory. Reported by Mark Harig
<markh@frazier.landmark.com>.
Alexandre Oliva [Sat, 24 Jun 2000 20:10:24 +0000 (20:10 +0000)]
* elf32-arm.h (elf32_arm_final_link_relocate): Print `(local)'
for local symbols whose names are unknown.
Frank Ch. Eigler [Sat, 24 Jun 2000 14:47:54 +0000 (14:47 +0000)]
* verbosity reduction
2000-06-23 Frank Ch. Eigler <fche@redhat.com>
* cgen-trace.h (TRACE_USEFUL_MASK): Remove TRACE_EVENTS_IDX.
Frank Ch. Eigler [Sat, 24 Jun 2000 14:37:57 +0000 (14:37 +0000)]
* build cleanliness fix
2000-06-24 Frank Ch. Eigler <fche@redhat.com>
From Maciej W. Rozycki <macro@ds2.pg.gda.pl>:
* Makefile.in (distclean): Clean cconfig.h also.
Andrew Cagney [Fri, 23 Jun 2000 14:00:13 +0000 (14:00 +0000)]
Tipo.
Andrew Cagney [Fri, 23 Jun 2000 12:39:41 +0000 (12:39 +0000)]
Fix printf arguments.
Andrew Cagney [Fri, 23 Jun 2000 11:06:31 +0000 (11:06 +0000)]
For EABI, start allocting space on the stack when the registers are
full. Not when the number of args == 8.
Andrew Cagney [Fri, 23 Jun 2000 08:12:27 +0000 (08:12 +0000)]
Add support for auto_boolean (true, false or auto).
Andrew Cagney [Fri, 23 Jun 2000 07:44:00 +0000 (07:44 +0000)]
When FP registers are full, store FP arguments on stack and not in
integer registers.
Alexandre Oliva [Thu, 22 Jun 2000 20:42:34 +0000 (20:42 +0000)]
* armemu.c (Multiply64): Fix computation of flag N.
Alexandre Oliva [Thu, 22 Jun 2000 20:03:32 +0000 (20:03 +0000)]
* armemu.c (MultiplyAdd64): Fix computation of flag N.
Alan Modra [Thu, 22 Jun 2000 13:01:43 +0000 (13:01 +0000)]
Ensure /usr/include and the like stay out of dependencies.
Kevin Buettner [Thu, 22 Jun 2000 07:16:20 +0000 (07:16 +0000)]
PARAMS elimination.
Pierre Muller [Wed, 21 Jun 2000 10:21:14 +0000 (10:21 +0000)]
* typo problems in last commit fixed
Pierre Muller [Wed, 21 Jun 2000 09:59:51 +0000 (09:59 +0000)]
2000-06-21 Pierre Muller <muller@ics.u-strasbg.fr>
* symfile.c (init_filename_language_table) add ".pas", ".p" and ".pp"
as pascal source file extensions.
J.T. Conklin [Tue, 20 Jun 2000 22:13:17 +0000 (22:13 +0000)]
* gdb.texinfo: Fix typo, $bpnum is set to last breakpoint number.
Frank Ch. Eigler [Tue, 20 Jun 2000 21:12:33 +0000 (21:12 +0000)]
* build fix
2000-06-20 Frank Ch. Eigler <fche@redhat.com>
* compile.c: Don't include "wait.h".
(sim_resume): Use local SIM_WIFEXITED and SIM_WIFSIGNALED macros
instead of WIF* from host.
H.J. Lu [Tue, 20 Jun 2000 20:40:00 +0000 (20:40 +0000)]
2000-06-20 H.J. Lu <hjl@gnu.org>
* Makefile.am: Rebuild dependency.
* Makefile.in: Rebuild.
Ulf Carlsson [Tue, 20 Jun 2000 16:37:36 +0000 (16:37 +0000)]
2000-06-20 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
* elf32-mips.c (_bfd_mips_elf_copy_indirect_symbol): New function.
(elf_backend_copy_indirect_symbol): Map to the new function.
Timothy Wall [Tue, 20 Jun 2000 13:59:03 +0000 (13:59 +0000)]
TI C54x target added.
Alan Modra [Tue, 20 Jun 2000 12:33:20 +0000 (12:33 +0000)]
Correct pointer comparisons relying on NULL less than any other pointer.
Alexander Aganichev's fix for ieee.c
Ulf Carlsson [Tue, 20 Jun 2000 11:06:19 +0000 (11:06 +0000)]
2000-06-20 Ulf Carlsson <ulfc@engr.sgi.com>
* elf-bfd.h (struct elf_obj_tdata): Define per BFD Irix 5 virtual
sections elf_{text,data}_{section,symbol}.
* elf32-mips.c: mips_elf_{text,data}_{section,symbol}{,_ptr}: Remove.
(_bfd_mips_elf_hide_symbol): New function.
(elf_backend_hide_symbol): Map to the new function.
(_bfd_mips_elf_add_symbol_hook): Change to use new per BFD
definitions of mips_elf_{text,data}_{section,symbol}.
(mips_elf_local_relocation_p): Try to find the direct symbol
based on new check_forced argument.
(mips_elf_calculate_relocation): Use new version of
mips_elf_local_relocation_p.
(mips_elf_relocate_section): Likewise.
(_bfd_mips_elf_relocate_section): Likewise.
(mips_elf_sort_hash_table): Only assert that have enough GOT
space.
(mips_elf_got16_entry): Match all 32 bits to the existing GOT
entry if the relocation based on the new external argument.
(mips_elf_create_dynamic_relocation): Assert that we have a
section contents allocated where we can swap out the dynamic
relocations.
(mips_elf_calculate_relocation): Find the real hash-table entry
correctly by using h->root.root.type. Only create a dynamic
relocation entry if the symbol is defined in a shared library.
Create an external GOT entry for the GOT16 relocation if the
symbol was forced local.
(_bfd_mips_elf_finish_dynamic_symbol): Don't assert there is a
dynamic index if the symbol was forced local.
2000-06-20 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
* elf32-mips.c: Fix typos in comments.
Alexandre Oliva [Tue, 20 Jun 2000 09:36:12 +0000 (09:36 +0000)]
* armemu.h (NEGBRANCH): Do not overwrite the two most significant
bits of the offset.
Kevin Buettner [Tue, 20 Jun 2000 07:13:39 +0000 (07:13 +0000)]
PARAMS elimination.
Mark Kettenis [Mon, 19 Jun 2000 19:33:35 +0000 (19:33 +0000)]
* rs6000-core.c: Wrap definition of `union VmInfo' within #ifdef
CORE_VERSION_1.
J.T. Conklin [Mon, 19 Jun 2000 18:59:07 +0000 (18:59 +0000)]
* remote-nindy.c (nindy_fetch_word, nindy_store_word): Removed
(nindy_xfer_inferior_memory): Use dcache_xfer_memory() instead of
breaking transfer into chunks and using nindy_fetch_word() and
nindy_store_word().
* remote-bug.c (bug_xfer_memory): Use dcache_xfer_memory() instead
of breaking transfer into chunks and using gr_fetch_word() and
gr_store_word().
* remote.c (remote_fetch_word, remote_store_word): Removed.
* remote-utils.h (gr_fetch_word, gr_store_word): Removed.
* remote-utils.c (gr_fetch_word, gr_store_word): Removed.
* dcache.h (dcache_fetch, dcache_poke, dcache_poke_block): Removed.
* dcache.c (dcache_fetch, dcache_poke): Removed.
Elena Zannoni [Mon, 19 Jun 2000 14:56:21 +0000 (14:56 +0000)]
2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdb.base/maint.exp: Add 'maint print architecture' item to output
of 'help maint print' command.
Pierre Muller [Mon, 19 Jun 2000 10:14:22 +0000 (10:14 +0000)]
* defs.h: define language_pascal in language enumeration.
* language.h: define _LANG_pascal macro.
* language.c: add language_pascal support in all language dependant functions.
Nick Clifton [Mon, 19 Jun 2000 01:22:44 +0000 (01:22 +0000)]
Applied Stephane Carrez <Stephane.Carrez@worldnet.fr> patches to add support
for m68hc11 and m68hc12 processors.
Nick Clifton [Mon, 19 Jun 2000 00:56:04 +0000 (00:56 +0000)]
Add strongarm tests
Ulf Carlsson [Mon, 19 Jun 2000 00:18:58 +0000 (00:18 +0000)]
2000-06-18 Ulf Carlsson <ulfc@engr.sgi.com>
* elf_bfd.h (struct elf_backend_data): Add info argument to
elf_backend_hide_symbol.
(_bfd_elf_link_hash_hide_symbol): Likewise.
* elf.c (_bfd_elf_link_hash_hide_symbol): Likewise.
* elf64-ia64.c (elf64_ia64_hash_hide_symbol): Likewise.
* elflink.h (elf_link_add_object_symbols): Likewise.
(elf_link_assign_sym_version): Likewise.
H.J. Lu [Sun, 18 Jun 2000 23:48:21 +0000 (23:48 +0000)]
2000-06-18 H.J. Lu <hjl@gnu.org>
* coff-i386.c (coff_i386_reloc): Don't return in case of
output_bfd == (bfd *) NULL if COFF_WITH_PE is defined.
Compensate PE relocations when linking with non-PE object
files to generate a non-PE executable.
Nick Clifton [Sun, 18 Jun 2000 23:29:02 +0000 (23:29 +0000)]
Changed values of MODSYNC and CRCCON as suggest by Russ Magee <rmagee@home.com>
Andrew Cagney [Sun, 18 Jun 2000 03:45:35 +0000 (03:45 +0000)]
Re-do multi-line tests using gdb_expect_list().
Kevin Buettner [Sun, 18 Jun 2000 00:23:24 +0000 (00:23 +0000)]
PARAMS elimination.
H.J. Lu [Sat, 17 Jun 2000 23:08:19 +0000 (23:08 +0000)]
2000-06-17 H.J. Lu <hjl@gnu.org>
* getopt.h: Updated from gcc.
* libiberty.h: Likewise.
* symcat.h: Likewise.
H.J. Lu [Sat, 17 Jun 2000 15:51:55 +0000 (15:51 +0000)]
2000-05-06 Zack Weinberg <zack@wolery.cumb.org>
* ansidecl.h: #define __extension__ to nothing if
GCC_VERSION < 2008.
Andrew Cagney [Sat, 17 Jun 2000 15:18:21 +0000 (15:18 +0000)]
Add ``set debug mips'' command. Add much debugging.
Andrew Cagney [Sat, 17 Jun 2000 14:33:56 +0000 (14:33 +0000)]
For MIPS_EABI, squeeze simple floating point structs into an FP register.
Andrew Cagney [Sat, 17 Jun 2000 14:00:31 +0000 (14:00 +0000)]
Remove arbitrary printf output limit placed on pmon targets
Ulf Carlsson [Sat, 17 Jun 2000 09:47:15 +0000 (09:47 +0000)]
2000-06-17 Ulf Carlsson <ulfc@engr.sgi.com>
* elf32-mips.c (mips_elf_calculate_relocation): Explicitly write
GOT entries if we're doing a static link or -Bsymbolic link.
Andrew Cagney [Sat, 17 Jun 2000 05:42:50 +0000 (05:42 +0000)]
EABI64 was selecting EABI32
Ulf Carlsson [Fri, 16 Jun 2000 23:01:00 +0000 (23:01 +0000)]
2000-06-15 Ulf Carlsson <ulfc@engr.sgi.com>
* elflink.h (elf_link_adjust_relocs): Check for and call backend
specifific swap_reloc_{in,out} and swap_reloca_{in,out} if
available.
(elf_link_output_relocs): Likewise.
(elf_reloc_link_order): Likewise.
Nicholas Duffek [Fri, 16 Jun 2000 21:02:22 +0000 (21:02 +0000)]
* rs6000-tdep.c: Changes throughout for multi-arch 64-bit
support. Incorporate most of tm-rs6000.h.
(find_toc_address_hook): Rename to rs6000_find_toc_address_hook.
(rs6000_set_host_arch_hook): Declare.
(read_memory_addr): Define.
(pop_frame): Rename to rs6000_pop_frame.
(rs6000_pop_frame, rs6000_fix_call_dummy, rs6000_push_arguments,
rs6000_frame_saved_pc, rs6000_frame_chain): Remove non-generic
dummy frame handling.
(branch_dest, rs6000_pop_frame, rs6000_skip_trampoline_code,
rs6000_frame_saved_pc, frame_get_saved_regs,
frame_initial_stack_address, rs6000_frame_chain,
rs6000_convert_from_func_ptr_addr): Call read_memory_addr instead
of read_memory_integer.
(branch_dest, rs6000_pop_frame, rs6000_push_arguments,
rs6000_skip_trampoline_code, rs6000_frame_saved_pc,
frame_get_saved_regs, frame_initial_stack_address,
rs6000_frame_chain): Replace 4 with TDEP->wordsize.
(skip_prologue): Recognize some 64-bit stack adjustments.
(push_dummy_frame, pop_dummy_frame, set_processor,
show_processor): Delete.
(frame_get_saved_regs): Manipulate saved register addresses using
CORE_ADDR instead of int.
(rs6000_create_inferior): New function.
(register_names_*[]): Change to struct reg registers_*[].
(variants[]): Assimilate into multi-arch approach.
(register_names_*[], variants[]): Refer to pre-PowerPC
architectures as POWER instead of RS6000.
* rs6000-nat.c: Ubiquitous changes for 64-bit support.
(vmap_secs, xcoff_relocate_symtab): Cast addresses
to unsigned long to avoid sign-extension errors.
(set_host_arch): New function.
(xcoff_relocate_symtab): Try disabling usleep(36000) workaround.
(rs6000_core_fns): Use new bfd_target_xcoff_flavour.
(_initialize_core_rs6000): Initialize rs6000_set_host_arch_hook.
* symfile.c (find_sym_fns): Remove special xcoff kludge.
* xcoffread.c (secnum_to_bfd_section): Initialize args.objfile.
(process_linenos): Query line struct size from coff
backend instead of using compile-time constant.
(enter_line_range): Likewise.
(read_xcoff_symtab): Pass "XCOFF64" instead of "XCOFF" to
record_debugformat() if appropriate.
(process_xcoff_symbol): Access symbol addresses using
SYMBOL_VALUE_ADDRESS instead of SYMBOL_VALUE.
(read_symbol_lineno): Retrieve XCOFF64 symbol names from strtbl.
(scan_xcoff_symtab): Likewise. Query syment struct size from
coff backend instead of using compile-time constant.
(xcoff_sym_fns): Set flavour to bfd_target_xcoff_flavour.
* Makefile.in (INTERNAL_LDFLAGS): Add $(MH_LDFLAGS) to list of flags
that this Makefile variable get set to. (From Kevin Buettner.)
* config/powerpc/aix.mh (MH_LDFLAGS): Add linker flags so that
the TOC doesn't overflow. (From Kevin Buettner.)
* config/powerpc/tm-ppc-aix.h: Move config decisions to
multi-arched rs6000-tdep.c.
* config/rs6000/tm-rs6000.h: Likewise.
(GDB_MULTI_ARCH): Define.
(skip_trampoline_code): Rename to rs6000_skip_trampoline_code.
(is_magic_function_pointer): Replace with
rs6000_convert_from_func_ptr_addr.
(TARGET_CREATE_INFERIOR_HOOK): Define.
(find_toc_address_hook): Rename to rs6000_find_toc_address_hook.
(rs6000_set_host_arch_hook): Declare.
* config/rs6000/nm-rs6000.h (CHILD_XFER_MEMORY): Define.
Nicholas Duffek [Fri, 16 Jun 2000 20:46:47 +0000 (20:46 +0000)]
* disassemble.c (disassembler): Refer to the PowerPC 620 using
bfd_mach_ppc_620 instead of 620.
Nicholas Duffek [Fri, 16 Jun 2000 20:45:33 +0000 (20:45 +0000)]
* archures.c (enum bfd_architecture): #define constants for
PowerPc and RS6000 machine numbers.
* bfd-in2.h: Regenerate.
* coffcode.h (coff_set_arch_mach_hook): #ifdef XCOFF64, set arch
to bfd_arch_powerpc instead of bfd_arch_rs6000. Refer to PowerPc
and RS6000 machine numbers using #defined constants from
archures.c.
* cpu-powerpc.c (arch_info_struct): Refer to PowerPc and RS6000
machine numbers using #defined constants from archures.c. Add
entries for EC603e, 630, A35, RS64II, RS64III, 7400. Specify
64-bit words in 620 entry.
* cpu-rs6000.c (arch_info_struct): Create with entries for RS1,
RSC, and RS2.
(bfd_rs6000_arch): Change default machine to 0 (bfd_mach_rs6k).
Nicholas Duffek [Fri, 16 Jun 2000 20:40:50 +0000 (20:40 +0000)]
* coffcode.h (coff_mkobject_hook): Set xcoff_tdata.xcoff64.
* libcoff-in.h (struct xcoff_tdata): Define xcoff64 field.
* libcoff.h (struct xcoff_tdata): Define xcoff64 field.
Nicholas Duffek [Fri, 16 Jun 2000 20:35:08 +0000 (20:35 +0000)]
* bfd-in.h (bfd_family_coff): Define.
* bfd-in2.h: Regenerate.
* coffgen.c (coff_count_linenumbers, coff_symbol_from,
coff_find_nearest_line): Check COFFness using bfd_family_coff()
instead of bfd_target_coff_flavour.
* cofflink.c (_bfd_coff_final_link): Likewise.
* cpu-ns32k.c (do_ns32k_reloc): Don't strcmp() target name to
exclude XCOFF files.
* reloc.c (bfd_perform_relocation, bfd_install_relocation):
Likewise.
* targets.c (enum bfd_flavour): Add bfd_target_xcoff_flavour.
* xcoff-target.h (TARGET_SYM): Use bfd_target_xcoff_flavour.
* xcofflink.c (XCOFF_XVECP): Delete.
(bfd_xcoff_link_record_set, bfd_xcoff_import_symbol,
bfd_xcoff_export_symbol, bfd_xcoff_link_count_reloc,
bfd_xcoff_record_link_assignment,
bfd_xcoff_size_dynamic_sections): Replace XCOFF_XVECP() with
check for bfd_target_xcoff_flavour.
Nicholas Duffek [Fri, 16 Jun 2000 20:19:24 +0000 (20:19 +0000)]
* rs6000-core.c: Support 64-bit core files, support pre-4.3 core
files on AIX 4.3.
(read_hdr): New function.
(rs6000coff_core_p): Store mstsave or __context64 struct instead
of trying to extract individual registers. Set abfd->arch_info
to match the architecture that created the core file.
(rs6000coff_get_section_contents): Delete.
* xcoff-target.h (rs6000coff_get_section_contents): Delete.
Alan Modra [Fri, 16 Jun 2000 07:42:12 +0000 (07:42 +0000)]
Fix typo.
Jim Blandy [Fri, 16 Jun 2000 06:28:54 +0000 (06:28 +0000)]
File list is incorrect.
Kevin Buettner [Fri, 16 Jun 2000 02:11:36 +0000 (02:11 +0000)]
PARAMS elimination.
H.J. Lu [Thu, 15 Jun 2000 21:09:01 +0000 (21:09 +0000)]
Fix some typos.
H.J. Lu [Thu, 15 Jun 2000 20:56:25 +0000 (20:56 +0000)]
Synced with libiberty in the gcc repository.