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.
This commit is contained in:
H.J. Lu 2017-10-20 03:34:38 -07:00
parent 2f9314b412
commit 4027a4fda0
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
2017-10-20 Mike FABIAN <mfabian@redhat.com>
[BZ #13605]

View File

@ -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)