Files
third_party_elfutils/tests
Mark Wielaard df7dfab451 Handle merged strtab/shstrtab string tables in strip and unstrip.
ELF files can share the section header string table (e_shstrndx) with
the symtab .strtab section. That might in some cases save a bit of space
since symbols and sections might share some (sub)strings. To handle that
eu-strip just needs to not unconditionally remove the .shstrtab section
(it will be properly marked as used/unused as needed). eu-unstrip needs
to make sure the section names are added to the strtab if it decides to
rewrite that section. Also makes sure that eu-strip won't move around
a SHT_NOBITS section that has SHF_ALLOC set. Although it is allowed to
move such sections around, there is no benefit. And some tools might
expect no allocated section to move around, not even a nobits section.
It also makes it harder to do "roundtripping" sanity checks that make
sure splitting a file with eu-strip and then reconstructed with eu-unstrip
produce the same ELF file (as is done in the new run-strip-strmerge.sh).

Introduces a somewhat large test generator elfstrmerge.c that will
hopefully turn into a more generic string table merger program.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
2015-10-05 21:55:51 +02:00
..
2015-03-31 19:01:40 +02:00
2015-03-31 19:01:40 +02:00
2015-06-27 14:56:12 +02:00
2015-06-27 14:56:12 +02:00
2013-12-15 18:56:17 +01:00
2013-12-15 18:56:17 +01:00
2014-04-18 11:46:51 +02:00
2015-06-27 14:56:12 +02:00
2013-11-26 03:10:31 +01:00
2013-11-26 03:10:31 +01:00
2007-05-18 08:59:43 +00:00
2007-05-18 08:59:43 +00:00
2007-08-13 22:58:36 +00:00
2008-04-11 07:01:58 +00:00
2007-05-18 08:59:43 +00:00
2015-03-31 19:01:40 +02:00
2005-07-26 05:00:05 +00:00
2005-07-26 05:00:05 +00:00
2005-07-26 05:00:05 +00:00
2005-07-26 05:00:05 +00:00
2005-07-26 05:00:05 +00:00
2005-07-26 05:00:05 +00:00
2005-07-26 05:00:05 +00:00
2005-07-26 05:00:05 +00:00
2005-07-26 05:00:05 +00:00
2005-07-26 05:00:05 +00:00
2005-07-26 05:00:05 +00:00
2005-07-26 05:00:05 +00:00
2005-07-26 05:00:05 +00:00
2005-07-26 05:00:05 +00:00
2005-07-26 05:00:05 +00:00
2008-04-11 07:01:58 +00:00
2008-04-11 07:01:58 +00:00
2005-07-26 05:00:05 +00:00
2005-07-26 05:00:05 +00:00
2005-07-26 05:00:05 +00:00
2005-08-18 22:01:57 +00:00
2005-08-27 10:33:26 +00:00
2005-08-27 10:33:26 +00:00
2006-04-05 01:35:26 +00:00
2006-04-05 01:35:26 +00:00
2006-08-03 08:52:46 +00:00
2006-08-03 08:52:46 +00:00
2007-05-18 08:59:43 +00:00
2007-05-18 08:59:43 +00:00
2007-05-18 08:59:43 +00:00
2007-05-18 08:59:43 +00:00
2007-05-18 08:59:43 +00:00
2007-05-18 08:59:43 +00:00
2007-08-13 22:58:36 +00:00
2007-08-13 22:58:36 +00:00
2007-08-13 22:58:36 +00:00
2008-04-11 07:01:58 +00:00
2008-04-11 07:01:58 +00:00
2008-04-11 07:01:58 +00:00
2009-05-07 20:58:19 +02:00
2012-10-10 08:04:01 +02:00
2012-10-10 08:08:44 +02:00
2013-01-30 20:34:17 +01:00
2013-01-30 20:34:17 +01:00
2012-10-17 22:17:14 +02:00
2012-10-17 22:17:14 +02:00
2012-11-29 12:50:26 +01:00
2012-11-29 12:50:26 +01:00
2005-07-26 05:00:05 +00:00