2005-02-15 Nigel Stephens <nigel@mips.com>
Maciej W. Rozycki <macro@mips.com>
* elf32-mips.c (elf_mips16_howto_table_rel): New array for MIPS16
reloc howtos. Add R_MIPS16_HI16 and R_MIPS16_LO16 relocs and
R_MIPS16_GOT16 and R_MIPS16_CALL16 placeholders.
(elf_mips16_jump_howto): Move into elf_mips16_howto_table_rel.
(elf_mips16_gprel_howto): Likewise. Redefine src_mask and
dst_mask.
(mips16_gprel_reloc): Remove bit shuffling; call
_bfd_mips16_elf_reloc_unshuffle(), _bfd_mips_elf_gprel16_with_gp()
and _bfd_mips16_elf_reloc_shuffle() instead.
(mips16_reloc_map): New reloc map for MIPS16 relocs.
(bfd_elf32_bfd_reloc_type_lookup): Use mips16_reloc_map for MIPS16
relocs.
(mips_elf32_rtype_to_howto): Fetch MIPS16 howtos from
elf_mips16_howto_table_rel.
* elf64-mips.c (mips16_elf64_howto_table_rel): New array for
MIPS16 REL reloc howtos. Add R_MIPS16_HI16 and R_MIPS16_LO16
relocs and R_MIPS16_GOT16 and R_MIPS16_CALL16 placeholders.
(elf_mips16_jump_howto): Move into mips16_elf64_howto_table_rel.
(elf_mips16_gprel_howto): Likewise. Redefine src_mask and
dst_mask.
(mips16_elf64_howto_table_rela): New array for MIPS16 RELA
reloc howtos. Add R_MIPS16_26, R_MIPS16_GPREL, R_MIPS16_HI16 and
R_MIPS16_LO16 relocs and R_MIPS16_GOT16 and R_MIPS16_CALL16
placeholders.
(mips16_gprel_reloc): Remove bit shuffling; call
_bfd_mips16_elf_reloc_unshuffle(), _bfd_mips_elf_gprel16_with_gp()
and _bfd_mips16_elf_reloc_shuffle() instead.
(mips16_reloc_map): New reloc map for MIPS16 relocs.
(bfd_elf64_bfd_reloc_type_lookup): Use mips16_reloc_map for MIPS16
relocs.
(mips_elf64_rtype_to_howto): Fetch MIPS16 howtos from
mips16_elf64_howto_table_rela or mips16_elf64_howto_table_rel.
* elfn32-mips.c (elf_mips16_howto_table_rel): New array for MIPS16
REL reloc howtos. Add R_MIPS16_HI16 and R_MIPS16_LO16 relocs and
R_MIPS16_GOT16 and R_MIPS16_CALL16 placeholders.
(elf_mips16_jump_howto): Move into elf_mips16_howto_table_rel.
(elf_mips16_gprel_howto): Likewise. Redefine src_mask and
dst_mask.
(mips16_gprel_reloc): Remove bit shuffling; call
_bfd_mips16_elf_reloc_unshuffle(), _bfd_mips_elf_gprel16_with_gp()
and _bfd_mips16_elf_reloc_shuffle() instead.
(mips16_reloc_map): New reloc map for MIPS16 relocs.
(bfd_elf32_bfd_reloc_type_lookup): Use mips16_reloc_map for MIPS16
relocs.
(mips_elf_n32_rtype_to_howto): Fetch MIPS16 howtos from
elf_mips16_howto_table_rela or elf_mips16_howto_table_rel.
* elfxx-mips.c (_bfd_mips16_elf_reloc_unshuffle): New function to
handle bit shuffling for MIPS16 relocs.
(_bfd_mips16_elf_reloc_shuffle): Likewise.
(_bfd_mips_elf_lo16_reloc): Use _bfd_mips16_elf_reloc_unshuffle()
and _bfd_mips16_elf_reloc_shuffle().
(_bfd_mips_elf_generic_reloc): Likewise.
(mips_elf_calculate_relocation): Likewise. Handle R_MIPS16_HI16
and R_MIPS16_LO16.
(mips_elf_obtain_contents): Remove bit shuffling.
(mips_elf_perform_relocation): Likewise; call
_bfd_mips16_elf_reloc_unshuffle() and _bfd_mips16_elf_reloc_shuffle()
instead.
(_bfd_mips_elf_relocate_section): Likewise. Handle R_MIPS16_HI16
and R_MIPS16_LO16.
* elfxx-mips.h (_bfd_mips16_elf_reloc_unshuffle): Declare.
(_bfd_mips16_elf_reloc_shuffle): Likewise.
* reloc.c (BFD_RELOC_MIPS16_HI16): New reloc.
(BFD_RELOC_MIPS16_HI16_S): Likewise.
(BFD_RELOC_MIPS16_LO16): Likewise.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
gas/:
2005-02-15 Nigel Stephens <nigel@mips.com>
Maciej W. Rozycki <macro@mips.com>
* config/tc-mips.c (reloc_needs_lo_p): Handle
BFD_RELOC_MIPS16_HI16_S.
(fixup_has_matching_lo_p): Handle BFD_RELOC_MIPS16_LO16.
(append_insn): Add BFD_RELOC_MIPS16_GPREL, BFD_RELOC_MIPS16_HI16_S
and BFD_RELOC_MIPS16_LO16 to relocs to suppress overflow
complaints on.
(mips16_ip): Resolve BFD_RELOC_MIPS16_HI16_S,
BFD_RELOC_MIPS16_HI16 and BFD_RELOC_MIPS16_LO16 for constants.
Call my_getSmallExpression() to parse percent operators.
(percent_op_match, mips_percent_op): Separate definitions.
(mips16_percent_op): Define percent operators for the MIPS16 mode.
(parse_relocation): Handle the MIPS16 mode using
mips16_percent_op.
(md_apply_fix3): Handle BFD_RELOC_MIPS16_HI16,
BFD_RELOC_MIPS16_HI16_S and BFD_RELOC_MIPS16_LO16.
gas/testsuite/:
2005-02-15 Nigel Stephens <nigel@mips.com>
Maciej W. Rozycki <macro@mips.com>
* gas/mips/mips16-hilo.d: New test for the R_MIPS16_HI16 and
R_MIPS16_LO16 relocs.
* gas/mips/mips16-hilo-n32.d: Likewise, for the n32 ABI.
* gas/mips/mips16-hilo.s: Source for the new tests.
* gas/mips/mips.exp: Run the new tests.
include/:
2005-02-15 Nigel Stephens <nigel@mips.com>
Maciej W. Rozycki <macro@mips.com>
* elf/mips.h (R_MIPS16_GOT16): New reloc code.
(R_MIPS16_CALL16): Likewise.
(R_MIPS16_HI16): Likewise.
(R_MIPS16_LO16): Likewise.
(R_MIPS16_min): New fake reloc code.
(R_MIPS16_max): Likewise.
ld/testsuite/:
2005-02-15 Nigel Stephens <nigel@mips.com>
Maciej W. Rozycki <macro@mips.com>
* ld-mips-elf/mips16-hilo.d: New test for the R_MIPS16_HI16 and
R_MIPS16_LO16 relocs.
* ld-mips-elf/mips16-hilo-n32.d: Likewise, for the n32 ABI.
* ld-mips-elf/mips16-hilo.s: Auxiliary source for the new tests.
* ld-mips-elf/mips-elf.exp: Run the new tests.
179 lines
4.9 KiB
Plaintext
179 lines
4.9 KiB
Plaintext
2005-02-15 Nigel Stephens <nigel@mips.com>
|
||
Maciej W. Rozycki <macro@mips.com>
|
||
|
||
* mips.h (R_MIPS16_GOT16): New reloc code.
|
||
(R_MIPS16_CALL16): Likewise.
|
||
(R_MIPS16_HI16): Likewise.
|
||
(R_MIPS16_LO16): Likewise.
|
||
(R_MIPS16_min): New fake reloc code.
|
||
(R_MIPS16_max): Likewise.
|
||
|
||
2005-02-11 Maciej W. Rozycki <macro@mips.com>
|
||
|
||
* mips.h (R_MIPS_max): Use FAKE_RELOC to define.
|
||
|
||
2005-01-25 Alexandre Oliva <aoliva@redhat.com>
|
||
|
||
2004-12-10 Alexandre Oliva <aoliva@redhat.com>
|
||
* frv.h: Add R_FRV_TLSMOFF.
|
||
2004-11-10 Alexandre Oliva <aoliva@redhat.com>
|
||
* frv.h: Add TLS relocations.
|
||
|
||
2005-01-17 Nick Clifton <nickc@redhat.com>
|
||
|
||
* sh.h (EF_SH2A_SH4_NOFPU, EF_SH2A_SH3_NOFPU, EF_SH2A_SH4,
|
||
EF_SH2A_SH3E): New flags.
|
||
(EF_SH_BFD_TABLE): Add these new flags to the table.
|
||
|
||
2005-01-12 Alan Modra <amodra@bigpond.net.au>
|
||
|
||
* ppc.h (R_PPC_RELAX32_PLT, R_PPC_RELAX32PC_PLT): Define.
|
||
(R_PPC_RELAX32, R_PPC_RELAX32PC): Adjust value.
|
||
|
||
2004-12-22 Klaus Rudolph <lts-rudolph@gmx.de>
|
||
|
||
* include/elf/avr.h (R_AVR_LDI, R_AVR_6, R_AVR_6_ADIW): New
|
||
relocs.
|
||
|
||
2004-12-16 Richard Sandiford <rsandifo@redhat.com>
|
||
|
||
* v850.h (R_V850_LO16_SPLIT_OFFSET): New reloc.
|
||
|
||
2004-12-09 Ian Lance Taylor <ian@wasabisystems.com>
|
||
|
||
* mips.h (E_MIPS_MACH_9000): Define.
|
||
|
||
2004-11-04 Hans-Peter Nilsson <hp@axis.com>
|
||
|
||
* cris.h (EF_CRIS_VARIANT_MASK, EF_CRIS_VARIANT_ANY_V0_V10)
|
||
(EF_CRIS_VARIANT_V32, EF_CRIS_VARIANT_COMMON_V10_V32): New
|
||
macros.
|
||
|
||
2004-10-06 Eric Christopher <echristo@redhat.com>
|
||
|
||
* dwarf2.h: Sync with gcc dwarf2.h. Fix typo.
|
||
|
||
2004-10-01 Paul Brook <paul@codesourcery.com>
|
||
|
||
* arm.h (SHT_ARM_EXIDX): Define.
|
||
(ELF_STRING_ARM_unwind, ELF_STRING_ARM_unwind,
|
||
ELF_STRING_ARM_unwind_once, ELF_STRING_ARM_unwind_info_once):
|
||
Define.
|
||
|
||
2004-08-25 Dmitry Diky <diwil@spec.ru>
|
||
|
||
* msp430.h: Add new relocs.
|
||
|
||
2004-08-12 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* i386.h (R_386_USED_BY_INTEL_200): New.
|
||
|
||
2004-07-29 Alexandre Oliva <aoliva@redhat.com>
|
||
|
||
Introduce SH2a support.
|
||
2004-02-18 Corinna Vinschen <vinschen@redhat.com>
|
||
* sh.h (EF_SH2A_NOFPU): New.
|
||
2003-12-01 Michael Snyder <msnyder@redhat.com>
|
||
* sh.h (EF_SH2A): New.
|
||
|
||
2004-07-27 Tomer Levi <Tomer.Levi@nsc.com>
|
||
|
||
* crx.h: Add BFD_RELOC_CRX_SWITCH8, BFD_RELOC_CRX_SWITCH16,
|
||
BFD_RELOC_CRX_SWITCH32.
|
||
|
||
2004-07-06 Tomer Levi <Tomer.Levi@nsc.com>
|
||
|
||
* common.h (EM_CRX): Define.
|
||
* crx.h: New file.
|
||
|
||
2004-06-25 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
|
||
|
||
* m32r.h: Add defintions of R_M32R_GOTOFF_HI_ULO,
|
||
R_M32R_GOTOFF_HI_SLO and R_M32R_GOTOFF_LO.
|
||
|
||
2004-06-19 Alan Modra <amodra@bigpond.net.au>
|
||
|
||
* common.h (ELF64_R_INFO): Warning fix.
|
||
|
||
2004-06-14 Chris Demetriou <cgd@broadcom.com>
|
||
|
||
* mips.h (R_MIPS_PC32): Add back (undoing removal on 2004-04-24),
|
||
with an updated comment.
|
||
|
||
2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com>
|
||
|
||
* sh.h (EF_SH_HAS_DSP): Remove.
|
||
(EF_SH_HAS_FP): Remove.
|
||
(EF_SH_MERGE_MACH): Remove.
|
||
(EF_SH4_NOFPU): Convert to decimal.
|
||
(EF_SH4A_NOFPU): Likewise.
|
||
(EF_SH4_NOMMU_NOFPU): Likewise.
|
||
(EF_SH3_NOMMU): Add new macro.
|
||
(EF_SH_BFD_TABLE): Likewise.
|
||
(sh_find_elf_flags): Add prototype.
|
||
(sh_elf_get_flags_from_mach): Likewise.
|
||
|
||
2004-04-24 Chris Demetriou <cgd@broadcom.com>
|
||
|
||
* mips.h (R_MIPS_PC32, R_MIPS_PC64, R_MIPS_GNU_REL_LO16)
|
||
(R_MIPS_GNU_REL_HI16): Remove.
|
||
(R_MIPS_GNU_REL16_S2): Update comment.
|
||
|
||
2004-30-30 Galit Heller <Galit.Heller@nsc.com>
|
||
Tomer Levi <Tomer.Levi@nsc.com>
|
||
|
||
* common.h (EM_CR): Define.
|
||
* cr16c.h: New file.
|
||
|
||
2004-03-23 Paul Brook <paul@codesourcery.com>
|
||
|
||
* arm.h (EF_ERM_BE8, EF_ARM_LE8, EF_ARM_EABI_VER3): Add.
|
||
|
||
2003-03-03 Andrew Stubbs <andrew.stubbs@superh.com>
|
||
|
||
* sh.h: Add EF_SH4_NOMMU_NOFPU.
|
||
|
||
2004-03-01 Richard Sandiford <rsandifo@redhat.com>
|
||
|
||
* frv.h (EF_FRV_CPU_FR405, EF_FRV_CPU_FR450): Define.
|
||
|
||
2004-01-28 Roland McGrath <roland@redhat.com>
|
||
|
||
* common.h (AT_SECURE): New macro.
|
||
|
||
2004-01-21 Roland McGrath <roland@redhat.com>
|
||
|
||
* common.h (AT_SUN_UID, AT_SUN_RUID, AT_SUN_GID): New macros.
|
||
(AT_SUN_RGID, AT_SUN_LDELF, AT_SUN_LDSHDR, AT_SUN_LDNAME,
|
||
AT_SUN_LPAGESZ, AT_SUN_PLATFORM, AT_SUN_HWCAP, AT_SUN_IFLUSH,
|
||
AT_SUN_CPU, AT_SUN_EMUL_ENTRY, AT_SUN_EMUL_EXECFD,
|
||
AT_SUN_EXECNAME) AT_SUN_MMU, AT_SUN_LDDATA): Likewise.
|
||
|
||
2004-01-17 Mark Kettenis <kettenis@gnu.org>
|
||
|
||
* common.h (NT_OPENBSD_IDENT): Define.
|
||
|
||
2004-01-06 Alexandre Oliva <aoliva@redhat.com>
|
||
|
||
2003-09-18 Alexandre Oliva <aoliva@redhat.com>
|
||
* frv.h (EF_FRV_FDPIC): New macro.
|
||
(EF_FRV_PIC_FLAGS): Adjust.
|
||
2003-08-08 Alexandre Oliva <aoliva@redhat.com>
|
||
* frv.h (R_FRV_FUNCDESC_VALUE, R_FRV_FUNCDESC_GOTOFF12,
|
||
R_FRV_FUNCDESC_GOTOFFLO, R_FRV_FUNCDESC_GOTOFFHI, R_FRV_GOTOFF12,
|
||
R_FRV_GOTOFFLO, R_FRV_GOTOFFHI): New.
|
||
2003-08-04 Alexandre Oliva <aoliva@redhat.com>
|
||
* frv.h (R_FRV_GOT12, R_FRV_GOTHI, R_FRV_GOTLO, R_FRV_FUNCDESC,
|
||
R_FRV_FUNCDESC_GOT12, R_FRV_FUNCDESC_GOTHI, R_FRV_FUNCDESC_GOTLO):
|
||
New.
|
||
|
||
|
||
For older changes see ChangeLog-9103
|
||
|
||
Local Variables:
|
||
mode: change-log
|
||
left-margin: 8
|
||
fill-column: 74
|
||
version-control: never
|
||
End:
|