https://sourceware.org/bugzilla/show_bug.cgi?id=17422
Bug ID: 17422
Summary: binutils should support more than one plugin in
lib/bfd-plugins and load the right one
Product: binutils
Version: 2.25 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: markus at trippelsdorf dot de
Currently binutils automatically loads the plugin it finds in:
/usr/x86_64-pc-linux-gnu/binutils-bin/lib/bfd-plugins .
When the user places more than one plugin in that directory
only the one that comes first alphabetically gets loaded:
LLVMgold.so
liblto_plugin.so.0.0.0
In this case the LLVMgold plugin always gets loaded.
It would be better if binutils would pick the appropriate plugin
automatically based on the content it encounters.
- Normal ELF files with special lto sections in the case of gcc.
- LLVM bitcode in the other case: http://llvm.org/docs/BitCodeFormat.html
--
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