This is the mail archive of the binutils@sourceware.org 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: MIPS stubs in Gold


Aleksandar Simeonov <Aleksandar.Simeonov@RT-RK.com> writes:

> Now I have another question for you: how can I add symbols at the
> beginning of every stub? Again I did similar as in .plt, but all symbols
> are showing at the beginning of the first stub.

I assume you are defining your symbols using
Symbol_table::define_in_output_data.  The fifth argument is the offset
of the symbol within the Output_data.  Don't pass 0, pass the offset you
want.

Ian


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