aboutsummaryrefslogtreecommitdiff
path: root/gcc/vmsdbgout.c
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2017-11-17 18:37:58 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2017-11-17 10:37:58 -0800
commit5dbc00611a86e17d34184aaf748bd5c4832c05b6 (patch)
tree64414fe8cf973a41f805724f401380e9b0538a41 /gcc/vmsdbgout.c
parent274c2d3f146e70e7205a2472c6f4d9a93380a80b (diff)
downloadgcc-5dbc00611a86e17d34184aaf748bd5c4832c05b6.zip
gcc-5dbc00611a86e17d34184aaf748bd5c4832c05b6.tar.gz
gcc-5dbc00611a86e17d34184aaf748bd5c4832c05b6.tar.bz2
Use rcrt1.o%s/grcrt1.o%s to relocate static PIE
crt1.o is used to create dynamic and non-PIE static executables. Static PIE needs to link with rcrt1.o, instead of crt1.o, which is also used by musl libc and OpenBSD: https://gcc.gnu.org/ml/gcc/2015-06/msg00008.html to relocate static PIE at run-time. When -pg is used with -static-pie, grcrt1.o should be used. * config/gnu-user.h (GNU_USER_TARGET_STARTFILE_SPEC): Use rcrt1.o%s/grcrt1.o%s for -static-pie. From-SVN: r254890
Diffstat (limited to 'gcc/vmsdbgout.c')
0 files changed, 0 insertions, 0 deletions