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

[...@gnu-6 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
[...@gnu-6 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.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to