about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-10-20 03:34:38 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-10-20 03:34:53 -0700
commit4027a4fda011c4431bdc3a063963de0b6fd6c07e (patch)
treeb1c0406dbdfd2a10da2ca08ff1ced5bed5fdac33 /sysdeps
parent2f9314b4121b0200559693d6cfc8f61c692c2857 (diff)
downloadglibc-4027a4fda011c4431bdc3a063963de0b6fd6c07e.tar.gz
glibc-4027a4fda011c4431bdc3a063963de0b6fd6c07e.tar.xz
glibc-4027a4fda011c4431bdc3a063963de0b6fd6c07e.zip
m68k: Check PIC instead of SHARED in start.S
Since start.o may be compiled as PIC, we should check PIC instead of
SHARED.

	* sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/m68k/start.S2
1 files changed, 1 insertions, 1 deletions
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)