Skip to content
Commit 78e27e83 authored by George Rimar's avatar George Rimar
Browse files

[ELF] - Produce relocation section name consistent with output section name...

[ELF] - Produce relocation section name consistent with output section name when --emit-reloc used with linker script.

This is for "Bug 35474 - --emit-relocs produces wrongly-named reloc sections".

LLD currently for scripts like:

.text.boot : { *(.text.boot) }
emits relocation section with name .rela.text because does not take
redefined name of output section into account and builds section name
using rules for non-scripted case. Patch fixes this oddness.

Differential revision: https://reviews.llvm.org/D40652

llvm-svn: 319526
parent 0d044dc0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment