mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-16 18:40:57 +08:00
xtensa: gcc: add static PIE support
gcc/ * config/xtensa/linux.h (LINK_SPEC): Add static-pie.
This commit is contained in:
parent
f5dc9da0a9
commit
9e0c269672
@ -54,9 +54,10 @@ along with GCC; see the file COPYING3. If not see
|
||||
#define LINK_SPEC \
|
||||
"%{shared:-shared} \
|
||||
%{!shared: \
|
||||
%{!static: \
|
||||
%{!static:%{!static-pie: \
|
||||
%{rdynamic:-export-dynamic} \
|
||||
-dynamic-linker " GNU_USER_DYNAMIC_LINKER "} \
|
||||
-dynamic-linker " GNU_USER_DYNAMIC_LINKER "}} \
|
||||
%{static-pie:-static -pie --no-dynamic-linker -z text} \
|
||||
%{static:-static}} \
|
||||
%{mabi=windowed:--abi-windowed} \
|
||||
%{mabi=call0:--abi-call0}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user