This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: A simple linker script question


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



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