From: H.J. Lu Date: Fri, 20 Oct 2017 10:34:38 +0000 (-0700) Subject: m68k: Check PIC instead of SHARED in start.S X-Git-Tag: glibc-2.27~651 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4027a4fda011c4431bdc3a063963de0b6fd6c07e;p=thirdparty%2Fglibc.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. --- diff --git a/ChangeLog b/ChangeLog index d8194dc4c30..138eea5ffd4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2017-10-20 H.J. Lu + + * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED. + 2017-10-20 Mike FABIAN [BZ #13605] diff --git a/sysdeps/m68k/start.S b/sysdeps/m68k/start.S index 71ba3b90e35..9f5d58831e2 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)