bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/14397] New: Simply ARM EABI application with missing .rel.plt ou


From: meadori at codesourcery dot com
Subject: [Bug ld/14397] New: Simply ARM EABI application with missing .rel.plt ouput section description crashes ld
Date: Tue, 24 Jul 2012 23:18:22 +0000

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

             Bug #: 14397
           Summary: Simply ARM EABI application with missing .rel.plt
                    ouput section description crashes ld
           Product: binutils
           Version: pre-2.12
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: address@hidden
        ReportedBy: address@hidden
    Classification: Unclassified


Created attachment 6555
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6555
Reproduction case

The attached test case was constructed via some assembly files from the ARM ld
testsuite.  The only real change I made was to take the linker script from
`arm-none-eabi-ld --verbose` and comment out the output section description for
'.rel.plt'.

The problem can be reproduced as follows (with binutils built from HEAD):

$ tar xvfj arm-none-eabi-no-rel-plt-crash.tar.bz2 
arm-app.s
arm-lib.s
Makefile
my.ld
$ make
arm-none-eabi-as   -o arm-app.o arm-app.s
arm-none-eabi-as   -o arm-lib.o arm-lib.s
arm-none-eabi-ld -shared -o arm-lib.so arm-lib.o
arm-none-eabi-ld -o arm-app -T my.ld arm-app.o arm-lib.so
arm-none-eabi-ld: BFD (GNU Binutils) 2.22.52.20120724 assertion fail
/home/meadori/Code/src/binutils/bfd/elf32-arm.c:14086
make: *** [arm-app] Segmentation fault (core dumped)
make: *** Deleting file `arm-app'

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