2014-02-07 03:26:26 +08:00
|
|
|
|
2014-02-06 Andrew Pinski <apinski@cavium.com>
|
|
|
|
|
|
|
|
|
|
* mips.h (E_MIPS_MACH_OCTEON3): New enum constant.
|
|
|
|
|
|
2013-11-18 02:30:28 +08:00
|
|
|
|
2013-11-17 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* x86_64.h (R_X86_64_PC32_BND): New.
|
|
|
|
|
(R_X86_64_PLT32_BND): Likewise.
|
|
|
|
|
|
PowerPC64 ELFv2 support for gold.
elfcpp/
* powerpc.h (EF_PPC64_ABI): New enum constant.
(STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK): Likewise.
(ppc64_decode_local_entry): New function.
(ppc64_encode_local_entry): Likewise.
gold/
* powerpc.cc (Powerpc_relobj::abiversion, set_abiversion,
ppc64_local_entry_offset, ppc64_local_entry_offset,
do_read_symbols): New functions.
(Powerpc_relobj::e_flags_, st_other_): New vars.
(Powerpc_relobj::Powerpc_relobj): Call set_abiversion.
(Powerpc_dynobj::abiversion, set_abiversion): New functions.
(Powerpc_relobj::e_flags_): New var.
(Target_powerpc::first_plt_entry_offset, plt_entry_size): Inline
and adjust for ELFv2.
(Target_powerpc::abiversion, set_abiversion, stk_toc): New functions.
(Powerpc_relobj::do_find_special_sections): Check no .opd in ELFv2.
(Powerpc_dynobj::do_find_special_sections): Likewise.
(Target_powerpc::do_define_standard_symbols): Define ".TOC.".
(Target_powerpc::Branch_info::make_stub): Adjust stub destination
to ELFv2 local entry.
(Target_powerpc::do_relax): No thread safe barriers needed for
ELFv2.
(Output_data_plt_powerpc::initial_plt_entry_size_,
plt_entry_size): Delete. Replace all uses with
first_plt_entry_offset() and plt_entry_size().
(Output_data_plt_powerpc::Output_data_plt_powerpc): Remove
reserved_size parm. Update callers.
(Output_data_plt_powerpc::entry_count): Update.
(Output_data_plt_powerpc::first_plt_entry_offset): Make private
and use Target_powerpc::first_plt_entry_offset().
(Output_data_plt_powerpc::get_plt_entry_size): Similarly and
rename to plt_entry_size.
(Output_data_plt_powerpc::add_ifunc_entry,
add_local_ifunc_entry): Adjust reloc for ELFv2.
(glink_eh_frame_fde_64): Rename to glink_eh_frame_fde_64v1.
(glink_eh_frame_fde_64v2): New.
(Stub_table::plt_call_size): Support ELFv2 sizing.
(Output_data_glink::add_eh_frame): Use the new FDE.
(Output_data_glink::set_final_data_size): Adjust for ELFv2 glink.
(Stub_table::do_write): Write ELFv2 stubs and glink.
(Target_powerpc::Relocate::relocate): Replaces nop after call
with ld 2,24(1) and adjust local offset destination for ELFv2.
2013-10-29 15:15:48 +08:00
|
|
|
|
2013-10-30 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* powerpc.h (EF_PPC64_ABI): New enum constant.
|
|
|
|
|
(STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK): Likewise.
|
|
|
|
|
(ppc64_decode_local_entry): New function.
|
|
|
|
|
(ppc64_encode_local_entry): Likewise.
|
|
|
|
|
|
Report overflow on PowerPC64 @h and @ha relocations.
This changes the behaviour of @h and @ha on PowerPC64 to report errors
on 32-bit overflow. The motivation for this change is that on
PowerPC64, most uses of @h and @ha modifiers and their corresponding
relocations are to build up 32-bit offsets. We'd like to know when
such offsets overflow. Only rarely do people use @h or @ha with the
high 32-bit modifiers to build a 64-bit constant. Those uses will now
need to use two new modifiers, @high and @higha, if the constant isn't
known at assembly time. For now, we won't report overflow at assembly
time..
This also fixes an error when applying some of the HIGHER and HIGHEST
relocations.
include/elf/
* ppc64.h (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA,
R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): New.
(IS_PPC64_TLS_RELOC): Match new tls relocs.
bfd/
* reloc.c (BFD_RELOC_PPC64_ADDR16_HIGH, BFD_RELOC_PPC64_ADDR16_HIGHA,
BFD_RELOC_PPC64_TPREL16_HIGH, BFD_RELOC_PPC64_TPREL16_HIGHA,
BFD_RELOC_PPC64_DTPREL16_HIGH, BFD_RELOC_PPC64_DTPREL16_HIGHA): New.
* elf64-ppc.c (ppc64_elf_howto_raw): Add entries for new relocs.
Make all _HA and _HI relocs report signed overflow.
(ppc64_elf_reloc_type_lookup): Handle new relocs.
(must_be_dyn_reloc, ppc64_elf_check_relocs): Likewise.
(dec_dynrel_count, ppc64_elf_relocate_section): Likewise.
(ppc64_elf_relocate_section): Don't apply 0x8000 adjust to
R_PPC64_TPREL16_HIGHER, R_PPC64_TPREL16_HIGHEST,
R_PPC64_DTPREL16_HIGHER, and R_PPC64_DTPREL16_HIGHEST.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
gas/
* config/tc-ppc.c (SEX16): Don't mask.
(REPORT_OVERFLOW_HI): Define as zero.
(ppc_elf_suffix): Support @high, @higha, @dtprel@high, @dtprel@higha,
@tprel@high, and @tprel@higha modifiers.
(md_assemble): Ignore X_unsigned when applying 16-bit insn fields.
Add (disabled) code to check @h and @ha reloc overflow for powerpc64.
Handle new relocs.
(md_apply_fix): Similarly.
elfcpp/
* powerpc.h (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA,
R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Define.
gold/
* powerpc.cc (Target_powerpc::Scan::check_non_pic): Handle new relocs.
(Target_powerpc::Scan::global, local): Likewise.
(Target_powerpc::Relocate::relocate): Likewise. Check for overflow
on all ppc64 @h and @ha relocs.
2013-10-29 14:23:25 +08:00
|
|
|
|
2013-10-30 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* powerpc.h (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
|
|
|
|
|
R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA,
|
|
|
|
|
R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Define.
|
|
|
|
|
|
2013-03-02 06:45:56 +08:00
|
|
|
|
2013-03-01 Cary Coutant <ccoutant@google.com>
|
|
|
|
|
|
|
|
|
|
* dwarf.h (enum DW_LANG): Adjust spacing for consistency.
|
|
|
|
|
(enum DW_SECT): New enum type.
|
|
|
|
|
|
2012-12-18 00:56:12 +08:00
|
|
|
|
2012-12-17 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* README: Add copyright notice.
|
|
|
|
|
|
2012-10-30 20:44:58 +08:00
|
|
|
|
2012-10-30 Steve McIntyre <steve.mcintyre@linaro.org>
|
|
|
|
|
|
|
|
|
|
* arm.h: New enum for EABI soft- and hard-float flags.
|
|
|
|
|
|
2012-09-16 01:11:28 +08:00
|
|
|
|
2012-09-15 Jiong Wang <jiwang@tilera.com>
|
|
|
|
|
|
|
|
|
|
* tilegx.h: New file.
|
|
|
|
|
* elfcpp.h: add EM_TILEGX.
|
|
|
|
|
|
2012-08-14 10:22:32 +08:00
|
|
|
|
2012-08-14 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* powerpc.h: Add more relocs.
|
|
|
|
|
(R_PPC_REL16*): Rename to R_POWERPC_REL16*.
|
|
|
|
|
|
2012-05-11 19:10:19 +08:00
|
|
|
|
2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR gold/14091
|
|
|
|
|
* x86_64.h (R_X86_64_RELATIVE64): New.
|
|
|
|
|
|
2012-05-02 06:46:36 +08:00
|
|
|
|
2012-05-01 Cary Coutant <ccoutant@google.com>
|
|
|
|
|
|
|
|
|
|
* dwarf.h (enum DW_TAG, enum DW_FORM, enum DW_AT, enum DW_ENCODING)
|
|
|
|
|
(enum DW_OP, enum DW_CFA): Remove.
|
|
|
|
|
Include dwarf2.def.
|
|
|
|
|
|
2012-04-24 07:31:15 +08:00
|
|
|
|
2012-04-23 Cary Coutant <ccoutant@google.com>
|
|
|
|
|
|
|
|
|
|
* elfcpp_swap.h (struct Swap_aligned32): New template.
|
|
|
|
|
|
2012-04-17 09:57:23 +08:00
|
|
|
|
2012-04-16 David S. Miller <davem@davemloft.net>
|
|
|
|
|
|
|
|
|
|
* sparc.h (R_SPARC_JMP_IREL): New relocation.
|
|
|
|
|
|
2012-04-13 00:26:06 +08:00
|
|
|
|
2012-04-12 David S. Miller <davem@davemloft.net>
|
|
|
|
|
|
|
|
|
|
* sparc.h (R_SPARC_WDISP10): New relocation.
|
|
|
|
|
|
2012-03-13 08:13:08 +08:00
|
|
|
|
2012-03-12 Cary Coutant <ccoutant@google.com>
|
|
|
|
|
|
|
|
|
|
Update DWARF enums from ../include/dwarf2.h.
|
|
|
|
|
* dwarf.h (enum DW_TAG): Add new DWARF-4 tags.
|
|
|
|
|
(enum DW_FORM): Add new DWARF-4 and Fission extensions.
|
|
|
|
|
(enum DW_AT): New enum.
|
|
|
|
|
(enum DW_LINE_EXTENDED_OPS): Add new DWARF-4 opcode.
|
|
|
|
|
(enum DW_ENCODING): Add new DWARF-4 encoding.
|
|
|
|
|
(enum DW_OP): Add new DWARF-4 opcodes.
|
|
|
|
|
(enum DW_CHILDREN): New enum.
|
|
|
|
|
(enum DW_LANG): New enum.
|
|
|
|
|
|
* mips.h: New file
* elfcpp.h (SHT_MIPS_REGINFO): New enums for processor-specific flags.
(SHF_MIPS_GPREL): Likewise.
(PT_MIPS_REGINFO, PT_MIPS_RTPROC, PT_MIPS_OPTIONS): Likewise.
(DT_MIPS_RLD_VERSION, DT_MIPS_TIME_STAMP, DT_MIPS_ICHECKSUM,
DT_MIPS_IVERSION, DT_MIPS_FLAGS, DT_MIPS_BASE_ADDRESS, DT_MIPS_MSYM,
DT_MIPS_CONFLICT, DT_MIPS_LIBLIST, DT_MIPS_LOCAL_GOTNO,
DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO, DT_MIPS_SYMTABNO,
DT_MIPS_UNREFEXTNO, DT_MIPS_GOTSYM, DT_MIPS_HIPAGENO, DT_MIPS_RLD_MAP,
DT_MIPS_DELTA_CLASS, DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE,
DT_MIPS_DELTA_INSTANCE_NO, DT_MIPS_DELTA_RELOC, DT_MIPS_DELTA_RELOC_NO,
DT_MIPS_DELTA_SYM, DT_MIPS_DELTA_SYM_NO, DT_MIPS_DELTA_CLASSSYM,
DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_CXX_FLAGS, DT_MIPS_PIXIE_INIT,
DT_MIPS_SYMBOL_LIB, DT_MIPS_LOCALPAGE_GOTIDX, DT_MIPS_LOCAL_GOTIDX,
DT_MIPS_HIDDEN_GOTIDX, DT_MIPS_PROTECTED_GOTIDX, DT_MIPS_OPTIONS,
DT_MIPS_INTERFACE, DT_MIPS_DYNSTR_ALIGN, DT_MIPS_INTERFACE_SIZE,
DT_MIPS_RLD_TEXT_RESOLVE_ADDR, DT_MIPS_PERF_SUFFIX,
DT_MIPS_COMPACT_SIZE, DT_MIPS_GP_VALUE, DT_MIPS_AUX_DYNAMIC,
DT_MIPS_PLTGOT, DT_MIPS_RWPLT): Likewise.
2012-01-28 09:04:22 +08:00
|
|
|
|
2012-01-27 Aleksandar Simeonov <asimeonov@mips.com>
|
|
|
|
|
|
|
|
|
|
* mips.h: New file
|
|
|
|
|
* elfcpp.h (SHT_MIPS_REGINFO): New enums for processor-specific flags.
|
|
|
|
|
(SHF_MIPS_GPREL): Likewise.
|
|
|
|
|
(PT_MIPS_REGINFO, PT_MIPS_RTPROC, PT_MIPS_OPTIONS): Likewise.
|
|
|
|
|
(DT_MIPS_RLD_VERSION, DT_MIPS_TIME_STAMP, DT_MIPS_ICHECKSUM,
|
|
|
|
|
DT_MIPS_IVERSION, DT_MIPS_FLAGS, DT_MIPS_BASE_ADDRESS, DT_MIPS_MSYM,
|
|
|
|
|
DT_MIPS_CONFLICT, DT_MIPS_LIBLIST, DT_MIPS_LOCAL_GOTNO,
|
|
|
|
|
DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO, DT_MIPS_SYMTABNO,
|
|
|
|
|
DT_MIPS_UNREFEXTNO, DT_MIPS_GOTSYM, DT_MIPS_HIPAGENO, DT_MIPS_RLD_MAP,
|
|
|
|
|
DT_MIPS_DELTA_CLASS, DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE,
|
|
|
|
|
DT_MIPS_DELTA_INSTANCE_NO, DT_MIPS_DELTA_RELOC, DT_MIPS_DELTA_RELOC_NO,
|
|
|
|
|
DT_MIPS_DELTA_SYM, DT_MIPS_DELTA_SYM_NO, DT_MIPS_DELTA_CLASSSYM,
|
|
|
|
|
DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_CXX_FLAGS, DT_MIPS_PIXIE_INIT,
|
|
|
|
|
DT_MIPS_SYMBOL_LIB, DT_MIPS_LOCALPAGE_GOTIDX, DT_MIPS_LOCAL_GOTIDX,
|
|
|
|
|
DT_MIPS_HIDDEN_GOTIDX, DT_MIPS_PROTECTED_GOTIDX, DT_MIPS_OPTIONS,
|
|
|
|
|
DT_MIPS_INTERFACE, DT_MIPS_DYNSTR_ALIGN, DT_MIPS_INTERFACE_SIZE,
|
|
|
|
|
DT_MIPS_RLD_TEXT_RESOLVE_ADDR, DT_MIPS_PERF_SUFFIX,
|
|
|
|
|
DT_MIPS_COMPACT_SIZE, DT_MIPS_GP_VALUE, DT_MIPS_AUX_DYNAMIC,
|
|
|
|
|
DT_MIPS_PLTGOT, DT_MIPS_RWPLT): Likewise.
|
|
|
|
|
|
2012-01-28 08:59:27 +08:00
|
|
|
|
2012-01-27 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
* elfcpp.h (STT_GNU_IFUNC): Add comment.
|
|
|
|
|
|
2011-07-03 21:37:09 +08:00
|
|
|
|
2011-07-03 Samuel Thibault <samuel.thibault@gnu.org>
|
|
|
|
|
Thomas Schwinge <thomas@schwinge.name>
|
|
|
|
|
|
2011-07-03 21:45:32 +08:00
|
|
|
|
PR binutils/12913
|
2011-07-03 21:37:09 +08:00
|
|
|
|
* elfcpp.h (ELFOSABI): Add ELFOSABI_GNU with value of ELFOSABI_LINUX,
|
|
|
|
|
keep ELFOSABI_LINUX as an alias. Remove ELFOSABI_HURD.
|
|
|
|
|
|
2011-07-02 12:50:13 +08:00
|
|
|
|
2011-07-01 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
* dwarf.h (enum DW_CFA): Define.
|
|
|
|
|
|
2010-08-13 06:18:14 +08:00
|
|
|
|
2010-08-12 Cary Coutant <ccoutant@google.com>
|
|
|
|
|
|
|
|
|
|
* elfcpp.h (enum SHT): Add SHT_GNU_INCREMENTAL_GOT_PLT.
|
|
|
|
|
|
2010-08-13 06:01:11 +08:00
|
|
|
|
2010-08-12 Cary Coutant <ccoutant@google.com>
|
|
|
|
|
|
|
|
|
|
* elfcpp.h (enum SHT): Add SHT_GNU_INCREMENTAL_SYMTAB,
|
|
|
|
|
SHT_GNU_INCREMENTAL_RELOCS.
|
|
|
|
|
|
2010-08-04 17:53:38 +08:00
|
|
|
|
2010-08-04 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
* i386.h (R_386_IRELATIVE): Define.
|
|
|
|
|
* powerpc.h (R_POWERPC_IRELATIVE): Define.
|
|
|
|
|
(R_PPC_RELAX32, R_PPC_RELAX32PC): Don't define.
|
|
|
|
|
(R_PPC_RELAX32_PLT, R_PPC_RELAX32PC_PLT): Don't define.
|
|
|
|
|
* sparc.h (R_SPARC_IRELATIVE): Define.
|
|
|
|
|
* x86_64.h (R_X86_64_IRELATIVE): Define.
|
|
|
|
|
(R_X86_64_GNU_VTINHERIT): Rename from R_386_GNU_VTINHERIT.
|
|
|
|
|
(R_X86_64_GNU_VTENTRY): Rename from R_386_GNU_VTENTRY.
|
|
|
|
|
|
2010-05-12 Doug Kwan <dougkwan@google.com>
elfcpp/ChangeLog
* arm.h (Tag_FP_arch, Tag_ABI_align_needed, Tag_ABI_align_preserved,
Tag_FP_HP_extension, Tag_MPextension_use_legacy): Rename from
existing tags.
(Tag_undefined40, Tag_undefined41, Tag_MPextension_use,
Tag_undefined43): New tags.
(Targ_VFP_arch, Tag_ABI_align8_needed, TAG_ABI_align8_preserved,
Tag_VFP_HP_extension): Define aliases for backward compatiblity.
gold/ChangeLog
* arm.cc (Target_arm::do_finalize_sections): Create an empty
attributes section only if there no attributes section after merging.
(Target_arm::merge_object_attributes): Move value of
Tag_MPextension_use_legacy to that of Tag_MPextension_use.
Handle Tag_DIV_use and Tag_MPextension_use_legacy.
* testsuite/Makefile.am (check_SCRIPTS): Add arm_attr_merge.sh
(check_DATA): Add arm_attr_merge_6.stdout, arm_attr_merge_6r_stdout
and arm_attr_merge_7.stdout.
(arm_attr_merge_6.stdout, arm_attr_merge_6 arm_attr_merge_6a.o
arm_attr_merge_6b.o, arm_attr_merge_6r.stdout, arm_attr_merge_6r,
arm_attr_merge_7.stdout, arm_attr_merge_7, arm_attr_merge_7a.o,
arm_attr_merge_7b.o): New rules.
(MOSTLYCLEANFILES): Add arm_attr_merge_6, arm_attr_merge_6r and
arm_attr_merge_7
* testsuite/Makefile.in: Regenerate.
* testsuite/arm_attr_merge.sh: New file.
* testsuite/arm_attr_merge_[67][ab].s: Same.
2010-05-13 10:41:15 +08:00
|
|
|
|
2010-05-12 Doug Kwan <dougkwan@google.com>
|
|
|
|
|
|
|
|
|
|
* arm.h (Tag_FP_arch, Tag_ABI_align_needed, Tag_ABI_align_preserved,
|
|
|
|
|
Tag_FP_HP_extension, Tag_MPextension_use_legacy): Rename from
|
|
|
|
|
existing tags.
|
|
|
|
|
(Tag_undefined40, Tag_undefined41, Tag_MPextension_use,
|
|
|
|
|
Tag_undefined43): New tags.
|
|
|
|
|
(Targ_VFP_arch, Tag_ABI_align8_needed, TAG_ABI_align8_preserved,
|
|
|
|
|
Tag_VFP_HP_extension): Define aliases for backward compatiblity.
|
2010-08-04 17:53:38 +08:00
|
|
|
|
|
2010-03-06 05:04:59 +08:00
|
|
|
|
2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* elfcpp.h (VER_FLG_INFO): Define.
|
|
|
|
|
|
2010-01-22 14:06:46 +08:00
|
|
|
|
2010-01-21 Doug Kwan <dougkwan@google.com>
|
|
|
|
|
|
|
|
|
|
* arm.h (EXIDX_CANTUNWIND): New enum.
|
|
|
|
|
|
2010-01-20 01:55:49 +08:00
|
|
|
|
2010-01-19 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
* elfcpp.h (PN_XNUM): Define.
|
|
|
|
|
|
2009-12-15 03:57:47 +08:00
|
|
|
|
2009-12-14 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
* elfcpp_file.h: Revert last patch.
|
|
|
|
|
|
2009-12-11 21:42:17 +08:00
|
|
|
|
2009-12-11 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* elfcpp_file.h: Fix shadowed variable warnings.
|
|
|
|
|
|
2009-12-10 Doug Kwan <dougkwan@google.com>
elfcpp/ChangeLog
* arm.h: New enums for EABI object attribute tags and values.
gold/ChangeLog
* arm.cc (attributes.h): New include.
(Arm_relobj::Arm_relobj): Initialize attributes_section_data_.
(Arm_relobj::~Arm_relobj): Delete object pointed by
attributes_section_data_.
(Arm_relobj::attributes_section_data): New method definition.
(Arm_relobj::attributes_section_data_): New data member declaration.
(Arm_dynobj::Arm_dynobj): Initialize attributes_section_data_.
(Arm_dynobj::~Arm_dynobj): Delete object pointed by
attributes_section_data_.
(Arm_dynobj::attributes_section_data): New method definition.
(Arm_dynobj::attributes_section_data_): New data member declaration.
(Target_arm::Target_arm): Initialize attributes_section_data_. Change
initialization value of may_use_blx_ to false.
(Target_arm::using_thumb2, Target_arm::using_thumb_only,
Target_arm::may_use_arm_nop, Target_arm::may_use_thumb2_nop): Use
object attributes to compute results instead of hard-coding.
(Target_arm::do_attribute_arg_type, Target_arm::do_attributes_order,
Target_arm::get_secondary_compatible_arch,
Target_arm::set_secondary_compatible_arch
Target_arm::tag_cpu_arch_combine, Target_arm::aeabi_enum_name,
Target_arm::tag_cpu_name_value, Target_arm::merge_object_attributes):
New method declarations.
(Target_arm::get_aeabi_object_attribute): New method definition.
(Target_arm::attributes_section_data_): New data member declaration.
(read_arm_attributes_section): New template definition.
(Arm_relobj::do_read_symbols): Read attributes section if it exists.
(Arm_dynobj::do_read_symbols): Ditto.
(Target_arm::do_finalize_sections): Merge attributes sections from
input. Check for BLX use after attributes section merging.
Fix __exidx_start and __exidx_end visibility. Create an
.ARM.attributes section if necessary.
(Target_arm::get_secondary_compatible_arch,
Target_arm::set_secondary_compatible_arch,
Target_arm::tag_cpu_arch_combine, Target_arm::aeabi_enum_name,
Target_arm::tag_cpu_name_value, Target_arm::merge_object_attributes,
Target_arm::do_attribute_arg_type, Target_arm::do_attributes_order):
New method definitions.
2009-12-11 04:55:33 +08:00
|
|
|
|
2009-12-10 Doug Kwan <dougkwan@google.com>
|
|
|
|
|
|
|
|
|
|
* arm.h: New enums for EABI object attribute tags and values.
|
|
|
|
|
|
2009-12-06 10:49:46 +08:00
|
|
|
|
2009-12-05 Doug Kwan <dougkwan@google.com>
|
|
|
|
|
|
|
|
|
|
* arm.h: Define enums for Tag_CPU_arch EABI attribute.
|
|
|
|
|
|
2009-11-25 08:10:05 +08:00
|
|
|
|
2009-11-24 Rafael Avila de Espindola <espindola@google.com>
|
|
|
|
|
|
|
|
|
|
* elfcpp_file.h: Include elfcpp.h.
|
|
|
|
|
|
2009-11-03 23:12:03 +08:00
|
|
|
|
2009-11-03 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
* elfcpp.h: Remove trailing commas from enum definitions.
|
|
|
|
|
|
2009-10-30 Doug Kwan <dougkwan@google.com>
elfcpp/ChangeLog:
* arm.h (EF_ARM_BE8, EF_ARM_EABIMASK, EF_ARM_EABI_UNKNOWN,
EF_ARM_EABI_VER1, EF_ARM_EABI_VER2, EF_ARM_EABI_VER3,
EF_ARM_EABI_VER4, EF_ARM_EABI_VER5): New enums for processor-specific
flags.
(arm_eabi_version): New inline function.
* elfcpp.h: Add a comment about DT_ENCODING.
gold/ChangeLog:
* arm.cc (Arm_relobj::processor_specific_flags): New method
definition.
(Arm_relobj::do_read_symbols): New method declaration.
(Arm_relobj::processor_specific_flags_): New data member declaration.
(Arm_dynobj): New class definition.
(Target_arm::do_finalize_sections): Add input_objects parameter.
(Target_arm::do_adjust_elf_header): New method declaration.
(Target_arm::are_eabi_versions_compatible,
(Target_arm::merge_processor_specific_flags): New method declaration.
(Target_arm::do_make_elf_object): New overloaded method definitions
and declaration.
(Arm_relobj::do_read_symbols): New method definition.
(Arm_dynobj::do_read_symbols): Ditto.
(Target_arm::do_finalize_sections): Add input_objects parameters.
Merge processor-specific flags from all input objects.
(Target_arm::are_eabi_versions_compatible,
Target_arm::merge_processor_specific_flags,
Target_arm::do_adjust_elf_header, Target_arm::do_make_elf_object):
New method definitions.
* i386.cc (Target_i386::do_finalize_sections): Add unnamed
Input_objects pointer type parameter.
* layout.cc (Layout::finalize): Pass input objects to target's.
finalize_sections function.
* output.cc (Output_file_header::do_sized_write): Set ELF file
header's processor-specific flags.
* powerpc.cc (Target_powerpc::do_finalize_sections): Add unnamed
Input_objects pointer type parameter.
* sparc.cc (Target_sparc::do_finalize_sections): Same.
* target.h (Input_objects): New forward class declaration.
(Target::processor_specific_flags,
Target::are_processor_specific_flags_sect): New method definitions.
(Target::finalize_sections): Add input_objects parameter.
(Target::Target): Initialize processor_specific_flags_ and
are_processor_specific_flags_set_.
(Target::do_finalize_sections): Add unnamed Input_objects pointer type
parameter.
(Target::set_processor_specific_flags): New method definition.
(Target::processor_specific_flags_,
Target::are_processor_specific_flags_set_): New data member
declarations.
* x86_64.cc (Target_x86_64::do_finalize_sections): Add unnamed
Input_objects pointer type parameter.
2009-10-31 02:49:59 +08:00
|
|
|
|
2009-10-30 Doug Kwan <dougkwan@google.com>
|
|
|
|
|
|
|
|
|
|
* arm.h (EF_ARM_BE8, EF_ARM_EABIMASK, EF_ARM_EABI_UNKNOWN,
|
|
|
|
|
EF_ARM_EABI_VER1, EF_ARM_EABI_VER2, EF_ARM_EABI_VER3,
|
|
|
|
|
EF_ARM_EABI_VER4, EF_ARM_EABI_VER5): New enums for processor-specific
|
|
|
|
|
flags.
|
|
|
|
|
(arm_eabi_version): New inline function.
|
|
|
|
|
* elfcpp.h: Add a comment about DT_ENCODING.
|
|
|
|
|
|
2009-10-17 07:07:23 +08:00
|
|
|
|
2009-10-16 Doug Kwan <dougkwan@google.com>
|
|
|
|
|
|
|
|
|
|
* elfcpp/elfcpp.h (DT_PREINIT_ARRAY): Correct enum value.
|
|
|
|
|
|
2009-10-10 07:02:34 +08:00
|
|
|
|
2009-10-09 Andrew Pinski <andrew_pinski@playstation.sony.com>
|
|
|
|
|
|
|
|
|
|
* elfcpp/elfcpp_file.h (Elf_file::section_name): Change shstr_size
|
|
|
|
|
to Elf_WXword.
|
|
|
|
|
|
2009-10-10 06:38:07 +08:00
|
|
|
|
2009-10-09 Mikolaj Zalewski <mikolajz@google.com>
|
|
|
|
|
|
|
|
|
|
* elf_file.h: (class Elf_strtab): New class.
|
|
|
|
|
|
2009-10-10 00:40:51 +08:00
|
|
|
|
2009-10-09 Mikolaj Zalewski <mikolajz@google.com>
|
|
|
|
|
|
|
|
|
|
* elfcpp_file.h: Fix header guard. Include <cstdio>.
|
|
|
|
|
(class Elf_recognizer): New class, code from gold/object.cc.
|
|
|
|
|
(Elf_file::find_section_by_type): New method.
|
|
|
|
|
|
2009-07-23 21:00:30 +08:00
|
|
|
|
2009-07-23 Ulrich Drepper <drepper@redhat.com>
|
|
|
|
|
|
|
|
|
|
* elfcpp.h (enum STB): Add STB_GNU_UNIQUE.
|
|
|
|
|
|
2009-06-22 14:56:05 +08:00
|
|
|
|
2009-06-21 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
* elfcpp.h (SHN_X86_64_LCOMMON): Define enum constant.
|
|
|
|
|
(enum SHT): Add SHT_X86_64_UNWIND.
|
|
|
|
|
(enum SHF): Add SHT_X86_64_LARGE.
|
|
|
|
|
|
2009-05-28 02:27:42 +08:00
|
|
|
|
2009-05-27 Doug Kwan <dougkwan@google.com>
|
|
|
|
|
|
|
|
|
|
* arm.h: New file.
|
|
|
|
|
* elfcpp.h (enum SHT): Add ARM-specific special sections.
|
|
|
|
|
(enum PT): Add ARM-specific section types.
|
|
|
|
|
(enum SST): Add STT_ARM_TFUNC.
|
|
|
|
|
|
2009-04-30 23:47:13 +08:00
|
|
|
|
2009-04-30 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
2009-05-01 17:24:02 +08:00
|
|
|
|
* elfcpp.h (enum STT): Add STT_GNU_IFUNC.
|
2009-04-30 23:47:13 +08:00
|
|
|
|
|
2009-03-21 07:37:51 +08:00
|
|
|
|
2009-03-20 Mikolaj Zalewski <mikolajz@google.com>
|
|
|
|
|
|
|
|
|
|
* elfcpp.h (SHT_GNU_INCREMENTAL_INPUTS): Define.
|
|
|
|
|
|
2009-03-02 10:45:29 +08:00
|
|
|
|
2009-03-01 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
* elfcpp_swap.h: #include "config.h". Only #include <byteswap.h>
|
|
|
|
|
if HAVE_BYTESWAP_H is defined; if not, provide definitions for
|
|
|
|
|
bswap_{16,32,64}. For gcc 4.3 and later, use the builtin bswap
|
|
|
|
|
functions. Check WORDS_BIGENDIAN rather than __BYTE_ORDER.
|
|
|
|
|
|
2009-01-07 02:20:45 +08:00
|
|
|
|
2009-01-06 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* elfcpp.h (enum STT): Remove STT_IFUNC.
|
|
|
|
|
|
2008-12-03 22:51:00 +08:00
|
|
|
|
2008-12-03 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* elfcpp.h (enum STT): Add STT_IFUNC.
|
|
|
|
|
|
2008-06-13 00:58:40 +08:00
|
|
|
|
2008-06-12 David S. Miller <davem@davemloft.net>
|
|
|
|
|
|
|
|
|
|
* powerpc.h: New file.
|
|
|
|
|
* elfcpp.h (SHT_ORDERED): New enum constant.
|
|
|
|
|
(DT_PPC_GOT, DT_PPC64_GLINK, DT_PPC64_OPD, DT_PPC64_OPDSZ): Same.
|
|
|
|
|
|
2008-05-29 04:48:16 +08:00
|
|
|
|
2008-05-28 Caleb Howe <cshowe@google.com>
|
|
|
|
|
|
|
|
|
|
* dwarf.h (enum DW_FORM): Define.
|
|
|
|
|
|
2008-04-20 02:33:19 +08:00
|
|
|
|
2008-04-19 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
* elfcpp_file.h (class Elf_file): Add large_shndx_offset_ field.
|
|
|
|
|
(Elf_file::large_shndx_offset): New function.
|
|
|
|
|
(Elf_file::construct): Initialize large_shndx_offset_.
|
|
|
|
|
(Elf_File::initialize_shnum): If necessary, adjust shstrndx_ and
|
|
|
|
|
set large_shndx_offset_.
|
|
|
|
|
|
elfcpp/
* elfcpp.h (DF_1_NOW, DF_1_GLOBAL, DF_1_GROUP,
DF_1_NODELETE, DF_1_LOADFLTR, DF_1_INITFIRST,
DF_1_NOOPEN, DF_1_ORIGIN, DF_1_DIRECT, DF_1_TRANS,
DF_1_INTERPOSE, DF_1_NODEFLIB, DF_1_NODUMP,
DF_1_CONLFAT): New enum constants.
gold/
* options.h (DEFINE_enable): New macro.
(new_dtags): New enable option.
(initfirst, interpose, loadfltr, nodefaultlib,
nodelete, nodlopen, nodump): New -z options.
* layout.cc (Layout:finish_dynamic_section): If new
dtags enabled, emit DT_RUNPATH. Also, emit a
DT_FLAGS_1 containing any specified -z flags.
2008-04-17 07:21:01 +08:00
|
|
|
|
2008-04-16 David S. Miller <davem@davemloft.net>
|
|
|
|
|
|
|
|
|
|
* elfcpp.h (DF_1_NOW, DF_1_GLOBAL, DF_1_GROUP,
|
|
|
|
|
DF_1_NODELETE, DF_1_LOADFLTR, DF_1_INITFIRST,
|
|
|
|
|
DF_1_NOOPEN, DF_1_ORIGIN, DF_1_DIRECT, DF_1_TRANS,
|
|
|
|
|
DF_1_INTERPOSE, DF_1_NODEFLIB, DF_1_NODUMP,
|
|
|
|
|
DF_1_CONLFAT): New enum constants.
|
|
|
|
|
|
* sparc.h (EF_SPARC_EXT_MASK, EF_SPARC_32PLUS_MASK,
EF_SPARC_32PLUS, EF_SPARC_SUN_US1, EF_SPARC_HAL_R1,
EF_SPARC_SUN_US3, EF_SPARC_LEDATA, EF_SPARCV9_MM,
EF_SPARCV9_TSO, EF_SPARCV9_PSO, EF_SPARCV9_RMO):
Define as enum constants.
2008-04-16 09:56:33 +08:00
|
|
|
|
2008-04-15 David S. Miller <davem@davemloft.net>
|
|
|
|
|
|
|
|
|
|
* sparc.h (EF_SPARC_EXT_MASK, EF_SPARC_32PLUS_MASK,
|
|
|
|
|
EF_SPARC_32PLUS, EF_SPARC_SUN_US1, EF_SPARC_HAL_R1,
|
|
|
|
|
EF_SPARC_SUN_US3, EF_SPARC_LEDATA, EF_SPARCV9_MM,
|
|
|
|
|
EF_SPARCV9_TSO, EF_SPARCV9_PSO, EF_SPARCV9_RMO):
|
|
|
|
|
Define as enum constants.
|
|
|
|
|
|
2008-04-12 03:13:08 +08:00
|
|
|
|
2008-04-11 David S. Miller <davem@davemloft.net>
|
|
|
|
|
|
|
|
|
|
* sparc.h: New file
|
|
|
|
|
* elfcpp.h (SHN_BEFORE, SHN_AFTER): New enum constants.
|
|
|
|
|
(SHT_SPARC_GOTDATA, SHF_ORDERED, SHF_EXCLUDE,
|
|
|
|
|
STT_SPARC_REGISTER, DT_SPARC_REGISTER): Likewise.
|
|
|
|
|
|
2008-04-04 07:33:20 +08:00
|
|
|
|
2008-04-03 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
* elfcpp_swap.h (Swap_unaligned<64, true>::writeval): Correct
|
|
|
|
|
byte order.
|
|
|
|
|
|
2008-03-25 13:00:01 +08:00
|
|
|
|
2008-03-24 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
* elfcpp.h (NT_VERSION, NT_ARCH): Define as enum constants.
|
|
|
|
|
(NT_GNU_ABI_TAG, NT_GNU_HWCAP): Likewise.
|
|
|
|
|
(NT_GNU_BUILD_ID, NT_GNU_GOLD_VERSION): Likewise.
|
|
|
|
|
(ELF_NOTE_OS_LINUX, ELF_NOTE_OS_GNU): Likewise.
|
|
|
|
|
(ELF_NOTE_OS_SOLARIS2, ELF_NOTE_OS_NETBSD): Likewise.
|
|
|
|
|
(ELF_NOTE_OS_SYLLABLE): Likewise.
|
|
|
|
|
|
2008-03-22 08:02:52 +08:00
|
|
|
|
2008-03-21 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
* Added source code to GNU binutils.
|
2012-12-10 20:48:03 +08:00
|
|
|
|
|
|
|
|
|
Copyright (C) 2008-2012 Free Software Foundation, Inc.
|
|
|
|
|
|
|
|
|
|
Copying and distribution of this file, with or without modification,
|
|
|
|
|
are permitted in any medium without royalty provided the copyright
|
|
|
|
|
notice and this notice are preserved.
|
|
|
|
|
|
|
|
|
|
Local Variables:
|
|
|
|
|
mode: change-log
|
|
|
|
|
left-margin: 8
|
|
|
|
|
fill-column: 74
|
|
|
|
|
version-control: never
|
|
|
|
|
End:
|