Absolute link function etc.

Jeffrey A Law law@cygnus.com
Mon Mar 30 12:12:00 GMT 1998


  In message < 199803302003.MAA08451@cygnus.com >you write:
  > Does GNUPro linker have absolute function?
  > 
  > To be concrete,
  > Can it link some object files(*.o)?
Yes, it takes a bunch of .o files and links them into an executable.

  > Can it set the starting address like TEXT, DATA and BSS by command option?
Not reliably.  The way to do this is with linker scripts.

  > Can it print symbol table by text?
Yes.  There is a map option which will dump out the linker map
table.  You can also use "nm" to dump the symbol table.

  > Can it put away segment starting address and size in the head of object?
This information is standard in the ELF headers I believe.

jeff



More information about the Bfd mailing list