This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Should this version script work?
- From: "H. J. Lu" <hjl at lucon dot org>
- To: binutils at sources dot redhat dot com
- Date: Wed, 27 Nov 2002 11:54:22 -0800
- Subject: Re: Should this version script work?
- References: <20021127102144.A1580@lucon.org>
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.