bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/882] Version script doesn't work on executable


From: hjl at lucon dot org
Subject: [Bug ld/882] Version script doesn't work on executable
Date: 27 Apr 2005 17:49:52 -0000

------- Additional Comments From hjl at lucon dot org  2005-04-27 17:49 -------
Created an attachment (id=467)
 --> (http://sources.redhat.com/bugzilla/attachment.cgi?id=467&action=view)
A testcase

address@hidden version23]$ make CC=gcc
gcc    -c -o main.o main.c
gcc -fPIC   -c -o foo.o foo.c
gcc -o libfoo.so -shared foo.o
gcc -o foo main.o libfoo.so -Wl,-rpath,.,--version-script,main.v
./foo
main: bard_d: 0
main: bard_d: 0
main: bard_d: 0

I am expecting:

address@hidden version23]$ make
gcc -B./    -c -o main.o main.c
gcc -B./ -fPIC   -c -o foo.o foo.c
gcc -B./ -o libfoo.so -shared foo.o
gcc -B./ -o foo main.o libfoo.so -Wl,-rpath,.,--version-script,main.v
./foo
main: bard_d: 0
DSO: bard_d: -1
main: bard_d: 0

-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=882

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]