[all-commits] [llvm/llvm-project] b067aa: [ELF] Produce DT_RISCV_VARIANT_CC
Fangrui Song via All-commits
all-commits at lists.llvm.org
Sun Dec 4 21:08:51 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b067aa56cec3cd06e01eb61d850d8934d8e4130a
https://github.com/llvm/llvm-project/commit/b067aa56cec3cd06e01eb61d850d8934d8e4130a
Author: Fangrui Song <i at maskray.me>
Date: 2022-12-04 (Sun, 04 Dec 2022)
Changed paths:
M lld/ELF/SyntheticSections.cpp
M lld/docs/ReleaseNotes.rst
A lld/test/ELF/riscv-variant-cc.s
Log Message:
-----------
[ELF] Produce DT_RISCV_VARIANT_CC
https://github.com/riscv/riscv-elf-psabi-doc/pull/190 introduced STO_RISCV_VARIANT_CC.
The linker should:
* Copy the STO_RISCV_VARIANT_CC bit to .symtab/.dynsym: already fulfilled after
82ed93ea0552c8f82df05859ee93e70b71c4e65d
* Produce DT_RISCV_VARIANT_CC if at least one R_RISCV_JUMP_SLOT relocation
references a symbol with the STO_RISCV_VARIANT_CC bit. Done by this patch.
Reviewed By: kito-cheng
Differential Revision: https://reviews.llvm.org/D107951
More information about the All-commits
mailing list