This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] m68k: Check PIC instead of SHARED in start.S
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Date: Fri, 29 Sep 2017 14:30:50 -0700
- Subject: [PATCH] m68k: Check PIC instead of SHARED in start.S
- Authentication-results: sourceware.org; auth=none
Since start.o may be compiled as PIC, we should check PIC instead of
SHARED.
OK for master?
* sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
---
sysdeps/m68k/start.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sysdeps/m68k/start.S b/sysdeps/m68k/start.S
index 71ba3b90e3..9f5d58831e 100644
--- a/sysdeps/m68k/start.S
+++ b/sysdeps/m68k/start.S
@@ -76,7 +76,7 @@ _start:
pea (%a1) /* Push address of the shared library
termination function. */
-#ifdef SHARED
+#ifdef PIC
/* Load PIC register. */
LOAD_GOT (%a5)
--
2.13.6