mirror of git://sourceware.org/git/glibc.git
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:
parent
2f9314b412
commit
4027a4fda0
|
@ -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>
|
2017-10-20 Mike FABIAN <mfabian@redhat.com>
|
||||||
|
|
||||||
[BZ #13605]
|
[BZ #13605]
|
||||||
|
|
|
@ -76,7 +76,7 @@ _start:
|
||||||
pea (%a1) /* Push address of the shared library
|
pea (%a1) /* Push address of the shared library
|
||||||
termination function. */
|
termination function. */
|
||||||
|
|
||||||
#ifdef SHARED
|
#ifdef PIC
|
||||||
/* Load PIC register. */
|
/* Load PIC register. */
|
||||||
LOAD_GOT (%a5)
|
LOAD_GOT (%a5)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue