bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/16604] linker adds padding before rodata but doesn't adjust symb


From: amodra at gmail dot com
Subject: [Bug ld/16604] linker adds padding before rodata but doesn't adjust symbol
Date: Sat, 22 Feb 2014 02:34:27 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=16604

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amodra at gmail dot com

--- Comment #5 from Alan Modra <amodra at gmail dot com> ---
This does not look like a linker problem. dl_array is linked at 0x8020057.  The
symbol and debug info reflect this fact.  Now, examining dl_array under gdb
looks at 0x8020056.  This is wrong, so perhaps this is a gdb bug, triggered by
you putting .rodata into .text, an executable section.  Recall that arm uses
the low bit of executable symbol addresses as a flag to mark thumb code.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

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