bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/2946] jmp to a weak symbol jumps to a wrong address


From: vincent dot riviere at freesbee dot fr
Subject: [Bug gas/2946] jmp to a weak symbol jumps to a wrong address
Date: 22 Jul 2006 12:52:35 -0000

------- Additional Comments From vincent dot riviere at freesbee dot fr  
2006-07-22 12:52 -------
Sorry, you're right.
The jump is relocated.

But I'm very surprised.

Without the "weak" keyword, gas generates a relative jump and no relocation 
entry. Good.

With the "weak" keyword, gas generates an absolute jump and a relocation entry. 
In the special case described here, the jump and the weak symbol are in the 
same object file, so gas could generate a relative jump.

It seems that there is still a bug on m68k-*-netbsd (a.out format).

I'm going to post a detailed report.


-- 


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

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