bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/10579] LSDA section is linked off-by 0x11 from FDE


From: ubizjak at gmail dot com
Subject: [Bug ld/10579] LSDA section is linked off-by 0x11 from FDE
Date: 1 Sep 2009 09:55:45 -0000

------- 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  address@hidden
 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]