diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-10-20 03:34:38 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-10-20 03:34:53 -0700 |
commit | 4027a4fda011c4431bdc3a063963de0b6fd6c07e (patch) | |
tree | b1c0406dbdfd2a10da2ca08ff1ced5bed5fdac33 /sysdeps | |
parent | 2f9314b4121b0200559693d6cfc8f61c692c2857 (diff) | |
download | glibc-4027a4fda011c4431bdc3a063963de0b6fd6c07e.tar.gz |
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.S | 2 |
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) |