send2vinnie / mclinker

Automatically exported from code.google.com/p/mclinker
Other
0 stars 0 forks source link

GOTOFF relocations for local symbols are changed to absolute relocations for -r #125

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Test case:
L1:  movl L1@GOTOFF(%eax), %ebx

as --32 -o test.o test.s
ld.mcld -o test2.o test.o -r
nm test2.o

Original issue reported on code.google.com by joerg.sonnenberger@googlemail.com on 12 Feb 2013 at 8:42

GoogleCodeExporter commented 9 years ago
Side effect of change 757b7f29e436.

Original comment by joerg.sonnenberger@googlemail.com on 12 Feb 2013 at 11:44

GoogleCodeExporter commented 9 years ago
Thanks Joerg, it's my fault. -r should not change symbol's Shndx. I will fix it.

Original comment by LubaTang on 15 Feb 2013 at 2:47

GoogleCodeExporter commented 9 years ago
testcase: Revision 1f67bd7f059a

Original comment by LubaTang on 15 Feb 2013 at 9:02

GoogleCodeExporter commented 9 years ago
Diana, I'm too busy in preparing CGO talk. Would you mind to handle with this 
issue for me?

Original comment by LubaTang on 18 Feb 2013 at 9:35

GoogleCodeExporter commented 9 years ago
Fixed at Revision e6a1195ecaa3. Thanks.

Original comment by mysekki on 19 Feb 2013 at 3:01