Linkerscript verbose output

Alan Modra amodra@bigpond.net.au
Sun Aug 18 17:40:00 GMT 2002


On Sun, Aug 18, 2002 at 11:52:29PM +0200, Svein E. Seldal wrote:
> Is there any type of verbose output switch that I can use to instruct ld 
> to print the filename of the linkerscript that it uses as basis for its 
> linking?

No.

> I see that there are a couple of different linkerscripts in this 
> directory; .x, .xn, .xr and so on. Which one is used is depending on how 
> ld was invoked or with what input parameters, I understand that. But, I 
> would like to know the filename of the linkerscript that ld will use. Is 
> this possible?

Anything is possible when you have the source to ld.  :)

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list