https://bugs.llvm.org/show_bug.cgi?id=36634
Bug ID: 36634
Summary: __rela_iplt_{start,end} get bogus section index if
.rela.iplt section is discarded
Product: lld
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: ELF
Assignee: unassignedb...@nondot.org
Reporter: r...@google.com
CC: llvm-bugs@lists.llvm.org
For static linking, we synthesize __rela_iplt_start and __rela_iplt_end symbols
which point to the beginning and ending of .rela.iplt. If .rela.iplt is
discarded after that, then the symbols get bogus section index 0xffff. If that
happens, no one really uses the symbols, so the symbols' section value doesn't
matter, but it should at least be a sane value (0xffff is a reserved value).
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs