.stabstr listed as discarded

John Parkes jp012c6013@blueyonder.co.uk
Tue Oct 17 02:32:00 GMT 2006


Should section  .stabstr be listed in the discarded input sections of
the map ? This occurs whether or not --gc-sections is used.

Try assembling and linking the attached. I'm using binutils 2.17 on
x86_64 FC5, but I don't think the platform is significant.

thanks, John Parkes

-------------- next part --------------
	.section .text.unused, "ax"
u1:
	.long	0

	.section .text.used, "ax"
	.global _start
	.global start
_start:
start:
	.long	use1
	.data
	.long	0
	.stabs "home/jpp/v3.4/bugs/ld/x.s",100,0,0,start
-------------- next part --------------
	.section .text.unused, "ax"
	.long	0

	.section .text.used, "ax"
use2:
	.long	0
	.data
	.global use1
use1:
	.long	use2
	.stabs	"/home/jpp/v3.4/bugs/ld/y.s",100,0,0,use2


More information about the Binutils mailing list