[PATCH] D38625: [ELF] - Ignore non-absolute R_386_GOTPC relocation in debug sections.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 7 06:16:11 PDT 2017


grimar added a comment.

In https://reviews.llvm.org/D38625#890908, @ruiu wrote:

> Where is the bug for gcc, and what was a response from gcc develoeprs?


I did not find bug report page or something like that, but gcc-5.4 produce section that is not readable by
dwarfdump tool for me:
dwarfdump ERROR:  dwarf_get_loclist_from_expr_a:  DW_DLE_LOC_EXPR_BAD (128)

And this section has PC relocation, while other compilers or versions of gcc does not do that and produce
correctly readable section. I assume it is a bug of gcc.


https://reviews.llvm.org/D38625





More information about the llvm-commits mailing list