https://sourceware.org/bugzilla/show_bug.cgi?id=24499

--- Comment #6 from Alan Modra <amodra at gmail dot com> ---
Archives are typically used as static libraries, that is, they contain a group
of relocatable object files.  I don't think that splitting off debug info to a
separate archive makes sense for relocatable object files.  You'd make the
debug info unusable when linking the static library, and any gnu-debuglink
notes will be dropped by the linker.

So, what is in your foo.a that makes sense to objcopy --add-gnu-debuglink?

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

Reply via email to