http://sourceware.org/bugzilla/show_bug.cgi?id=14873
Bug #: 14873
Summary: objcopy segfault
Product: binutils
Version: 2.23
Status: NEW
Severity: normal
Priority: P2
Component: binutils
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Trying to create an elf32-sh object from a binary causes a segfault:
$ sh-elf-objcopy -B sh -I binary -O elf32-sh infile outfile.elf
Segmentation fault: 11
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 sh-elf-objcopy 0x0000000104282eef
_bfd_elf_copy_obj_attributes + 287
1 sh-elf-objcopy 0x000000010425428e
sh_elf_copy_private_data + 30
2 sh-elf-objcopy 0x0000000104213423 copy_object + 5827
(objcopy.c:2012)
3 sh-elf-objcopy 0x0000000104214752 copy_file + 2178
(objcopy.c:2340)
4 sh-elf-objcopy 0x0000000104211241 main + 8033
(objcopy.c:4046)
5 sh-elf-objcopy 0x000000010420f2d4 start + 52
Host is OS X 10.7.5, binutils was configured with target=sh-elf and built with
the November 2012 Xcode command-line tool release.
--
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
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils