diff options
author | Peng Fan <van.freenix@gmail.com> | 2013-07-22 09:44:15 +0800 |
---|---|---|
committer | Peng Fan <van.freenix@gmail.com> | 2013-07-22 09:44:15 +0800 |
commit | 76d3b8962c9e0164941d1b6a47a4b6a716aca700 (patch) | |
tree | b1d2581273844efe390457b48293f327028d422f /linkers | |
parent | f2915943d15c33f8448eef5558be62505816cf51 (diff) |
collect 'STT_NOTYPE' symbols
Diffstat (limited to 'linkers')
-rw-r--r-- | linkers/rld-rap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linkers/rld-rap.cpp b/linkers/rld-rap.cpp index 5150935..033234b 100644 --- a/linkers/rld-rap.cpp +++ b/linkers/rld-rap.cpp @@ -964,7 +964,7 @@ namespace rld { const symbols::symbol& sym = *(*ei); - if ((sym.type () == STT_OBJECT) || (sym.type () == STT_FUNC)) + if ((sym.type () == STT_OBJECT) || (sym.type () == STT_FUNC) || (sym.type () == STT_NOTYPE)) { if ((sym.binding () == STB_GLOBAL) || (sym.binding () == STB_WEAK)) { |