m68k: Check PIC instead of SHARED in start.S
Commit Message
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(-)
Comments
On Sep 29 2017, "H.J. Lu" <hjl.tools@gmail.com> wrote:
> * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
Ok.
Andreas.
@@ -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)