[all-commits] [llvm/llvm-project] 0fe20a: [libc] support PIE relocations (#78993)
Schrodinger ZHU Yifan via All-commits
all-commits at lists.llvm.org
Mon Jan 22 09:45:47 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0fe20aa45eab5f66ac88776f068b7f41b8204aaf
https://github.com/llvm/llvm-project/commit/0fe20aa45eab5f66ac88776f068b7f41b8204aaf
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-01-22 (Mon, 22 Jan 2024)
Changed paths:
M libc/startup/linux/do_start.cpp
Log Message:
-----------
[libc] support PIE relocations (#78993)
For some reasons, we are using `-fpie`
(libc/cmake/modules/LLVMLibCObjectRules.cmake:31) without supporting it.
According to @lntue, some of the hermetic tests are broken without
proper PIE support. This patch implements basic relocations support for
PIE.
More information about the All-commits
mailing list