bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/18741] New: Corrupted .ARM.attributes section with -meabi=gnu o


From: markus.eisenmann at gmx dot at
Subject: [Bug gas/18741] New: Corrupted .ARM.attributes section with -meabi=gnu option
Date: Thu, 30 Jul 2015 14:07:20 +0000

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

            Bug ID: 18741
           Summary: Corrupted .ARM.attributes section with -meabi=gnu
                    option
           Product: binutils
           Version: 2.25
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: markus.eisenmann at gmx dot at
  Target Milestone: ---

I've created an GCC-toolchain with target=arm-eabi (using GCC 4.9.3, binutils
2.25) and use it with the option -mabi=apcs-gnu.

It still works, but I've received the readelf error-message "Unused bytes at
end of section" if I check the generated object-files.
The .ARM.attributes section seems to be corrupted and has the (hex) content:
41 0f 00 00 00 61 65 61 62 69 00 01 05 00 00 00 (section-size = 0x10).
After some tests - producing assembler-code and calling AS - I've detected the
AS-option -meabi=gnu as origin cause of this issue. In this case an
corrupted/incomplete .ARM.attributes-content (as above) will be generated in
the elf-output; with -meabi=4 (or 5) readeld shows the ARM-attributes w/o any
error-message.

Best regards from Salzburg,
Markus

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