Nick Clifton [Thu, 29 Jun 2000 22:51:58 +0000 (22:51 +0000)]
Set vma and lma for segment when using the BFD_ASSEMBLER for COFF format files.
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.
Aldy Hernandez [Wed, 28 Jun 2000 19:06:25 +0000 (19:06 +0000)]
16 bit immediate expr support for mips
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.
Nick Clifton [Tue, 27 Jun 2000 18:21:39 +0000 (18:21 +0000)]
Do not allow EITHER_BUT_PREFER_MU opcodes to be packed into reverse
sequential buckets, and warn if the user does so.
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.
Alan Modra [Mon, 26 Jun 2000 23:15:58 +0000 (23:15 +0000)]
Revert incorrect 2000-06-25 patch.
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:59:22 +0000 (17:59 +0000)]
Fix spelling typos.
Remove use of DEFUN().
Nick Clifton [Sun, 25 Jun 2000 17:58:54 +0000 (17:58 +0000)]
Fix spelling typo
Nick Clifton [Sun, 25 Jun 2000 16:49:47 +0000 (16:49 +0000)]
Assemble ldmac correctly.
Nick Clifton [Sun, 25 Jun 2000 16:39:45 +0000 (16:39 +0000)]
Treat GNU weak symbols as external.
Nick Clifton [Sun, 25 Jun 2000 16:30:27 +0000 (16:30 +0000)]
Advance past both parts of dos based <letter>: filepath prefix.
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>.
DJ Delorie [Sun, 25 Jun 2000 01:33:31 +0000 (01:33 +0000)]
386.c (md_estimate_size_before_relax): Revert
more changes from Sept 1999
(tc_i386_fix_adjustable): ditto
(md_apply_fix3): ditto
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.
Nick Clifton [Sat, 24 Jun 2000 19:53:12 +0000 (19:53 +0000)]
Fix description of --stabs switch
Frank Ch. Eigler [Sat, 24 Jun 2000 15:10:45 +0000 (15:10 +0000)]
* cgen assembler fixes; approved by original author <devans>
2000-06-24 Frank Ch. Eigler <fche@redhat.com>
* cgen.c (expr_jmp_buf_p): New validity flag for expr_jmp_buf.
(gas_cgen_parse_operand): Set it around expression() call.
(gas_cgen_md_operand): Test for it before longjmp().
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.
Alan Modra [Sat, 24 Jun 2000 11:51:53 +0000 (11:51 +0000)]
Blow away DEFUN.
Alan Modra [Sat, 24 Jun 2000 08:07:01 +0000 (08:07 +0000)]
Fix comment typos.
Alan Modra [Sat, 24 Jun 2000 04:48:41 +0000 (04:48 +0000)]
arm-elf does --gc-sections too.
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.
Alan Modra [Fri, 23 Jun 2000 11:58:00 +0000 (11:58 +0000)]
Duh! What double-increment?
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.
Frank Ch. Eigler [Fri, 23 Jun 2000 10:51:28 +0000 (10:51 +0000)]
* $literal support
2000-06-23 Frank Ch. Eigler <fche@redhat.com>
* expr.c (operand): Permit $hex literals if LITERAL_PREFIXDOLLAR_HEX
is defined.
Alan Modra [Fri, 23 Jun 2000 10:12:48 +0000 (10:12 +0000)]
(operand): Do not as_bad() if RELAX_PAREN_GROUPING is
defined. Fix error message and double increment of
input_line_pointer for `[' grouping.
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.
Alan Modra [Fri, 23 Jun 2000 05:44:30 +0000 (05:44 +0000)]
Kazu Hirata's formatting and comment typo fixes.
Timothy Wall [Fri, 23 Jun 2000 03:31:06 +0000 (03:31 +0000)]
Move premature QP notation clearing to it's appropriate location.
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:14:21 +0000 (13:14 +0000)]
Check dependecies for leading `/' in this dir too.
Alan Modra [Thu, 22 Jun 2000 13:01:43 +0000 (13:01 +0000)]
Ensure /usr/include and the like stay out of dependencies.
Alan Modra [Thu, 22 Jun 2000 10:49:13 +0000 (10:49 +0000)]
Fix a problem with 32-bit displacements in .code16gcc mode.
Kevin Buettner [Thu, 22 Jun 2000 07:16:20 +0000 (07:16 +0000)]
PARAMS elimination.
H.J. Lu [Thu, 22 Jun 2000 03:35:54 +0000 (03:35 +0000)]
2000-06-21 H.J. Lu <hjl@gnu.org>
* Makefile.am: Rebuild dependency.
* Makefile.in: Rebuild.
Jeff Law [Wed, 21 Jun 2000 21:31:24 +0000 (21:31 +0000)]
* config/tc-h8300.c (parse_reg): Make the function static.
(parse_exp): Likewise.
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.
DJ Delorie [Wed, 21 Jun 2000 02:18:17 +0000 (02:18 +0000)]
* config/tc-i386.c (tc_i386_fix_adjustable): Revert change from
Sept 1999; RVA relocs need to be treated more like DIR32 relocs
for cygwin import libraries to work properly.
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:41:02 +0000 (20:41 +0000)]
2000-06-20 H.J. Lu <hjl@gnu.org>
* Makefile.am: Rebuild dependency.
* Makefile.in: Rebuild.
H.J. Lu [Tue, 20 Jun 2000 20:40:40 +0000 (20:40 +0000)]
2000-06-20 H.J. Lu <hjl@gnu.org>
* Makefile.am: Rebuild dependency.
* Makefile.in: Rebuild.
* configure: Likewise.
* doc/Makefile.in: Likewise.
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.
Timothy Wall [Tue, 20 Jun 2000 13:52:32 +0000 (13:52 +0000)]
TI C54x target.
Timothy Wall [Tue, 20 Jun 2000 13:31:59 +0000 (13:31 +0000)]
tic54x support.
Timothy Wall [Tue, 20 Jun 2000 13:29:07 +0000 (13:29 +0000)]
tic54x/ibmc54xdsp target for ld.
Alan Modra [Tue, 20 Jun 2000 12:33:21 +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.
Alan Modra [Mon, 19 Jun 2000 02:36:45 +0000 (02:36 +0000)]
Move "Changes in version 2.10" to where it belongs.
Alan Modra [Mon, 19 Jun 2000 02:05:53 +0000 (02:05 +0000)]
Update list of targets supporting --gc-sections.
KEEP .eh_frame contents.
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 01:09:55 +0000 (01:09 +0000)]
Improve verbose message
Nick Clifton [Mon, 19 Jun 2000 01:05:41 +0000 (01:05 +0000)]
Do not expect the compilation unit tag to be unit 1
Nick Clifton [Mon, 19 Jun 2000 01:04:20 +0000 (01:04 +0000)]
Expect all arm variants to fail copying executable test
Nick Clifton [Mon, 19 Jun 2000 01:01:04 +0000 (01:01 +0000)]
Use bfd_octets_per_byte instead of OCTETS_PER_BYTE
Nick Clifton [Mon, 19 Jun 2000 00:59:43 +0000 (00:59 +0000)]
Fix compile time warnings
Nick Clifton [Mon, 19 Jun 2000 00:58:34 +0000 (00:58 +0000)]
Fix compile time warnings
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.
H.J. Lu [Sun, 18 Jun 2000 23:47:18 +0000 (23:47 +0000)]
2000-06-18 H.J. Lu <hjl@gnu.org>
* configure.in: Don't emulate i386-pc-pe-coff with i386coff.
* configure: Rebuild.
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.
Nick Clifton [Sat, 17 Jun 2000 22:00:30 +0000 (22:00 +0000)]
Typo fix: Change BFD_ASSEMLER to BFD_ASSEMBLER.
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
Alan Modra [Sat, 17 Jun 2000 12:09:58 +0000 (12:09 +0000)]
Don't start directives in first column.
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.
Nick Clifton [Fri, 16 Jun 2000 19:11:27 +0000 (19:11 +0000)]
Add -mcpu=rmXXXX switch.
Alan Modra [Fri, 16 Jun 2000 07:42:12 +0000 (07:42 +0000)]
Fix typo.