aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUros Bizjak <uros@gcc.gnu.org>2014-07-26 17:18:04 +0200
committerUros Bizjak <uros@gcc.gnu.org>2014-07-26 17:18:04 +0200
commit510957025c05f63c9ffbaaea48e65bd65f94a088 (patch)
treead4f84a29c397c1782af36ef686ac6fec0c2852a
parent71133099999cf4e3e08187d2c57b814b76a416a4 (diff)
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: r213082
-rw-r--r--ChangeLog11
-rw-r--r--config/ChangeLog5
-rw-r--r--config/mh-alpha-linux3
-rwxr-xr-xconfigure3
-rw-r--r--configure.ac3
5 files changed, 23 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 38c20fd943b..b52689522d3 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-16 Release Manager
* GCC 4.9.1 released.
@@ -9,7 +15,7 @@
2014-04-04 Eric Botcazou <ebotcazou@adacore.com>
PR bootstrap/60620
- * Makefile.def (dependencies): Make gnattools depend on libstdc++-v3.
+ * Makefile.def (dependencies): Make gnattools depend on libstdc++-v3.
* Makefile.in: Regenerate.
2014-03-28 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
@@ -47,7 +53,8 @@
2014-03-07 Denis Chertykov <chertykov@gmail.com>
- * MAINTAINERS: Remove avr maintainers: Anatoly Sokolov and Eric Weddington
+ * MAINTAINERS: Remove avr maintainers: Anatoly Sokolov
+ and Eric Weddington
2014-03-07 Jakub Jelinek <jakub@redhat.com>
diff --git a/config/ChangeLog b/config/ChangeLog
index df19ebf80cb..cb6dcaafccb 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-07-16 Release Manager
* GCC 4.9.1 released.
diff --git a/config/mh-alpha-linux b/config/mh-alpha-linux
new file mode 100644
index 00000000000..9a9244baaa3
--- /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 3f217a2eeab..d1c67e5e1cb 100755
--- a/configure
+++ b/configure
@@ -3868,6 +3868,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 3c7b1ffac3a..1bab68041d4 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"
;;