Created
June 25, 2011 11:44
-
-
Save 7shi/1046395 to your computer and use it in GitHub Desktop.
patches for alpha-elf to binutils-2.21.1, gcc-3.4.6 and gcc-4.6.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- binutils-2.21.1/ld/configure.tgt.orig 2011-06-30 06:19:20 +0900 | |
+++ binutils-2.21.1/ld/configure.tgt 2011-06-30 06:19:55 +0900 | |
@@ -40,6 +40,7 @@ | |
alpha*-*-netware*) targ_emul=alpha ;; | |
alpha*-*-netbsd*) targ_emul=elf64alpha_nbsd ;; | |
alpha*-*-openbsd*) targ_emul=elf64alpha ;; | |
+alpha*-*-elf*) targ_emul=elf64alpha ;; | |
alpha*-*-*vms*) targ_emul=alphavms | |
;; | |
arc-*-elf*) targ_emul=arcelf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- gcc-3.4.6/gcc/config.gcc.orig 2011-06-25 16:56:07 +0900 | |
+++ gcc-3.4.6/gcc/config.gcc 2011-06-25 19:51:55 +0900 | |
@@ -645,6 +645,11 @@ | |
prefix=/gnu | |
local_prefix=/gnu | |
;; | |
+alpha*-*-elf*) | |
+ tm_file="${tm_file} alpha/elf.h" | |
+ target_cpu_default="MASK_GAS" | |
+ tmake_file="${tmake_file} alpha/t-crtfm alpha/t-alpha alpha/t-ieee" | |
+ ;; | |
arc-*-elf*) | |
tm_file="dbxelf.h elfos.h svr4.h ${tm_file}" | |
extra_parts="crtinit.o crtfini.o" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- gcc-4.6.1/gcc/config.gcc.orig 2011-06-30 06:21:05 +0900 | |
+++ gcc-4.6.1/gcc/config.gcc 2011-06-30 06:22:29 +0900 | |
@@ -788,6 +788,12 @@ | |
install_headers_dir=install-headers-cp | |
extra_options="${extra_options} vms/vms.opt" | |
;; | |
+alpha*-*-elf*) | |
+ tm_file="$tm_file newlib-stdint.h alpha/elf.h" | |
+ extra_options="${extra_options} alpha/elf.opt" | |
+ target_cpu_default="MASK_GAS" | |
+ tmake_file="${tmake_file} alpha/t-crtfm alpha/t-alpha alpha/t-ieee" | |
+ ;; | |
arc-*-elf*) | |
tm_file="dbxelf.h elfos.h newlib-stdint.h ${tm_file}" | |
extra_parts="crtinit.o crtfini.o" | |
--- gcc-4.6.1/libgcc/config.host.orig 2011-06-30 06:22:42 +0900 | |
+++ gcc-4.6.1/libgcc/config.host 2011-06-30 06:23:14 +0900 | |
@@ -200,6 +200,8 @@ | |
alpha*-dec-*vms*) | |
tmake_file="vms/t-vms alpha/t-vms" | |
;; | |
+alpha*-*-elf*) | |
+ ;; | |
arc-*-elf*) | |
;; | |
arm-wrs-vxworks) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment