Striping indirect symbols

Ian Dall ian@beware.dropbear.id.au
Mon Aug 5 09:45:00 GMT 2002


How should indirect symbols behave with the "ld -x -r" option (a.out)?

With the following code:

	.stabs "_daylight",10,0,0,0
	.stabs "__daylight",1,0,0,0


sibyl:-libc $ pc532-netbsd-as -o _daylight.o _daylight.s
sibyl:-libc $ pc532-netbsd-nm -a _daylight.o
00000000 I _daylight
         U __daylight

So far so good. But if I now run ld -r -x on it there are no symbols left at
all. The object file has nothing except the header.

Ian



More information about the Binutils mailing list