[all-commits] [llvm/llvm-project] bf4562: [ELF][PPC32] Support .got2 in an output section de...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Thu Dec 23 11:32:58 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bf45624ba07f8bd65f38db872c89d8c0e4ffd5fe
https://github.com/llvm/llvm-project/commit/bf45624ba07f8bd65f38db872c89d8c0e4ffd5fe
Author: Fangrui Song <i at maskray.me>
Date: 2021-12-23 (Thu, 23 Dec 2021)
Changed paths:
M lld/ELF/InputFiles.h
M lld/ELF/InputSection.cpp
M lld/ELF/SyntheticSections.cpp
M lld/ELF/Thunks.cpp
A lld/test/ELF/linkerscript/ppc32-got2.s
M lld/test/ELF/ppc32-relocatable-got2.s
Log Message:
-----------
[ELF][PPC32] Support .got2 in an output section description
I added `PPC32Got2Section` D62464 to support .got2 but did not implement .got2
in another output section.
PR52799 has a linker script placing .got2 in .rodata, which causes a null
pointer dereference because a MergeSyntheticSection's file is nullptr.
Add the support.
More information about the All-commits
mailing list