This is the mail archive of the bfd@sourceware.cygnus.com mailing list for the bfd project.


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

Re: Absolute link function etc.



  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