]> git.ipfire.org Git - thirdparty/elfutils.git/commit
strip: Fix check test for SHN_XINDEX symbol.
authorMark Wielaard <mark@klomp.org>
Thu, 24 Jan 2019 15:00:49 +0000 (16:00 +0100)
committerMark Wielaard <mark@klomp.org>
Thu, 24 Jan 2019 15:06:29 +0000 (16:06 +0100)
commit4540ea98ce3314c84273f5c9cbb8b774f1463dc4
treed6f0c5cbfae29944155a7b458e0765ed62a52530
parenta17c2c0917901ffa542ac4d3e327d46742219e04
strip: Fix check test for SHN_XINDEX symbol.

The check for whether a symbol used the extended section table was
wrong causing the run-strip-test-many.sh testcase to declare the
testfile was an illformed file.

Fixing this exposed a strict elfutils check for the '.shstrtab'
section having this exact name and a SHT_STRTAB type. This might
be a little too strict, but easily worked around by changing the
name of the "old" shstrtab section in the addsections program.

Signed-off-by: Mark Wielaard <mark@klomp.org>
src/ChangeLog
src/strip.c
tests/ChangeLog
tests/addsections.c