------- Additional Comments From ubizjak at gmail dot com  2009-09-01 09:55 
-------
This problem can be reproduced by a crosscompiler to alpha-unknown-linux-gnu
target. The addend in the object file is already wrong.

Steps to reproduce:

crossassemble with alpha-...-as the assembly source, as attached to this PR.

look into .eh_frame section, the problematic FDE is at 0x1af0:

 1af0 34000000 f41a0000 00000000 88020000  4...............
 1b00 04000000 00500e40 588e028b 05890758  .......@x......x
 1b10 8d038c04 8a069a08 0390010a 0e00cecd  ................
 1b20 cccbcac9 da440b00 3c000000 2c1b0000  .....D..<...,...

The relocation to .gcc_exception_table is at 0x1b01:

0000000000001b01 SREL32            .gcc_except_table+0x0000000000000a21

Now look at .gcc_except_table section:

 0a10 ff9b2d01 23a80148 c40400f0 0208b404  ..-.#..H........
 0a20 01880308 e00301d8 0304c404 009c0414  ................
 0a30 e80400e0 04040000 01000000 00000000  ................
 0a40 ff9b2101 17ac0208 d80401d8 0308fc03  ..!.............

See? LSDA starts at .gcc_except_table+0xa10 and the difference is exactly 0x11
bytes.

-- 


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

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