aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2023-03-07 10:37:04 -0800
committerFangrui Song <i@maskray.me>2023-03-07 10:37:04 -0800
commit07d0a4fb537f15d68385c0598d3b0dbf9e99763d (patch)
tree99625dc4e2fb6abd3505bc74c41761172ce03911 /flang/lib/Frontend/CompilerInvocation.cpp
parent508b4510de123c4cccc9440546da1f71a23cbb83 (diff)
downloadllvm-07d0a4fb537f15d68385c0598d3b0dbf9e99763d.zip
llvm-07d0a4fb537f15d68385c0598d3b0dbf9e99763d.tar.gz
llvm-07d0a4fb537f15d68385c0598d3b0dbf9e99763d.tar.bz2
[ELF][RISCV] Make .sdata and .sbss closer
GNU ld's internal linker scripts for RISC-V place .sdata and .sbss close. This makes GP relaxation more profitable. While here, when .sbss is present, set `__bss_start` to the start of .sbss instead of .bss, to match GNU ld. Note: GNU ld's internal linker scripts have symbol assignments and input section descriptions which are not relevant for modern systems. We only add things that make sense. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D145118
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions