From 2e01c3fcd1d4f577b9c97fb679084a1ac4fd40c3 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Sat, 26 Jul 2014 17:23:33 +0200 Subject: [PATCH] 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: r213083 --- ChangeLog | 6 ++++++ config/ChangeLog | 5 +++++ config/mh-alpha-linux | 3 +++ configure | 3 +++ configure.ac | 3 +++ 5 files changed, 20 insertions(+) create mode 100644 config/mh-alpha-linux diff --git a/ChangeLog b/ChangeLog index 0ed008342a53..510048aab7f2 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-05-22 Release Manager * GCC 4.8.3 released. diff --git a/config/ChangeLog b/config/ChangeLog index 9dbadab9852e..a574b0739902 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-22 Release Manager * GCC 4.8.3 released. 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 e1d1c71fca4f..e8d1c47cbb01 100755 --- a/configure +++ b/configure @@ -3834,6 +3834,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 637da1ea51d1..d0e72ae0bded 100644 --- a/configure.ac +++ b/configure.ac @@ -1154,6 +1154,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" ;; -- 2.47.2