Since start.o may be compiled as PIC, we should check PIC instead of
SHARED.
* sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
+2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
+
+ * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
+
2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
which grow downwards). */
pushq %rsp
-#ifdef SHARED
+#ifdef PIC
/* Pass address of our own entry points to .fini and .init. */
mov __libc_csu_fini@GOTPCREL(%rip), %R8_LP
mov __libc_csu_init@GOTPCREL(%rip), %RCX_LP