aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-family/c-cppbuiltin.c
diff options
context:
space:
mode:
authorSergei Trofimovich <siarheit@google.com>2020-07-14 07:48:42 +0100
committerSergei Trofimovich <siarheit@google.com>2020-07-20 20:46:30 +0100
commit87891d5eafe8d1de90b9d9b056eca81c508d1c77 (patch)
tree2d00b11328673304d65108966fdce7de759c43fa /gcc/c-family/c-cppbuiltin.c
parent4d1c5b4957db2cb07f1053b7b87767275497d52e (diff)
downloadgcc-87891d5eafe8d1de90b9d9b056eca81c508d1c77.zip
gcc-87891d5eafe8d1de90b9d9b056eca81c508d1c77.tar.gz
gcc-87891d5eafe8d1de90b9d9b056eca81c508d1c77.tar.bz2
sparc/sparc64: use crtendS.o for default-pie executables [PR96190]
In --enable-default-pie mode compiler should switch from using crtend.o to crtendS.o. On sparc it is especially important because crtend.o contains PIC-unfriendly code. We use GNU_USER_TARGET_ENDFILE_SPEC as a baseline spec to get crtendS.o instead of crtend.o in !no-pie mode. gcc: 2020-07-14 Sergei Trofimovich <siarheit@google.com> PR target/96190 * config/sparc/linux.h (ENDFILE_SPEC): Use GNU_USER_TARGET_ENDFILE_SPEC to get crtendS.o for !no-pie mode. * config/sparc/linux64.h (ENDFILE_SPEC): Ditto.
Diffstat (limited to 'gcc/c-family/c-cppbuiltin.c')
0 files changed, 0 insertions, 0 deletions