[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/11988] plugin claimed symbols are not used for ar resoluti
From: |
ian at airs dot com |
Subject: |
[Bug binutils/11988] plugin claimed symbols are not used for ar resolution |
Date: |
7 Sep 2010 13:19:08 -0000 |
------- Additional Comments From ian at airs dot com 2010-09-07 13:19 -------
BSD ar does have a symbol table. All versions of ar since about 1977 have a
symbol table.
It would be possible to have gold scan an entire archive if there is no symbol
table. The problem here is that there will be a symbol table. It will just be
empty, or relatively empty (what does nm -s report for this archive?). I don't
think it would be entirely reasonable to have gold simply assume that an
archive
with an empty symbol table might contain objects with LTO information.
One possibility might be to extend the plugin interface to let the plugin
choose
to handle archives itself. Then the gcc LTO plugin would be able to choose to
handle archives under some conditions. Perhaps when gcc generates an object
with LTO symbol information but no real symbol information it could generate a
common symbol with some magic name which would wind up in the archive symbol
table. The plugin could then look for that magic name and change the way that
the archive is handled. Somehow.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11988
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug gold/11988] New: plugin claimed symbols are not used for ar resolution, andi-bz at firstfloor dot org, 2010/09/06
- [Bug gold/11988] plugin claimed symbols are not used for ar resolution, andi-bz at firstfloor dot org, 2010/09/06
- [Bug binutils/11988] plugin claimed symbols are not used for ar resolution, ian at airs dot com, 2010/09/07
- [Bug binutils/11988] plugin claimed symbols are not used for ar resolution, ian at airs dot com, 2010/09/07
- [Bug binutils/11988] plugin claimed symbols are not used for ar resolution, andi-bz at firstfloor dot org, 2010/09/07
- [Bug binutils/11988] plugin claimed symbols are not used for ar resolution, ccoutant at google dot com, 2010/09/07
- [Bug binutils/11988] plugin claimed symbols are not used for ar resolution, andi-bz at firstfloor dot org, 2010/09/07
- [Bug binutils/11988] plugin claimed symbols are not used for ar resolution,
ian at airs dot com <=
- [Bug binutils/11988] plugin claimed symbols are not used for ar resolution, andi-bz at firstfloor dot org, 2010/09/07