Commit Graph

56 Commits

Author SHA1 Message Date
Chris Demetriou b9717c7294 [ bfd/ChangeLog ]
2004-04-23  Chris Demetriou  <cgd@broadcom.com>

        * coff-mips.c (mips_relhi_reloc, mips_rello_reloc)
        (mips_switch_reloc, mips_read_relocs, mips_relax_section)
        (mips_relax_pcrel16, PCREL16_EXPANSION_ADJUSTMENT): Remove.
        (mips_relocate_hi): Remove now-unused 'adjust' and 'pcrel' arguments,
        and update comments to reflect current usage.
        (mips_howto_table): Remove entries for MIPS_R_RELHI, MIPS_R_RELLO,
        and MIPS_R_SWITCH, as well as several empty entries.  Update comment
        for MIPS_R_PCREL16.
        (mips_ecoff_swap_reloc_in, mips_ecoff_swap_reloc_out)
        (mips_adjust_reloc_out, mips_bfd_reloc_type_lookup): Remove support
        for MIPS_R_SWITCH, MIPS_R_RELLO, and MIPS_R_RELHI relocations.
        (mips_adjust_reloc_in): Likewise, adjust maximum accepted relocation
        type number to be MIPS_R_PCREL16.
        (mips_relocate_section): Remove support for link-time relaxation
        of branches used by embedded-PIC.  Remove support for MIPS_R_SWITCH,
        MIPS_R_RELLO, and MIPS_R_RELHI relocations.
        (_bfd_ecoff_bfd_relax_section): Redefine to bfd_generic_relax_section.
        * ecoff.c (ecoff_indirect_link_order): Remove support for link-time
        relaxation of branches used by embedded-PIC.
        * ecofflink.c (bfd_ecoff_debug_accumulate): Likewise.
        * libecoff.h (struct ecoff_section_tdata): Remove embedded-PIC
        related members, update comment.
        * pe-mips.c: Remove disabled (commented-out and #if 0'd)
        code related to embedded-PIC.
        * elfxx-mips.c (_bfd_mips_elf_read_ecoff_info): Remove
        initialization of now-removed 'adjust' member of
        'struct ecoff_debug_info'.

[ include/coff/ChangeLog ]
2004-04-23  Chris Demetriou  <cgd@broadcom.com>

        * mips.h (MIPS_R_RELHI, MIPS_R_RELLO, MIPS_R_SWITCH): Remove
        (MIPS_R_PCREL16): Update comment.
        * ecoff.h (struct ecoff_value_adjust): Remove structure.
        (struct ecoff_debug_info): Remove 'adjust' member.
2004-04-24 06:12:25 +00:00
Nick Clifton 5a238b6d94 Add support for a .secrel32 x86 reloc to allow DWARF" debug information to used
with COFF based x86 ports.
2004-04-20 12:17:16 +00:00
Alan Modra 6febb8f8f0 Split ChangeLog files. 2004-01-02 11:16:20 +00:00
Nick Clifton c488125f39 Add alternative defintion of C_WEAKEXT for AIX 5.2 2003-12-02 10:49:14 +00:00
Jason Eckhardt c94e99621d 2003-08-23 Jason Eckhardt <jle@rice.edu>
[bfd/ChangeLog]
        * coff-i860.c (coff_i860_reloc_nyi): New function.
	(howto_table): Add entries for relocations PAIR, HIGHADJ, HIGH,
	LOWn, SPLITn, and BRADDR.
	(RTYPE2HOWTO): Check that the r_type is within the howto_table
	before trying to access the entry.
	(coff_i860_rtype_to_howto): Likewise.
	(coff_i860_reloc_type_lookup): New function.
	(i860_reloc_processing): New function.
	(coff_bfd_reloc_type_lookup): Define macro.
	(RELOC_PROCESSING): Define macro.
	Minor formatting adjustments.

[include/coff/ChangeLog]
	* coff/i860.h (COFF860_R_PAIR, COFF860_R_LOW0, COFF860_R_LOW1,
	COFF860_R_LOW2, COFF860_R_LOW3, COFF860_R_LOW4, COFF860_R_SPLIT0,
	COFF860_R_SPLIT1, COFF860_R_SPLIT2, COFF860_R_HIGHADJ,
	COFF860_R_BRADDR): Define new relocation constants and document.
	Minor formatting adjustments.
2003-08-23 23:00:09 +00:00
Alan Modra 61982e3c09 Convert to C90. 2003-08-07 02:25:50 +00:00
Nick Clifton 19c6e1624b (IMAGE_FILE_NET_RUN_FROM_SWAP): Define.
(IMAGE_FILE_MACHINE_WCEMIPSV2): Define.
 	(IMAGE_FILE_MACHINE_SH3DSP): Define.
 	(IMAGE_FILE_MACHINE_SH3E): Define.
	(IMAGE_FILE_MACHINE_SH5): Define.
 	(IMAGE_FILE_MACHINE_AM33): Define.
 	(IMAGE_FILE_MACHINE_POWERPCFP): Define.
 	(IMAGE_FILE_MACHINE_AXP64): Define.
 	(IMAGE_FILE_MACHINE_TRICORE): Define.
 	(IMAGE_FILE_MACHINE_CEF): Define.
 	(IMAGE_FILE_MACHINE_EBC): Define.
 	(IMAGE_FILE_MACHINE_AMD64): Define.
 	(IMAGE_FILE_MACHINE_M32R): Define.
 	(IMAGE_FILE_MACHINE_CEE): Define.
2003-07-17 14:37:17 +00:00
Jason Eckhardt 7a90ec1ad1 2003-07-14 Christian Groessler <chris@groessler.org>
* i860.h (AOUTSZ): Define properly for i860 coff.
2003-07-15 01:15:08 +00:00
Andreas Jaeger 3fbdb70ec6 * xcoff.h (struct __rtinit ): Convert to ISO C90 prototypes.
* ecoff.h: Convert to ISO C90 prototypes.  Replace PTR by void *.
2003-06-29 13:52:02 +00:00
Nick Clifton 71853f09cc Add support for h8300hn and h8300sn 2003-04-24 12:36:08 +00:00
Nick Clifton ded6339b7e Replace occurrances of 'Hitachi' with 'Renesas'. 2003-04-15 08:51:53 +00:00
Nick Clifton b2b9de805f Add iWMMXt support 2003-03-25 20:56:01 +00:00
Alan Modra 73593ea1dd s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. Simplify
comparisons of bfd_boolean vars with TRUE/FALSE.  Formatting.
2002-11-30 08:39:45 +00:00
Nick Clifton 0379a6552d Add AIX 64 shared library support and emulation layer for binutils 2002-03-18 12:46:15 +00:00
Tom Rix f93591afed Support small archive for pre AIX 4.3 2002-02-01 05:47:14 +00:00
Nick Clifton 5d4ac1011e Add support for OpenRISC 32-bit embedded processor 2002-01-31 17:33:03 +00:00
Tom Rix 214d7241c0 Fix for xcoff <bigaf> big archive support. 2001-12-31 04:06:14 +00:00
Tom Rix 50708144f7 Minimal handle .typchk and .except section. 2001-12-18 00:32:32 +00:00
Tom Rix 54ebab0751 Add except and typeck section strings. Fix xcoff_big_format_p macro. 2001-12-17 22:41:02 +00:00
Tom Rix 7b96e69ac5 Clean up formatting of xcoff.h 2001-12-17 13:13:33 +00:00
Tim Wall 7d9961e897 Fix tic54x testsuite failures and Lmem disassembly bugs. 2001-11-13 14:22:52 +00:00
Nick Clifton 93b4d0cfe1 Fix usage of H_GET_32/16. Likewise with H_PUT_32/16. 2001-10-26 10:57:04 +00:00
Nick Clifton fc08ed56c3 Fix compile time warnings 2001-09-21 14:25:09 +00:00
Alan Modra 44346d6912 * external.h (GET_LINENO_LNNO): Use H_GET_32/16.
(PUT_LINENO_LNNO): Use H_PUT_32/16.
	* m88k.h (GET_LNSZ_SIZE, GET_LNSZ_LNNO, GET_SCN_NRELOC,
	GET_SCN_NLINNO): Use H_GET_32.
	(PUT_LNSZ_LNNO, PUT_LNSZ_SIZE, PUT_SCN_NRELOC, PUT_SCN_NLINNO):
	Use H_PUT_32.
	* ti.h: Formatting fixes.  Make use of H_GET_* and H_PUT_* throughout.
	* xcoff.h: White space changes.
2001-09-18 10:01:08 +00:00
Tom Rix 12ca96df93 Fix import symbols for AIX. 2001-09-06 15:20:00 +00:00
Andreas Jaeger dd7dfc875b * xcoff.h (struct __rtinit): Make proper prototype for rtl. 2001-08-27 09:08:38 +00:00
Joern Rennecke 56d5caaa85 * internal.h (R_JMP2, R_JMPL2, R_MOVL2): Comment spelling fix. 2001-08-24 00:20:01 +00:00
Tom Rix 0f674cdc0f Support for xcoff64 2001-05-24 20:32:58 +00:00
Nick Clifton 5fa78238cb Fix compile time warnings. 2001-03-24 00:45:11 +00:00
Nick Clifton fc41708502 formatting fix 2001-03-14 02:33:30 +00:00
Nick Clifton c77e3e5481 Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
DJ Delorie 6279373cae * include/coff/pe.h: Rename PEP64AOUTHDR to PEPAOUTHDR. Rename
PEP64AOUTSZ to PEPAOUTSZ.
2001-02-13 21:01:44 +00:00
H.J. Lu b1417ae1cc 2001-01-23 H.J. Lu <hjl@gnu.org>
* include/coff/pe.h (struct external_PEI_DOS_hdr): New.
	(struct external_PEI_IMAGE_hdr): New.
2001-02-06 19:35:48 +00:00
Alan Modra 38a353ab16 Replace #warning with #error 2000-12-11 03:43:05 +00:00
Alan Modra aa0722760b #warn -> #warning 2000-12-07 23:48:01 +00:00
Nick Clifton 260c1f9039 Fix formatting, add copyright notice 2000-09-03 17:28:21 +00:00
Tim Wall e11ddfb02d Clean up load page support for tic54x. 2000-04-18 02:21:27 +00:00
Jim Wilson 14be1d4417 Initial patches for IA-64 EFI (64-bit PE) support.
* pe.h (PEP64AOUTHDR): New header for PE+.
	(PEP64AOUTSZ): New macro.
	(IMAGE_SUBSYSTEM_UNKNOWN): New macro.
	(IMAGE_SUBSYSTEM_NATIVE): Ditto.
	(IMAGE_SUBSYSTEM_WINDOWS_GUI): Ditto.
	(IMAGE_SUBSYSTEM_WINDOWS_CUI): Ditto.
	(IMAGE_SUBSYSTEM_POSIX_CUI): Ditto.
	(IMAGE_SUBSYSTEM_WINDOWS_CE_GUI): Ditto.
	(IMAGE_SUBSYSTEM_EFI_APPLICATION): Ditto.
	(IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER): Ditto.
	(IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER): Ditto.
	* internal.h (PE_DEF_FILE_ALIGNMENT): Define only if not defined
	already.
	* ia64.h: New file.
2000-04-17 23:45:22 +00:00
Alan Modra 88adca8b0e Remove U suffix from constants for K&R compilers.
Fix a couple of 64 bit nits.
2000-04-13 01:08:05 +00:00
Tim Wall 2c3b166657 Mods to allow compilation of BFD all targets. 2000-04-11 04:11:03 +00:00
Tim Wall 2cf1695b81 BFD and include/coff support for tic54x target. 2000-04-07 17:06:58 +00:00
Joern Rennecke 66d2d2638e sh-dsp REPEAT support:
opcodes:

        * sh-opc.h (sh_nibble_type): Remove DISP_8 and DISP_4.
        Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}.  Add REPEAT.
        (sh_arg_type): Add A_PC.
        (sh_table): Update entries using immediates.  Add repeat.
        * sh-dis.c (print_insn_shx): Remove DISP_8 and DISP_4.
        Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}.  Add REPEAT.

gas:

        * config/tc-sh.c (immediate): Delete.
        (sh_operand_info): Add immediate member.
        (parse_reg): Use A_PC for pc.
        (parse_exp): Add second argument 'op'.  All callers changed.
        (parse_at): Expect pc to be coded as A_PC.
        Use immediate field in *op.
        (insert): Add fourth argument 'op'.  All callers changed.
        (build_relax): Add second argument 'op'.  All callers changed.
        (insert_loop_bounds): New function.
        (build_Mytes): Remove DISP_4.
        Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}.  Add REPEAT.
        (assemble_ppi): Use immediate field in *operand.
        (sh_force_relocation): Handle BFD_RELOC_SH_LOOP_{START,END}.
        (md_apply_fix): Likewise.
        (tc_gen_reloc): Likewise.  Check for a pcrel BFD_RELOC_SH_LABEL.

include/coff:

        * sh.h (R_SH_LOOP_START, R_SH_LOOP_END): Define.

include/elf:

        * sh.h (R_SH_LOOP_START, R_SH_LOOP_END): New RELOC_NUMBERs.

bfd:

        * reloc.c (_bfd_relocate_contents): Add BFD_RELOC_SH_LOOP_START and
        BFD_RELOC_SH_LOOP_END.
        * elf32-sh.c (sh_elf_howto_tab): Change special_func to
        sh_elf_ignore_reloc for all entries that sh_elf_reloc used to ignore.
        Add entries for R_SH_LOOP_START and R_SH_LOOP_END.
        (sh_elf_reloc_loop): New function.
        (sh_elf_reloc): No need to test for always-to-be-ignored relocs
        any more.
        (sh_rel): Add entries for BFD_RELOC_SH_LOOP_{START,END}.
        (sh_elf_relocate_section): Handle BFD_RELOC_SH_LOOP_{START,END}.
        * bfd-in2.h, libbfd.h: Regenerate.
2000-04-05 21:23:03 +00:00
Jeff Law 6bc4ac717b * internal.h: Fix a typo in the comment for R_MOVL2. 2000-03-15 21:29:17 +00:00
Nick Clifton c8ceb1b10f Defone {MIPS|SH}_PE_MAGIC 2000-02-28 18:57:53 +00:00
Nick Clifton 4bc3b73cfd Add support for WinCE targeted toolchains. 2000-02-24 19:49:18 +00:00
Nick Clifton c66e796ff2 fix spelling of Motorola 2000-01-20 19:08:43 +00:00
Nick Clifton f44373988b add missing definitions 2000-01-05 23:42:56 +00:00
Alan Modra 0c9aad7095 Delete bogus R_PCLONG. Tidy R_*. 1999-09-20 08:45:53 +00:00
Ian Lance Taylor 4809740b1b 1999-09-06 Donn Terry <donn@interix.com>
* internal.h (DTYPE): Define.
	* pe.h (struct external_PEI_filehdr): Rename from
	external_PE_filehdr.  Define even if COFF_IMAGE_WITH_PE is not
	defined.
1999-09-07 03:28:54 +00:00
Nick Clifton 34301951e0 Rename F_SOFTFLOAt to F_SOFT_FLOAT for compatability with include/elf/arm.h 1999-07-17 15:40:17 +00:00