Skip to content

Commit

Permalink
Add patch files
Browse files Browse the repository at this point in the history
  • Loading branch information
atgreen committed Jun 14, 2012
1 parent 1e5184b commit eae5525
Show file tree
Hide file tree
Showing 30 changed files with 55,025 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
How To Retarget the GNU Toolchain in 21 Patches
===============================================

Premable to the github Edition
------------------------------

The text below originally came from a series of blog posts I wrote
about porting the GNU Toolchain to a new target. The original blog
site is down, so I have collected the contents of the articles and
have posted them here, along with the patches.
have posted them here, along with the patches. Some of the original
thinking behind this project seems naiive in retrospect, however, the
end result was an interesting and useful project that I hope other may
learn from.

Happy Hacking!



[This is not complete yet]

Expand Down
67 changes: 67 additions & 0 deletions ggx-01-src.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
diff -r 9877803f8c82 ChangeLog.ggx
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ChangeLog.ggx Mon Mar 10 07:57:30 2008 -0700
@@ -0,0 +1,6 @@
+2008-02-20 Anthony Green <green@spindazzle.org>
+
+ * config.sub: Add ggx support.
+ * configure.ac: Ditto.
+ * configure: Rebuilt.
+
diff -r 9877803f8c82 config.sub
--- a/config.sub Wed Feb 20 12:10:19 2008 -0800
+++ b/config.sub Mon Mar 10 07:57:30 2008 -0700
@@ -246,6 +246,7 @@ case $basic_machine in
| c4x | clipper \
| d10v | d30v | dlx | dsp16xx \
| fido | fr30 | frv \
+ | ggx \
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
| i370 | i860 | i960 | ia64 \
| ip2k | iq2000 \
diff -r 9877803f8c82 configure
--- a/configure Wed Feb 20 12:10:19 2008 -0800
+++ b/configure Mon Mar 10 07:57:30 2008 -0700
@@ -2,7 +2,7 @@
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59.
#
-# Copyright (C) 2003 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2008 Free Software Foundation, Inc.
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
## --------------------- ##
@@ -2324,6 +2324,10 @@ case "${target}" in
;;
frv-*-*)
noconfigdirs="$noconfigdirs ${libgcj}"
+ ;;
+ ggx-*-*)
+ noconfigdirs="$noconfigdirs ${libgcj} gdb sim"
+ noconfigdirs="$noconfigdirs bfd binutils opcodes gas ld gprof"
;;
h8300*-*-*)
noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
diff -r 9877803f8c82 configure.ac
--- a/configure.ac Wed Feb 20 12:10:19 2008 -0800
+++ b/configure.ac Mon Mar 10 07:57:30 2008 -0700
@@ -1,5 +1,6 @@
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
-# 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
+# Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -601,6 +602,10 @@ case "${target}" in
;;
frv-*-*)
noconfigdirs="$noconfigdirs ${libgcj}"
+ ;;
+ ggx-*-*)
+ noconfigdirs="$noconfigdirs ${libgcj} gdb sim"
+ noconfigdirs="$noconfigdirs bfd binutils opcodes gas ld gprof"
;;
h8300*-*-*)
noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
Loading

0 comments on commit eae5525

Please sign in to comment.