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.
|
|
|
|
|