ld/sort.exp tests and FDPIC bfds

Mike Frysinger vapier@gentoo.org
Sat Apr 26 13:34:00 GMT 2008


FDPIC bfds always generate a __stacksize symbol (which users can override to 
manually set the size).  this is used when generating the GNU_STACK phdr as 
the memsize field.  ultimately the kernel utilizes this to set the stack size 
of the application at runtime.

when running the sort.exp tests, the run_dump_test fails because the linker 
scripts are not able to discard this symbol which leaves with an extra line:
extra lines in tmpdir/dump.out starting with "^00020000 A __stacksize$"

what's the right answer here ?  should i update run_dump_test in 
ld/testsuite/ld-libs/libs.exp to discard any __stacksize symbols marked as 
absolute ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
URL: <https://sourceware.org/pipermail/binutils/attachments/20080426/fe0a3982/attachment.sig>


More information about the Binutils mailing list