aboutsummaryrefslogtreecommitdiff
path: root/elfcpp
AgeCommit message (Collapse)AuthorFilesLines
2008-06-122008-06-12 David S. Miller <davem@davemloft.net>David Edelsohn3-0/+211
* 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-28elfcpp/:Ian Lance Taylor2-2/+32
* dwarf.h (enum DW_FORM): Define. gold/: * reduced_debug_output.cc: New file. * reduced_debug_output.h: New file. * options.h (class General_optoins): Add --strip-debug-non-line. * options.cc (General_options::finalize): Add strip_debug_non_line to the strip heirarchy. * layout.h (class Layout): Add debug_abbrev_ and debug_info_ fields. * layout.cc: Include "reduced_debug_output.h". (Layout::Layout): Initialize new fields. (line_only_debug_sections): New static array. (is_lines_only_debug_sections): New static inline function. (Layout::include_section): Handle --strip-debug-non-line. (Layout::make_output_section): If --strip-debug-non-line, build new output sections for .debug_abbrev and .debug_info. * dwarf_reader.cc (read_unsigned_LEB_128): Move to namespace gold. Warn about possible overflow. (read_signed_LEB_128): Likewise. * dwarf_reader.h: (read_unsigned_LEB_128): Declare. (read_signed_LEB_128): Declare. * Makefile.am (CCFILES): Add reduced_debug_output.cc. (HFILES): Add reduced_debug_output.h. * Makefile.in: Rebuild.
2008-04-19 * elfcpp_file.h (class Elf_file): Add large_shndx_offset_ field.Ian Lance Taylor2-1/+48
(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_.
2008-04-16elfcpp/David S. Miller2-0/+28
* 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 * sparc.h (EF_SPARC_EXT_MASK, EF_SPARC_32PLUS_MASK,David S. Miller2-0/+24
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 * sparc.h: New fileDavid S. Miller3-3/+191
* 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 * elfcpp_swap.h (Swap_unaligned<64, true>::writeval): CorrectIan Lance Taylor2-8/+13
byte order.
2008-03-25 * elfcpp.h (NT_VERSION, NT_ARCH): Define as enum constants.Ian Lance Taylor2-0/+57
(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-22Add ChangeLog file.Ian Lance Taylor1-0/+4
2008-03-06Support --hash-style=gnu.Ian Lance Taylor1-0/+4
2008-02-07Implement --just-symbols, including -R FILE. Fix symbol values whenIan Lance Taylor1-0/+23
doing a relocatable link.
2008-02-04Fully implement the SECTIONS clause.Ian Lance Taylor1-0/+45
2008-01-09Remove Andrew's e-mail address.Ian Lance Taylor1-1/+1
2007-11-09From Craig Silverstein: Implement section_info.Ian Lance Taylor1-0/+24
2007-11-02From Craig Silverstein: Add first version of generating error messagesIan Lance Taylor1-10/+0
with file name and line number.
2007-11-02From Craig Silverstein: Add more DWARF info, add some i386 comments.Ian Lance Taylor2-3/+242
2007-11-02Reworked from Andrew Chatham: report error locations.Ian Lance Taylor1-0/+23
2007-10-04From Craig Silverstein: update comments.Ian Lance Taylor1-1/+7
2007-10-03From Craig Silvestein: document the i386 relocs.Ian Lance Taylor1-35/+38
2007-10-01Add Signed_valtype and use it for sign extension. Fix names of rela8.Ian Lance Taylor1-3/+7
2007-09-26Basic DWARF constants.Ian Lance Taylor1-0/+155
2007-09-22Add licensing text to every source file.Ian Lance Taylor6-0/+174
2007-09-22Remove unnecessary elfcpp_config.h file.Ian Lance Taylor3-3/+0
2007-09-22From Andrew Chatham: List x86_64 ELF relocs.Ian Lance Taylor1-0/+65
2007-09-19Add support for returning the section type.Ian Lance Taylor1-0/+23
2006-12-06Generate version information.Ian Lance Taylor1-0/+128
2006-11-29Hash tables, dynamic section, i386 PLT, gold_assert.Ian Lance Taylor3-17/+66
2006-11-16Snapshot. Includes first cut at output relocation sections.Ian Lance Taylor1-1/+51
2006-11-14More dynamic object support, initial scripting support.Ian Lance Taylor2-2/+403
2006-11-07Add Elf_file interface which can be used by both Sized_relobj andIan Lance Taylor2-0/+291
Sized_dynobj.
2006-11-06Rework swapping code.Ian Lance Taylor3-252/+426
2006-10-20Framework for relocation scanning. Implement simple static TLSIan Lance Taylor1-1/+1
relocations.
2006-09-29Snapshot. Now able to produce a minimal executable which actuallyIan Lance Taylor3-2/+379
runs.
2006-09-25Add program segments.Ian Lance Taylor2-13/+128
2006-09-07More symbol resolution code.Ian Lance Taylor1-0/+57
2006-08-18Another snapshot of the current state of the sources. Gets to theIan Lance Taylor1-1/+48
point of symbol resolution and can now issue a multiple definition error. Also added target selection infrastructure.
2006-08-04Initial CVS checkin of goldIan Lance Taylor4-0/+846