]> sourceware.org Git - glibc.git/commitdiff
m68k: Check PIC instead of SHARED in start.S
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 20 Oct 2017 10:34:38 +0000 (03:34 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 20 Oct 2017 10:34:53 +0000 (03:34 -0700)
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.

ChangeLog
sysdeps/m68k/start.S

index d8194dc4c30ee6918160d6701742f36e5d3329c7..138eea5ffd43fbeb3d7da8f6aeec14c72faba8f2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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]
index 71ba3b90e353939ce7265d78b0eda869176d788d..9f5d58831e2974350fa18b516d9dea30855f22e3 100644 (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)
 
This page took 0.078611 seconds and 5 git commands to generate.