summaryrefslogtreecommitdiffstats
path: root/src/elflint.c
Commit message (Collapse)AuthorAgeFilesLines
* Update name, license and contributor policy.Mark Wielaard2012-06-051-19/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Change name from "Red Hat elfutils" to "elfutils". * Update license of standalone tools and test from GPLv2 to GPLv3+. * Change license of libraries from GPLv2+exception to GPLv2/LGPLv3+. * Add Developer Certificate of Origin based contributor policy. top-level: - COPYING: Upgraded from GPLv2 to GPLv3. - CONTRIBUTING, COPYING-GPLv2, COPYING-LGPLv3: New files. - NEWS: Added note about new contribution and license policy. - Makefile.am: Updated to GPLv3, added new files to EXTRA_DIST. - configure.ac: Update to GPLv3, changed AC_INIT name to 'elfutils'. backends, lib, libasm, libcpu, libdw, libdwfl, libebl, libelf: - All files updated to GPLv2/LGPLv3+. Except some very small files (<5 lines) which didn't have any headers at all before, the linker .maps files and the libcpu/defs files which only contain data and libelf/elf.h which comes from glibc and is under LGPLv2+. config: - elfutils.spec.in: Add new License: headers and new %doc files. - Update all license headers to GPLv2/LGPLv3+ for files used by libs. src, tests: - All files updated to GPLv3+. Except for the test bz2 data files, the linker maps and script files and some very small files (<5 lines) that don't have any headers. Signed-off-by: Richard Fontana <[email protected]> Signed-off-by: Mark Wielaard <[email protected]>
* elflint: Allow zero sized sections at (filesz) end of segment.Mark Wielaard2012-05-091-2/+4
|
* elflint: Accept SHF_INFO_LINK for reloc sections.Roland McGrath2012-03-281-2/+2
|
* Update copyright yearUlrich Drepper2012-01-211-2/+2
|
* Add new ebl_check_st_other_bits function.upstream/mpolacek/autotestMark Wielaard2011-03-111-1/+1
|
* elflint: Remove unused variables.Roland McGrath2011-02-081-13/+0
|
* ld: Remove an unused variable.Roland McGrath2011-02-081-3/+4
|
* Fix some message typos and xgettext markers.Roland McGrath2010-04-061-2/+2
|
* Fix sloppy #include use, breaks with latest glibc.Roland McGrath2010-01-151-0/+1
|
* Handle extended phnum in elflint and elfcmp.Roland McGrath2010-01-071-33/+54
|
* Handle new .comment section flags.Mark Wielaard2009-09-211-2/+2
| | | | | Newer gcc+ld combinations use string merging in the .comment section. Allow that in elflint.
* Handle NT_GNU_GOLD_VERSION.Mark Wielaard2009-07-261-0/+1
|
* Add STB_GNU_UNIQUE support to elflint.Ulrich Drepper2009-07-141-3/+11
|
* Add test of st_other field of symbol table entries.Ulrich Drepper2009-04-291-0/+11
|
* Fix error handling in a few programs.Ulrich Drepper2009-02-011-3/+2
|
* Fix handling of debuginfo files when checking exception handling tables.Ulrich Drepper2009-01-211-21/+40
|
* Fix elflint test for .eh_frame_hdr allocation.Ulrich Drepper2009-01-211-1/+5
|
* More improveents to exception handling table printing and checking.Ulrich Drepper2009-01-171-5/+18
|
* Merge branch 'master' of ssh://git.fedorahosted.org/git/elfutilsUlrich Drepper2009-01-171-3/+2
|\
| * Move argp_program_version_hook and argp_program_bug_address variablesUlrich Drepper2009-01-171-3/+2
| | | | | | | | in all programs into the .rodata section.
* | Beginning of exception table testing.Ulrich Drepper2009-01-171-0/+38
|/
* Implement check for PT_GNU_EH_FRAME program header check.Ulrich Drepper2009-01-161-1/+36
|
* Unpdate copyright in messages.Ulrich Drepper2009-01-011-2/+2
|
* src/Roland McGrath2008-04-111-4/+9
| | | | | | | | | | | | | * strip.c (handle_elf): Don't keep sections that kept symbol tables refer to. Instead, just be sure to preserve the original symbol table in the debug file so those symbols go with their sections and can be elided from the stripped version of the symbol table. tests/ * testfile48.bz2, testfile48.bz2.debug: New data files. * Makefile.am (EXTRA_DIST): Add them. * run-strip-test8.sh: Use them.
* backends/Roland McGrath2008-04-011-0/+72
| | | | | | | | | | | * sparc_symbol.c (sparc_symbol_type_name): New function. (sparc_dynamic_tag_name): New function. (sparc_dynamic_tag_check): New function. * sparc_init.c (sparc_init): Initialize those hooks. libebl/ * ebldynamictagname.c (ebl_dynamic_tag_name): Use hex for unknown tag.
* libdwfl/Roland McGrath2008-03-261-2/+3
| | | | | * dwfl_module_getdwarf.c (load_symtab): Don't return success for SHT_DYNSYM, just set *SYMSCN like the comment says.
* src/Roland McGrath2008-02-291-1/+1
| | | | | | | | | | | 2008-02-29 Roland McGrath <[email protected]> * readelf.c (print_attributes): Add a cast. * elflint.c (check_attributes): Likewise. * unaligned.h (add_8ubyte_unaligned): Cast PTR argument for parity with [UNALIGNED_ACCESS_CLASS == BYTE_ORDER] definition. (add_4ubyte_unaligned, add_2ubyte_unaligned): Likewise.
* Finish elflint .gnu.attributes checkingRoland McGrath2008-02-211-1/+200
|
* Fix elflint messages for new hash table analysis.Ulrich Drepper2008-01-291-4/+6
|
* Remove magic assignment of indeces in the dynsymUlrich Drepper2008-01-251-2/+15
| | | | section. Start implementation of --hash-style.
* propagate from branch 'com.redhat.elfutils.roland.pending' (head ↵Ulrich Drepper2008-01-091-2/+1
| | | | | | 26cc2ce45739af072e7ff4fdab5e8eb7cd756d50) to branch 'com.redhat.elfutils' (head bb519012dee7013b2cab5c2f5ed465cb3821b063)
* propagate from branch 'com.redhat.elfutils.disasm' (head ↵Ulrich Drepper2008-01-021-5/+7
| | | | | | d15b4eb794e81e477f9896fe82a74cb5ecf4514c) to branch 'com.redhat.elfutils' (head eaacbf01f8cc89d043ec6eca9b5e35cb5c4cde06)
* Update copyright year.Ulrich Drepper2008-01-021-1/+1
|
* merge of '92c36bfdbc6468d1711c043b530e0dfe5abb6dec'Ulrich Drepper2007-10-161-18/+45
| | | | and 'c22c8c43f8f68b0bffd4d5ccdb2282c958268742'
* src/Roland McGrath2007-10-041-134/+119
| | | | | | | | | | | | | | | | | | | | 2007-10-04 Roland McGrath <[email protected]> * readelf.c (print_archive_index): New variable. (options, parse_opt): Accept -c/--archive-index to set it. (dump_archive_index): New function. (process_file): Take new arg WILL_PRINT_ARCHIVE_INDEX. Call dump_archive_index on archives if set. (main): Update caller. (any_control_option): Give it file scope, moved out of ... (parse_opt): ... here. tests/ 2007-10-04 Roland McGrath <[email protected]> * run-readelf-test4.sh: New file. * Makefile.am (TESTS, EXTRA_DIST): Add it.
* missed testdata filesRoland McGrath2007-08-131-1/+10
|
* 2007-08-11 Roland McGrath <[email protected]>Roland McGrath2007-08-111-4/+10
| | | | | * elflint.c (check_note): Accept NT_GNU_HWCAP, NT_GNU_BUILD_ID.
* Prepare for 0.128 release.Ulrich Drepper2007-06-061-2/+2
| | | | | | Minor fixes. Update gettext files to 0.16.1.
* src/Roland McGrath2007-05-181-1/+3
| | | | | | | | | | | | | | | | | | | 2007-05-18 Roland McGrath <[email protected]> * unstrip.c (copy_elided_sections): Match up non-NOBITS sections with stripped file, so as not to duplicate a section copied in both. * strip.c (handle_elf): Keep SHT_NOTE section copies in the debug file. tests/ 2007-05-18 Roland McGrath <[email protected]> * run-strip-test4.sh (stripped, debugfile): Use new reference files. * testfile37.bz2: New data file. * testfile37.debug.bz2: New data file. * run-unstrip-test2.sh: New file. * Makefile.am (TESTS, EXTRA_DIST): Add them.
* propagate from branch 'com.redhat.elfutils.roland.pending' (head ↵Ulrich Drepper2007-02-051-6/+19
| | | | | | c44dcfac5b545aecb173fede31f34cb003be0173) to branch 'com.redhat.elfutils' (head 4196d4e01486bdeb0c0632291881d1c6d7163fab)
* Implement ar program.Ulrich Drepper2007-02-051-2/+15
| | | | Relax elflint in GNU ld mode for latest idiosyncracies.
* Update copyright year.elfutils-0.125Ulrich Drepper2007-01-101-2/+2
|
* Lock down libelf and elflint a bit more after import of Roland's changes.Ulrich Drepper2006-12-181-1/+1
|
* propagate from branch 'com.redhat.elfutils' (head ↵Roland McGrath2006-12-171-1/+2
| | | | | | b4944cf70801d9dac056f4f80ef1334e5acb8bdc) to branch 'com.redhat.elfutils.roland.pending' (head e7e402c668fb0670fc5f6b6a522853ae88f32f11)
* Compare content of both hash tables.Ulrich Drepper2006-12-091-0/+146
|
* 2006-10-09 Roland McGrath <[email protected]>Roland McGrath2006-10-101-1/+1
| | | | | * ia64_symbol.c (ia64_reloc_simple_type): Treat SECREL types as simple.
* Changes to fix GNU-style hash table handling.Ulrich Drepper2006-08-081-4/+70
|
* 2006-07-17 Roland McGrath <[email protected]>Roland McGrath2006-07-171-3/+3
| | | | | | | * elflint.c (struct version_namelist): Use GElf_Versym for `ndx' field. (add_version): Likewise for argument. (check_versym): Cast constant to GElf_Versym for comparison.
* Fix printf format for 32bit archs.Ulrich Drepper2006-07-121-2/+2
|
* Adjust for final version of GNU-style hash table format.Ulrich Drepper2006-07-121-30/+65
|