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: exporting symbols, help with export list


[SNIP}

On Mon, 2004-08-02 at 16:10, H. J. Lu wrote:

> 
> By default, all symbols are global. You need to list the symbols you
> don't want to export. You can use
> 
> 	local: *;
> 	global:
> 	  x1;
> 	  x2;
> 	  ...
> 
> H.J.

Using a file of the format above results in the following error:

/usr/lib/gcc-lib/i486-suse-linux/3.3/../../../../i486-suse-linux/bin/ld:xportScript_3.txt:3: parse error in VERSION script
collect2: ld returned 1 exit status

However, using the following

VERS_1.1 {
	 global:
            _ZN1a8getValueEv;
            _ZN1a8setValueEi;
            _ZN1aC1Ev;
            _ZN1aC2Ev; 
         local: *;
};

works. I'll see if I can incorporate this into our build system.

Thanks,
Robert
-- 
Robert Schweikert <Robert.Schweikert@abaqus.com>
ABAQUS


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