summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2014-11-25 03:50:31 +0000
committeremaste <emaste@FreeBSD.org>2014-11-25 03:50:31 +0000
commitfda27c9937b724b3c3e24266d58c4be4d1839e7f (patch)
tree8af8a3fb8f37ea396b60dd6e474d26d3b108cc1a /libexec
parentd375864ce9ed7583a0bf26a4f4933a26c49ecd60 (diff)
downloadFreeBSD-src-fda27c9937b724b3c3e24266d58c4be4d1839e7f.zip
FreeBSD-src-fda27c9937b724b3c3e24266d58c4be4d1839e7f.tar.gz
Revert r274772: it is not valid on MIPS
Reported by: sbruno
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rtld-elf/rtld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c
index 57cb306..cc7afda 100644
--- a/libexec/rtld-elf/rtld.c
+++ b/libexec/rtld-elf/rtld.c
@@ -1817,7 +1817,7 @@ init_rtld(caddr_t mapbase, Elf_Auxinfo **aux_info)
objtmp.path = NULL;
objtmp.rtld = true;
objtmp.mapbase = mapbase;
-#ifdef __PIC__
+#ifdef PIC
objtmp.relocbase = mapbase;
#endif
if (RTLD_IS_DYNAMIC()) {
OpenPOWER on IntegriCloud