https://sourceware.org/bugzilla/show_bug.cgi?id=16671
Bug ID: 16671 Summary: Crash in elf32_arm_add_symbol_hook Product: binutils Version: 2.25 (HEAD) Status: NEW Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: rmansfield at qnx dot com Created attachment 7459 --> https://sourceware.org/bugzilla/attachment.cgi?id=7459&action=edit trivial objectfile Linking elf32-littlearm object file into aarch64 causes crash in elf32_arm_add_symbol_hook Program received signal SIGSEGV, Segmentation fault. elf32_arm_add_symbol_hook (abfd=0x7fd190, info=0x7c9f60 <link_info>, sym=0x801650, namep=0x7fffffffdbb0, flagsp=0x7fffffffdb78, secp=0x7fffffffdba8, valp=0x7fffffffdba0) at ../../bfd/elf32-arm.c:15864 15864 if (elf32_arm_hash_table (info)->vxworks_p (gdb) bt #0 elf32_arm_add_symbol_hook (abfd=0x7fd190, info=0x7c9f60 <link_info>, sym=0x801650, namep=0x7fffffffdbb0, flagsp=0x7fffffffdb78, secp=0x7fffffffdba8, valp=0x7fffffffdba0) at ../../bfd/elf32-arm.c:15864 #1 0x0000000000483c56 in elf_link_add_object_symbols (info=<optimized out>, abfd=<optimized out>) at ../../bfd/elflink.c:3949 #2 bfd_elf_link_add_symbols (abfd=<optimized out>, info=<optimized out>) at ../../bfd/elflink.c:5141 #3 0x0000000000410dc2 in load_symbols (entry=0x7cc240, place=<optimized out>) at ../../ld/ldlang.c:2847 #4 0x00000000004118cf in open_input_bfds (s=0x7cc240, mode=mode@entry=OPEN_BFD_NORMAL) at ../../ld/ldlang.c:3309 #5 0x0000000000413b8a in lang_process () at ../../ld/ldlang.c:6649 #6 0x00000000004036c0 in main (argc=2, argv=0x7fffffffdf18) at ../../ld/ldmain.c:411 Details on $ ./ld-new -v GNU ld (GNU Binutils) 2.24.51.20140307 $ head ld/config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.64. Invocation command line was $ /home/ryan/gnu/binutils-gdb/ld/configure --cache-file=./config.cache --with-gnu-as --with-gnu-ld --with-system-zlib --program-transform-name=s&^&aarch64-linux-gnu-& --disable-option-checking --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=aarch64-linux-gnu --srcdir=../../ld -- 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