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: Should this version script work?


On Wed, Nov 27, 2002 at 10:21:44AM -0800, H. J. Lu wrote:
> --x.map--
> {
> local:
>   bar; 
> 
> global:
>   *;
> };
> --
> 
> # gcc -shared -Wl,--version-script,x.map x.o 
> /usr/bin/ld:x.map:5: parse error in VERSION script
> collect2: ld returned 1 exit status
> 
> --x.map--
> {
> local:
>   bar; 
> };
> --
> 
> or
> 
> --x.map--
> {
> global:
>   *;
> };
> --
> 
> work. Is that a bug?
> 

Never mind. "{ global: *; };" doesn't make much senses.


H.J.


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