https://sourceware.org/bugzilla/show_bug.cgi?id=19090
--- Comment #3 from Ronald Hoogenboom ---
Created attachment 8717
--> https://sourceware.org/bugzilla/attachment.cgi?id=8717&action=edit
simplified patch
Simplified the patch after suggestion from Alan Modra. Not guaranteed to work
for any
https://sourceware.org/bugzilla/show_bug.cgi?id=19090
--- Comment #2 from Ronald Hoogenboom ---
Created attachment 8707
--> https://sourceware.org/bugzilla/attachment.cgi?id=8707&action=edit
fix the --extract-symbol function
The attached patch uses bfd_copy_private_bfd_data when the --extract-
https://sourceware.org/bugzilla/show_bug.cgi?id=19090
--- Comment #1 from Ronald Hoogenboom ---
This is probably because the condition ' if (!extract_symbol)' on line
objcopy.c:1828 skips the 'setup_bfd_headers (ibfd, obfd);'. In case
extract_symbols, some limited 'setup-copying' needs to be