From: Uros Bizjak Date: Sat, 26 Jul 2014 15:11:14 +0000 (+0200) Subject: re PR target/47230 (gcc fails to bootstrap on alpha in stage2 with "relocation trunca... X-Git-Tag: releases/gcc-5.1.0~6067 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7b7f941a9689d3bc30bec63f3fed7c698584e1ce;p=thirdparty%2Fgcc.git re PR target/47230 (gcc fails to bootstrap on alpha in stage2 with "relocation truncated to fit: GPREL16 against ...") PR target/47230 * configure.ac (alpha*-*-linux*): Use mh-alpha-linux. * configure: Regenerate. config/ChangeLog: PR target/47230 * mh-alpha-linux: New file. From-SVN: r213081 --- diff --git a/ChangeLog b/ChangeLog index aecefa60fddb..4cee49cbaca2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2014-07-26 Uros Bizjak + + PR target/47230 + * configure.ac (alpha*-*-linux*): Use mh-alpha-linux. + * configure: Regenerate. + 2014-07-24 James Norris * MAINTAINERS (Write After Approval): Add myself. diff --git a/config/ChangeLog b/config/ChangeLog index 1079c7fb6fc1..34fe7a664ee0 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,8 @@ +2014-07-26 Uros Bizjak + + PR target/47230 + * mh-alpha-linux: New file. + 2014-05-14 Sandra Loosemore * mt-nios2-elf: New file. diff --git a/config/mh-alpha-linux b/config/mh-alpha-linux new file mode 100644 index 000000000000..9a9244baaa36 --- /dev/null +++ b/config/mh-alpha-linux @@ -0,0 +1,3 @@ +# Prevent GPREL16 relocation truncation +LDFLAGS += -Wl,--no-relax +BOOT_LDFLAGS += -Wl,--no-relax diff --git a/configure b/configure index f5e8d6a52182..c8b20b617aed 100755 --- a/configure +++ b/configure @@ -3878,6 +3878,9 @@ fi *-mingw*) host_makefile_frag="config/mh-mingw" ;; + alpha*-*-linux*) + host_makefile_frag="config/mh-alpha-linux" + ;; hppa*-hp-hpux10*) host_makefile_frag="config/mh-pa-hpux10" ;; diff --git a/configure.ac b/configure.ac index 7a04c05147cf..163de5f7220b 100644 --- a/configure.ac +++ b/configure.ac @@ -1177,6 +1177,9 @@ case "${host}" in *-mingw*) host_makefile_frag="config/mh-mingw" ;; + alpha*-*-linux*) + host_makefile_frag="config/mh-alpha-linux" + ;; hppa*-hp-hpux10*) host_makefile_frag="config/mh-pa-hpux10" ;;