2011-07-03 13:37:09 +00:00
|
|
|
2011-07-03 Samuel Thibault <samuel.thibault@gnu.org>
|
|
|
|
Thomas Schwinge <thomas@schwinge.name>
|
|
|
|
|
2011-07-03 13:45:32 +00:00
|
|
|
PR binutils/12913
|
2011-07-03 13:37:09 +00:00
|
|
|
* elfcpp.h (ELFOSABI): Add ELFOSABI_GNU with value of ELFOSABI_LINUX,
|
|
|
|
keep ELFOSABI_LINUX as an alias. Remove ELFOSABI_HURD.
|
|
|
|
|
2011-07-02 04:50:13 +00:00
|
|
|
2011-07-01 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
* dwarf.h (enum DW_CFA): Define.
|
|
|
|
|
2010-08-12 22:18:14 +00:00
|
|
|
2010-08-12 Cary Coutant <ccoutant@google.com>
|
|
|
|
|
|
|
|
* elfcpp.h (enum SHT): Add SHT_GNU_INCREMENTAL_GOT_PLT.
|
|
|
|
|
2010-08-12 22:01:11 +00: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 09:53:38 +00: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 02:41:15 +00: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 09:53:38 +00:00
|
|
|
|
2010-03-05 21:04:59 +00:00
|
|
|
2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
* elfcpp.h (VER_FLG_INFO): Define.
|
|
|
|
|
2010-01-22 06:06:46 +00:00
|
|
|
2010-01-21 Doug Kwan <dougkwan@google.com>
|
|
|
|
|
|
|
|
* arm.h (EXIDX_CANTUNWIND): New enum.
|
|
|
|
|
2010-01-19 17:55:49 +00:00
|
|
|
2010-01-19 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
* elfcpp.h (PN_XNUM): Define.
|
|
|
|
|
2009-12-14 19:57:47 +00:00
|
|
|
2009-12-14 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
* elfcpp_file.h: Revert last patch.
|
|
|
|
|
2009-12-11 13:42:17 +00: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-10 20:55:33 +00:00
|
|
|
2009-12-10 Doug Kwan <dougkwan@google.com>
|
|
|
|
|
|
|
|
* arm.h: New enums for EABI object attribute tags and values.
|
|
|
|
|
2009-12-06 02:49:46 +00:00
|
|
|
2009-12-05 Doug Kwan <dougkwan@google.com>
|
|
|
|
|
|
|
|
* arm.h: Define enums for Tag_CPU_arch EABI attribute.
|
|
|
|
|
2009-11-25 00:10:05 +00:00
|
|
|
2009-11-24 Rafael Avila de Espindola <espindola@google.com>
|
|
|
|
|
|
|
|
* elfcpp_file.h: Include elfcpp.h.
|
|
|
|
|
2009-11-03 15:12:03 +00: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-30 18:49:59 +00: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-16 23:07:23 +00:00
|
|
|
2009-10-16 Doug Kwan <dougkwan@google.com>
|
|
|
|
|
|
|
|
* elfcpp/elfcpp.h (DT_PREINIT_ARRAY): Correct enum value.
|
|
|
|
|
2009-10-09 23:02:34 +00: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-09 22:38:07 +00:00
|
|
|
2009-10-09 Mikolaj Zalewski <mikolajz@google.com>
|
|
|
|
|
|
|
|
* elf_file.h: (class Elf_strtab): New class.
|
|
|
|
|
2009-10-09 16:40:51 +00: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 13:00:30 +00:00
|
|
|
2009-07-23 Ulrich Drepper <drepper@redhat.com>
|
|
|
|
|
|
|
|
* elfcpp.h (enum STB): Add STB_GNU_UNIQUE.
|
|
|
|
|
2009-06-22 06:56:05 +00: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-27 18:27:42 +00: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 15:47:13 +00:00
|
|
|
2009-04-30 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
2009-05-01 09:24:02 +00:00
|
|
|
* elfcpp.h (enum STT): Add STT_GNU_IFUNC.
|
2009-04-30 15:47:13 +00:00
|
|
|
|
2009-03-20 23:37:51 +00:00
|
|
|
2009-03-20 Mikolaj Zalewski <mikolajz@google.com>
|
|
|
|
|
|
|
|
* elfcpp.h (SHT_GNU_INCREMENTAL_INPUTS): Define.
|
|
|
|
|
2009-03-02 02:45:29 +00: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-06 18:20:45 +00:00
|
|
|
2009-01-06 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
* elfcpp.h (enum STT): Remove STT_IFUNC.
|
|
|
|
|
2008-12-03 14:51:00 +00:00
|
|
|
2008-12-03 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
* elfcpp.h (enum STT): Add STT_IFUNC.
|
|
|
|
|
2008-06-12 16:58:40 +00: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-28 20:48:16 +00:00
|
|
|
2008-05-28 Caleb Howe <cshowe@google.com>
|
|
|
|
|
|
|
|
* dwarf.h (enum DW_FORM): Define.
|
|
|
|
|
2008-04-19 18:33:19 +00: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-16 23:21:01 +00: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 01:56:33 +00: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-11 19:13:08 +00: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-03 23:33:20 +00:00
|
|
|
2008-04-03 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
* elfcpp_swap.h (Swap_unaligned<64, true>::writeval): Correct
|
|
|
|
byte order.
|
|
|
|
|
2008-03-25 05:00:01 +00: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 00:02:52 +00:00
|
|
|
2008-03-21 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
* Added source code to GNU binutils.
|
|
|
|
|