From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffrey A Law To: Kenichi Nakamura Cc: bfd@cygnus.com Subject: Re: Absolute link function etc. Date: Mon, 30 Mar 1998 12:12:00 -0000 Message-id: <8533.891288728@hurl.cygnus.com> References: <199803302003.MAA08451@cygnus.com> X-SW-Source: 1998/msg00027.html 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