Hello everybody I have just upgraded the bintuils from 2.16 to the 2.19.1 and I'm having some new difficulties when using a script version-file.
I use a script-version file to export some not-explicit exported C-functions by the DLL. The objects for the DLL are built using g++ -fvisibility-hidden. When using the 2.16 ld I can export these functions by adding them into the global section of the version file. This does not work any longer, when using the 2.19.1 ld. However, I can in both cases successfully hide explicitly-exported functions using the version file. { global: f; local: g; } I have attached a very simple program reproducing this behaviour. Any help will be appreciated. Thanks a lot. Kind regards Juan Renau ld -version --------------- GNU ld (GNU Binutils) 2.19.1 Gcc -version ------------------ Using built-in specs. Target: i686-pc-linux-gnu Configured with: ./configure Thread model: posix gcc version 4.1.2 uname -a -------------- Linux chmartel 2.6.16.21-0.25-default #1 Tue Sep 19 07:26:15 UTC 2006 i686 i686 i386 GNU/Linux
B.tar.gz
Description: B.tar.gz
_______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils