A simple linker script question
Nick Clifton
nickc@redhat.com
Fri Jun 25 16:53:00 GMT 2004
Hi Tao,
> I understand the piece of linker script you wrote in your email, it will
> place non-user code and data before user code and data. What if I want
> more fine grained control? Say I want to place libfoo.a before libbar.a,
> I need to do some patten matching. That's my current problem. I think the
> names of the input libraries have full path with them, for example,
> /usr/lib/libfoo.a(foo1.o). I don't know how to pattern match those '/' and
> '(' and ')' in linker script. I tried single and double quote and it looks
> not working. Could anybody give some help?
I am sorry, but I just do not think that this is possible with the
current implementation of the linker. Can you give us more information
about what you are trying to do ? Perhaps there is a different way that
the same results can be achieved.
Cheers
Nick
More information about the Binutils
mailing list