summaryrefslogtreecommitdiff
path: root/devel/psptoolchain-binutils/files/patch-binutils-readelf.c
diff options
context:
space:
mode:
authorMarcelo Araujo <araujo@FreeBSD.org>2009-08-21 00:54:33 +0000
committerMarcelo Araujo <araujo@FreeBSD.org>2009-08-21 00:54:33 +0000
commit8cbd3957fb9309b77590faad70c31ada2caee71f (patch)
tree6e6dc53459a6b9a79b032994edb9301bd33d61c2 /devel/psptoolchain-binutils/files/patch-binutils-readelf.c
parentUpdate to the 20090818 snapshot of GCC 4.4.2. (diff)
The PlayStation Portable Toolchain is a collection of tools and utilities
for homebrew PSP development. WWW: http://www.ps2dev.org PR: ports/132323, ports/132324, ports/132325, ports/132326 ports/132327, ports/132328, ports/132329, ports/132330 Submitted by: Tassilo Philipp <tphilipp@potion-studios.com>
Notes
Notes: svn path=/head/; revision=240002
Diffstat (limited to 'devel/psptoolchain-binutils/files/patch-binutils-readelf.c')
-rw-r--r--devel/psptoolchain-binutils/files/patch-binutils-readelf.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/devel/psptoolchain-binutils/files/patch-binutils-readelf.c b/devel/psptoolchain-binutils/files/patch-binutils-readelf.c
new file mode 100644
index 000000000000..dd61bd39a56e
--- /dev/null
+++ b/devel/psptoolchain-binutils/files/patch-binutils-readelf.c
@@ -0,0 +1,10 @@
+--- binutils/readelf.c.orig 2005-04-20 19:43:36.000000000 +0100
++++ binutils/readelf.c 2006-05-09 02:55:36.000000000 +0100
+@@ -2043,6 +2043,7 @@
+ case E_MIPS_MACH_5500: strcat (buf, ", 5500"); break;
+ case E_MIPS_MACH_SB1: strcat (buf, ", sb1"); break;
+ case E_MIPS_MACH_9000: strcat (buf, ", 9000"); break;
++ case E_MIPS_MACH_ALLEGREX: strcat (buf, ", allegrex"); break;
+ case 0:
+ /* We simply ignore the field in this case to avoid confusion:
+ MIPS ELF does not specify EF_MIPS_MACH, it is a GNU