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

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

Reply via email to