bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/11533] gold generates bad DSO


From: hjl dot tools at gmail dot com
Subject: [Bug gold/11533] gold generates bad DSO
Date: 23 Apr 2010 17:56:29 -0000

------- Additional Comments From hjl dot tools at gmail dot com  2010-04-23 
17:56 -------
Created an attachment (id=4749)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4749&action=view)
A testcase

address@hidden alignment-4]$ make
cc    -c -o foo.o foo.c
ld -z max-page-size=0x1000 -shared -o libld.so foo.o
cc -o main1 main.o libld.so -Wl,-rpath,.
ld.gold -z max-page-size=0x1000 -shared -o libgold.so foo.o
cc -o main2 main.o libgold.so -Wl,-rpath,.
./main1
foo: 0x604000, 128
./main2
./main2: error while loading shared libraries: libgold.so: ELF load command
address/offset not properly aligned
make: *** [all] Error 127
address@hidden alignment-4]$ 

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11533

------- 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]