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: ld option --dynamic-list does not work?


-------- Original-Nachricht --------
> Datum: Tue, 19 Jan 2010 23:45:44 +1030
> Von: Alan Modra <amodra@gmail.com>
> An: vivenzio.pagliari@gmx.de
> CC: binutils@sourceware.org
> Betreff: Re: ld option --dynamic-list does not work?

> On Tue, Jan 19, 2010 at 10:41:06AM +0100, vivenzio.pagliari@gmx.de wrote:
> > However, I only get a "syntax error in dynamic list" error message
> > from ld.
> [snip]
> > {
> >     global : f;
> >     local  : *;
> > };
> 
> Should just be
> 
> {
>   f;
> };
> 

Thanks a lot! I should have read the manual exactly, as it says
in :

"The format of the dynamic list is the same as the version node
 without scope and node name. See VERSION for more information."

I just looked at the VERSION description and did not omit the scope.
My fault.

And of course I must not use --export-dynamic, otherwise all symbols
are in .dynsym nonetheless.

Vivenzio


-- 
Preisknaller: GMX DSL Flatrate für nur 16,99 Euro/mtl.!
http://portal.gmx.net/de/go/dsl02


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