bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/13130] ld does not truncate section names in PE-COFF sections


From: bugreportsMail at web dot de
Subject: [Bug ld/13130] ld does not truncate section names in PE-COFF sections
Date: Fri, 02 Sep 2011 08:20:01 +0000

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

bugreportsMail at web dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugreportsMail at web dot
                   |                            |de

--- Comment #1 from bugreportsMail at web dot de 2011-09-02 08:20:01 UTC ---
You can force ld to truncate names by using --disable-long-section-names. But
you are right that the normal behavior is against the specification.

With respect to gcc an the "-g" option where all section names starting with
.debug_ (= seven characters) are larger than eight characters, you can choose
between a specification violated file or truncated debug sections with multiple
appearances. For example both .debug_aranges and .debug_abbrev will be .debug_a
so there are two .debug_a sections, I am not sure if this is a problem.
I don't know how gdb handle this but IDA 5.0 cannot handle either of them but
it could using the coff object files.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]