aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2014-07-26 17:11:14 +0200
committerUros Bizjak <uros@gcc.gnu.org>2014-07-26 17:11:14 +0200
commit7b7f941a9689d3bc30bec63f3fed7c698584e1ce (patch)
treeaab8deab62f396c94b9e9029c7b2723844db5bfa
parent04db05482edbb6b97e1e7c7f8bafb3c7fab67201 (diff)
downloadgcc-7b7f941a9689d3bc30bec63f3fed7c698584e1ce.zip
gcc-7b7f941a9689d3bc30bec63f3fed7c698584e1ce.tar.gz
gcc-7b7f941a9689d3bc30bec63f3fed7c698584e1ce.tar.bz2
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
-rw-r--r--ChangeLog6
-rw-r--r--config/ChangeLog5
-rw-r--r--config/mh-alpha-linux3
-rwxr-xr-xconfigure3
-rw-r--r--configure.ac3
5 files changed, 20 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index aecefa6..4cee49c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2014-07-26 Uros Bizjak <ubizjak@gmail.com>
+
+ PR target/47230
+ * configure.ac (alpha*-*-linux*): Use mh-alpha-linux.
+ * configure: Regenerate.
+
2014-07-24 James Norris <jnorris@codesourcery.com>
* MAINTAINERS (Write After Approval): Add myself.
diff --git a/config/ChangeLog b/config/ChangeLog
index 1079c7f..34fe7a6 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,8 @@
+2014-07-26 Uros Bizjak <ubizjak@gmail.com>
+
+ PR target/47230
+ * mh-alpha-linux: New file.
+
2014-05-14 Sandra Loosemore <sandra@codesourcery.com>
* mt-nios2-elf: New file.
diff --git a/config/mh-alpha-linux b/config/mh-alpha-linux
new file mode 100644
index 0000000..9a9244b
--- /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 f5e8d6a..c8b20b6 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 7a04c05..163de5f 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"
;;