Skip to content

Commit

Permalink
Add -static-pie support for arm.
Browse files Browse the repository at this point in the history
  • Loading branch information
lancethepants committed Jul 19, 2022
1 parent 1ea978e commit 043704d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gcc/config/arm/linux-elf.h
Expand Up @@ -66,9 +66,10 @@
%{static:-Bstatic} \
%{shared:-shared} \
%{symbolic:-Bsymbolic} \
%{!static: \
%{!static:%{!static-pie: \
%{rdynamic:-export-dynamic} \
%{!shared:-dynamic-linker " GNU_USER_DYNAMIC_LINKER "}} \
%{!shared:-dynamic-linker " GNU_USER_DYNAMIC_LINKER "}}} \
%{static-pie:-Bstatic -pie --no-dynamic-linker -z text} \
-X \
%{mbig-endian:-EB} %{mlittle-endian:-EL}" \
SUBTARGET_EXTRA_LINK_SPEC
Expand Down

0 comments on commit 043704d

Please sign in to comment.