]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Re: binutils: Add a test for strip with build notes
authorAlan Modra <amodra@gmail.com>
Sat, 20 Jul 2024 02:53:59 +0000 (12:23 +0930)
committerAlan Modra <amodra@gmail.com>
Sat, 20 Jul 2024 04:24:00 +0000 (13:54 +0930)
commit237c05a65fea828bb46a7209638b26b665d3d781
tree3bc51227173d7b5536143b7c145ac3d6a853dd4d
parent3f55acd0ec09dc06934d25d5dfcd64852c812890
Re: binutils: Add a test for strip with build notes

The new test wasn't being run, and failed due to relocations against
.gnu.build.attributes being stripped by default strip behaviour.
We probably should be keeping these relocations, but I haven't made
that change here.
BTW, the new test fails on ia64-hpux but that's just a repeat of the
existing note-5 fail.

PR 31999
* testsuite/binutils-all/strip-16.d: strip with --strip-unneeded
and --merge-notes.
* testsuite/binutils-all/objcopy.exp: Run the new test.  Sort
other strip tests.
binutils/testsuite/binutils-all/objcopy.exp
binutils/testsuite/binutils-all/strip-16.d