From 4027a4fda011c4431bdc3a063963de0b6fd6c07e Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 20 Oct 2017 03:34:38 -0700 Subject: [PATCH] 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. --- ChangeLog | 4 ++++ sysdeps/m68k/start.S | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d8194dc4c3..138eea5ffd 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 71ba3b90e3..9f5d58831e 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) -- 2.43.5