]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/47230 (gcc fails to bootstrap on alpha in stage2 with "relocation trunca...
authorUros Bizjak <ubizjak@gmail.com>
Sat, 26 Jul 2014 15:11:14 +0000 (17:11 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Sat, 26 Jul 2014 15:11:14 +0000 (17:11 +0200)
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

ChangeLog
config/ChangeLog
config/mh-alpha-linux [new file with mode: 0644]
configure
configure.ac

index aecefa60fddb3669301b144256830aa33fa7f802..4cee49cbaca28d7bde9e62a994e3b2706562b7e4 100644 (file)
--- 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.
index 1079c7fb6fc12e1e5cdc290d1aadb8720b36c3f0..34fe7a664ee0338c89e1828e16157e13760d5590 100644 (file)
@@ -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 (file)
index 0000000..9a9244b
--- /dev/null
@@ -0,0 +1,3 @@
+# Prevent GPREL16 relocation truncation
+LDFLAGS += -Wl,--no-relax
+BOOT_LDFLAGS += -Wl,--no-relax
index f5e8d6a52182e7e34733785d042efc80416f124f..c8b20b617aedefee15288c33806cdcfbe8483c03 100755 (executable)
--- 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"
     ;;
index 7a04c05147cf6b79bbf4c49bbc554a844178bd39..163de5f7220b0753c682c4a15fa7b5cc1a85b6f2 100644 (file)
@@ -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"
     ;;