diff options
| author | Rui Ueyama <ruiu@google.com> | 2017-06-12 18:46:33 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2017-06-12 18:46:33 +0000 |
| commit | f9f69548a9cc71136655eb9724969ed17e831a2d (patch) | |
| tree | acebbbe952419ec4779b6115e513563858e57e6b /llvm/lib/DebugInfo/DWARF/DWARFDebugRangeList.cpp | |
| parent | 8c31c2a5467f904ea2a7b1fd39dd7b3c1b17f097 (diff) | |
| download | bcm5719-llvm-f9f69548a9cc71136655eb9724969ed17e831a2d.tar.gz bcm5719-llvm-f9f69548a9cc71136655eb9724969ed17e831a2d.zip | |
Allow the GNU gold-style nonstandard SHT_GROUP section.
The ELF standard defines that the SHT_GROUP section as follows:
- its sh_link has the symbol index, and
- the symbol name is used to uniquify section groups.
Object files created by GNU gold does not seem to comply with the
standard. They have this additional rule:
- if the symbol has no name and a STT_SECTION symbol, a section
name is used instead of a symbol name.
If we don't do anything for this, the linker fails with a mysterious
error message if input files are generated by gas. It is unfortunate
but I think we need to support it.
Differential Revision: https://reviews.llvm.org/D34064
llvm-svn: 305218
Diffstat (limited to 'llvm/lib/DebugInfo/DWARF/DWARFDebugRangeList.cpp')
0 files changed, 0 insertions, 0 deletions

