From 8cbd3957fb9309b77590faad70c31ada2caee71f Mon Sep 17 00:00:00 2001 From: Marcelo Araujo Date: Fri, 21 Aug 2009 00:54:33 +0000 Subject: 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 --- devel/psptoolchain-binutils/files/patch-binutils-readelf.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 devel/psptoolchain-binutils/files/patch-binutils-readelf.c (limited to 'devel/psptoolchain-binutils/files/patch-binutils-readelf.c') 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 -- cgit v1.2.3