summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-devel/binutils/files/binutils-2.17-cell.patch52
1 files changed, 2 insertions, 50 deletions
diff --git a/sys-devel/binutils/files/binutils-2.17-cell.patch b/sys-devel/binutils/files/binutils-2.17-cell.patch
index cb241eb..3538b36 100644
--- a/sys-devel/binutils/files/binutils-2.17-cell.patch
+++ b/sys-devel/binutils/files/binutils-2.17-cell.patch
@@ -55,11 +55,12 @@ diff --exclude '*.po' --exclude Makefile.in -ruN binutils-2.16.1/bfd/Makefile.am
diff --exclude '*.po' --exclude Makefile.in -ruN binutils-2.16.1/bfd/archures.c binutils/bfd/archures.c
--- binutils-2.16.1/bfd/archures.c 2005-01-17 15:08:03.000000000 +0100
+++ binutils/bfd/archures.c 2006-03-30 01:23:21.000000000 +0200
-@@ -204,11 +204,14 @@
+@@ -204,11 +204,15 @@
.#define bfd_mach_ppc_rs64iii 643
.#define bfd_mach_ppc_7400 7400
.#define bfd_mach_ppc_e500 500
+.#define bfd_mach_cell_ppu 501
++.#define bfd_mach_cell_ppu_mambo 502
. bfd_arch_rs6000, {* IBM RS/6000 *}
.#define bfd_mach_rs6k 6000
.#define bfd_mach_rs6k_rs1 6001
@@ -86,55 +87,6 @@ diff --exclude '*.po' --exclude Makefile.in -ruN binutils-2.16.1/bfd/archures.c
&bfd_tic30_arch,
&bfd_tic4x_arch,
&bfd_tic54x_arch,
-diff --exclude '*.po' --exclude Makefile.in -ruN binutils-2.16.1/bfd/bfd-in2.h binutils/bfd/bfd-in2.h
---- binutils-2.16.1/bfd/bfd-in2.h 2005-03-02 22:23:20.000000000 +0100
-+++ binutils/bfd/bfd-in2.h 2006-03-30 01:23:21.000000000 +0200
-@@ -921,6 +921,8 @@
- bfd_boolean bfd_fill_in_gnu_debuglink_section
- (bfd *abfd, struct bfd_section *sect, const char *filename);
-
-+void bfd_set_direction(bfd *abfd, int fdflags);
-+
- /* Extracted from libbfd.c. */
-
- /* Byte swapping macros for user section data. */
-@@ -1649,11 +1651,15 @@
- #define bfd_mach_ppc_rs64iii 643
- #define bfd_mach_ppc_7400 7400
- #define bfd_mach_ppc_e500 500
-+#define bfd_mach_cell_ppu 501
-+#define bfd_mach_cell_ppu_mambo 502
- bfd_arch_rs6000, /* IBM RS/6000 */
- #define bfd_mach_rs6k 6000
- #define bfd_mach_rs6k_rs1 6001
- #define bfd_mach_rs6k_rsc 6003
- #define bfd_mach_rs6k_rs2 6002
-+ bfd_arch_spu, /* PowerPC SPU */
-+#define bfd_mach_spu 256
- bfd_arch_hppa, /* HP PA RISC */
- #define bfd_mach_hppa10 10
- #define bfd_mach_hppa11 11
-@@ -3638,6 +3644,20 @@
- BFD_RELOC_860_HIGOT,
- BFD_RELOC_860_HIGOTOFF,
-
-+/* SPU Relocations. */
-+ BFD_RELOC_SPU_IMM7,
-+ BFD_RELOC_SPU_IMM8,
-+ BFD_RELOC_SPU_IMM10,
-+ BFD_RELOC_SPU_IMM10W,
-+ BFD_RELOC_SPU_IMM16,
-+ BFD_RELOC_SPU_IMM16W,
-+ BFD_RELOC_SPU_IMM18,
-+ BFD_RELOC_SPU_PCREL9a,
-+ BFD_RELOC_SPU_PCREL9b,
-+ BFD_RELOC_SPU_PCREL16,
-+ BFD_RELOC_SPU_LO16,
-+ BFD_RELOC_SPU_HI16,
-+
- /* OpenRISC Relocations. */
- BFD_RELOC_OPENRISC_ABS_26,
- BFD_RELOC_OPENRISC_REL_26,
diff --exclude '*.po' --exclude Makefile.in -ruN binutils-2.16.1/bfd/config.bfd binutils/bfd/config.bfd
--- binutils-2.16.1/bfd/config.bfd 2005-01-31 18:18:47.000000000 +0100
+++ binutils/bfd/config.bfd 2006-03-30 01:23:21.000000000 +0200