* config/m68k/m68k.h (ASM_PCREL_SPEC): Pass --pcrel also for
implict or explicit -fPIE or -fpie.
From-SVN: r223889
+2015-05-30 Andreas Schwab <schwab@linux-m68k.org>
+
+ * config/m68k/m68k.h (ASM_PCREL_SPEC): Pass --pcrel also for
+ implict or explicit -fPIE or -fpie.
+
2015-05-30 Mike Frysinger <vapier@gentoo.org>
* gcc/config/alpha/elf.h (ASM_SPEC): Add %{mcpu=*:-m%*}.
%{m68020-40:-m68040}%{m68020-60:-m68040}\
%{mcpu=*:-mcpu=%*}%{march=*:-march=%*}\
"
-#define ASM_PCREL_SPEC "%{" FPIC_SPEC ":--pcrel} \
- %{mpcrel:%{" NO_FPIC_SPEC ":--pcrel}} \
+#define ASM_PCREL_SPEC "%{" FPIE_OR_FPIC_SPEC ":--pcrel} \
+ %{mpcrel:%{" NO_FPIE_AND_FPIC_SPEC ":--pcrel}} \
%{msep-data|mid-shared-library:--pcrel} \
"