mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-12-19 01:19:41 +08:00
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.
13 lines
367 B
Makefile
13 lines
367 B
Makefile
#PROG: strip
|
|
#strip: --strip-unneeded --merge-notes
|
|
#as: --generate-missing-build-notes=yes
|
|
#readelf: --notes --wide
|
|
#name: strip with build notes
|
|
#source: note-5.s
|
|
|
|
#...
|
|
Displaying notes found in: .gnu.build.attributes
|
|
[ ]+Owner[ ]+Data size[ ]+Description
|
|
[ ]+GA\$<version>3a1[ ]+0x000000(08|10)[ ]+OPEN[ ]+Applies to region from 0 to 0x.. \(note_5.s\)
|
|
#...
|