bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/17422] New: binutils should support more than one plugin i


From: markus at trippelsdorf dot de
Subject: [Bug binutils/17422] New: binutils should support more than one plugin in lib/bfd-plugins and load the right one
Date: Mon, 22 Sep 2014 10:08:54 +0000

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]