diff options
author | Xi Ruoyao <xry111@xry111.site> | 2022-09-24 15:45:34 +0800 |
---|---|---|
committer | caiyinyu <caiyinyu@loongson.cn> | 2022-09-30 11:51:58 +0800 |
commit | 8b10727a9af3e2aa4b27dff0116bb8d3c9afce3d (patch) | |
tree | ca69377c35c0950a0cb5409c4eb558840734be23 /sysdeps/unix/alpha/rt-sysdep.S | |
parent | 5eb21c62cea9e5879e7637ac6713ba2cb5993ca5 (diff) | |
download | glibc-8b10727a9af3e2aa4b27dff0116bb8d3c9afce3d.tar.gz glibc-8b10727a9af3e2aa4b27dff0116bb8d3c9afce3d.tar.xz glibc-8b10727a9af3e2aa4b27dff0116bb8d3c9afce3d.zip |
LoongArch: Add static PIE support
If the compiler is new enough, enable static PIE support. In the static PIE version of _start (in rcrt1.o), use la.pcrel instead of la.got because in a static PIE we cannot use GOT entries until the dynamic relocations for GOT are resolved.
Diffstat (limited to 'sysdeps/unix/alpha/rt-sysdep.S')
0 files changed, 0 insertions, 0 deletions