[PATCH] m68k: Check PIC instead of SHARED in start.S
H.J. Lu
hjl.tools@gmail.com
Fri Sep 29 21:31:00 GMT 2017
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
More information about the Libc-alpha
mailing list