forked from Imagelibrary/binutils-gdb
Silently zapping them is certainly wrong. When they're not replaced due to user request, simply keeping them may not always be correct (we don't know what such a flag means, after all), but is certainly at least closer to having the output object still represent what the input object had. This introduces new binutils/ testsuite failures, but only for two targets where most of the tests there fail anyway (amdgcn-elf and nfp-elf), due to there not being an assembler available.
15 lines
307 B
Makefile
15 lines
307 B
Makefile
#PROG: objcopy
|
|
#readelf: -tW
|
|
#name: copy with unknown section flag
|
|
#warning: .*/copy-7[.].*:[.]special: warning: retaining .* 0x10000
|
|
|
|
There are .* section headers, starting at offset .*
|
|
|
|
Section Headers:
|
|
\[Nr\].*
|
|
#...
|
|
\[ [1-9]\] .special
|
|
PROGBITS .*
|
|
\[0+10000\]: UNKNOWN \(0+10000\)
|
|
#...
|