This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
ld -e number makes an entry in symbol table
- From: Kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- To: binutils at sourceware dot org
- Date: Wed, 09 Sep 2009 22:24:27 +0900 (JST)
- Subject: ld -e number makes an entry in symbol table
Hi,
With
touch foo.s
as -o foo.o foo.s
./ld-new -e 0x1000 -o foo foo.o
objdump -t foo
I've got
SYMBOL TABLE:
00000000 *UND* 00000000 0x1000
08049034 g *ABS* 00000000 __bss_start
08049034 g *ABS* 00000000 _edata
08049034 g *ABS* 00000000 _end
on my fedora pc. The first symbol "0x1000" looks unexpected.
Right? With 2.19.1 ld instead of the current ld, there is
no such symbol:
SYMBOL TABLE:
08049034 g *ABS* 00000000 __bss_start
08049034 g *ABS* 00000000 _edata
08049034 g *ABS* 00000000 _end
Regards,
kaz