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: unassig...@sourceware.org ReportedBy: mead...@codesourcery.com 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. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils