This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]