[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/4504] Copy relocation doesn't preserve section alignment
From: |
hjl at lucon dot org |
Subject: |
[Bug ld/4504] Copy relocation doesn't preserve section alignment |
Date: |
14 May 2007 17:30:50 -0000 |
------- Additional Comments From hjl at lucon dot org 2007-05-14 18:30 -------
Created an attachment (id=1836)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=1836&action=view)
A testcase
address@hidden sotest-2]$ make CC=gcc
gcc -g -fPIC -c sotest.c
ld -shared -o libsotest.so sotest.o
gcc -g -c sopgm.c
gcc -o sopgm sopgm.o sotest.o
gcc -o sopgmso sopgm.o libsotest.so
./sopgm
&a1 = 0x610000: 0
&a2 = 0x620000: 0
./run_sopgmso
&a1 = 0x680a50: a50
&a2 = 0x600a50: a50
./run_sopgmso: line 2: 27391 Aborted ./sopgmso
make: *** [all] Error 134
address@hidden sotest-2]$
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4504
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.