diff options
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r-- | binutils/readelf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c index 3431249..276d4dd 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -8394,6 +8394,9 @@ debug_apply_relocations (void * file, Gcc -feliminate-dwarf2-dups may generate symbols without type for debug info. */ && ELF_ST_TYPE (sym->st_info) != STT_NOTYPE + /* Icc generates relocations against function symbols + instead of local labels. */ + && ELF_ST_TYPE (sym->st_info) != STT_FUNC /* Relocations against object symbols can happen, eg when referencing a global array. For an example of this see the _clz.o binary in libgcc.a. */ |