From 6a02fb702da202f08d3b602c7877c4d57cd97f44 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Tue, 22 Aug 2006 18:38:57 +0000 Subject: Cell supports POWER4 instructions svn path=/; revision=54 --- sys-devel/binutils/Manifest | 12 ++++++++---- sys-devel/binutils/binutils-2.17-r2.ebuild | 4 +++- sys-devel/binutils/files/binutils-2.17-cell-power4.patch | 16 ++++++++++++++++ sys-devel/binutils/files/digest-binutils-2.17-r2 | 9 +++++++++ 4 files changed, 36 insertions(+), 5 deletions(-) create mode 100644 sys-devel/binutils/files/binutils-2.17-cell-power4.patch create mode 100644 sys-devel/binutils/files/digest-binutils-2.17-r2 diff --git a/sys-devel/binutils/Manifest b/sys-devel/binutils/Manifest index 8785ba6..fb9ba90 100644 --- a/sys-devel/binutils/Manifest +++ b/sys-devel/binutils/Manifest @@ -1,3 +1,7 @@ +AUX binutils-2.17-cell-power4.patch 885 RMD160 575e32886ba92c43bf11395bbde16a0055828a46 SHA1 4d44214603d6f4b7222de3ac4ea07a22efc13e1b SHA256 2fe24d26aa7b6439db7879f1bb290c73398faa7eeff6aa93d75bf20e90a4fa53 +MD5 c53dd9f5d7f5341092f1ba4b81da1096 files/binutils-2.17-cell-power4.patch 885 +RMD160 575e32886ba92c43bf11395bbde16a0055828a46 files/binutils-2.17-cell-power4.patch 885 +SHA256 2fe24d26aa7b6439db7879f1bb290c73398faa7eeff6aa93d75bf20e90a4fa53 files/binutils-2.17-cell-power4.patch 885 AUX binutils-2.17-cell.patch 173088 RMD160 2453e63d537eb51ff82b6ba1e1d2e27882781d9f SHA1 3910740b0fe612c2f7de0354fd03ad34220c8d4f SHA256 773e6cfe3a9e1bf17f081163fae2a9bdf9dd7c3ab3710e625a9274ebeb0369d9 MD5 5b246dd6fb5927465c93d31ab409eb9d files/binutils-2.17-cell.patch 173088 RMD160 2453e63d537eb51ff82b6ba1e1d2e27882781d9f files/binutils-2.17-cell.patch 173088 @@ -5,10 +9,10 @@ SHA256 773e6cfe3a9e1bf17f081163fae2a9bdf9dd7c3ab3710e625a9274ebeb0369d9 files/bi DIST binutils-2.17-patches-1.0.tar.bz2 8785 RMD160 326fcf5a278a7aa9027d16ec90b0fefa32c3e3b2 SHA1 71f8208a0947e9f296136857614ad98bee79720d SHA256 8d371229695e2c0d4045cffb15de1c43a9912245516029c59b2a606184711f11 DIST binutils-2.17-uclibc-patches-1.0.tar.bz2 1569 RMD160 b48156b39bb84b1955ac66e8d0473e50e7780ea9 SHA1 05586b61395460e8479dda7a985f164572a44cc3 SHA256 9d63c8d2450f0ac8e164cf30c2e96b4fd9fe95356a9426526545445169c810c6 DIST binutils-2.17.tar.bz2 13795751 RMD160 3995d7ed97f115e76ce55b4c1f5256d53559c84f SHA1 a557686eef68362ea31a3aa41ce274e3eeae1ef0 SHA256 e2c33ce6f23c9a366f109ced295626cb2f8bd6b2f08ff9df6dafb5448505a25e -EBUILD binutils-2.17-r2.ebuild 634 RMD160 e26e12dfe90c4f10ed1467388c4ba7595850e5ba SHA1 e6a66f3b4cd3f3726ba3021046b2dc1ea9668fda SHA256 cefb5a97e71a20789b5cb289212e5cb896561aa57de6a0603eb09ea995ccb017 -MD5 207a9e1b327aa619f084644cce3d8c3d binutils-2.17-r2.ebuild 634 -RMD160 e26e12dfe90c4f10ed1467388c4ba7595850e5ba binutils-2.17-r2.ebuild 634 -SHA256 cefb5a97e71a20789b5cb289212e5cb896561aa57de6a0603eb09ea995ccb017 binutils-2.17-r2.ebuild 634 +EBUILD binutils-2.17-r2.ebuild 720 RMD160 10b493e9b12c9a96509578fe698eccd8339953b5 SHA1 37436c221921315f2f5dabf101b0795a5a86c3a3 SHA256 28ce78ce08a25381459534dcd4a65e46a6122b1e52717044180a9893f58bd77e +MD5 f3ec05442186558374745ed875a20c4a binutils-2.17-r2.ebuild 720 +RMD160 10b493e9b12c9a96509578fe698eccd8339953b5 binutils-2.17-r2.ebuild 720 +SHA256 28ce78ce08a25381459534dcd4a65e46a6122b1e52717044180a9893f58bd77e binutils-2.17-r2.ebuild 720 MD5 2e0e5585fe4c9d72757a716f4444f05a files/digest-binutils-2.17-r2 819 RMD160 f41271faede7f99bf83dd8d5b756dfd2e6803837 files/digest-binutils-2.17-r2 819 SHA256 2b8bbb39108c574f8005f86baedd271db495382db1d9ce61e63a0ad3a059c840 files/digest-binutils-2.17-r2 819 diff --git a/sys-devel/binutils/binutils-2.17-r2.ebuild b/sys-devel/binutils/binutils-2.17-r2.ebuild index ec21de5..6364d93 100644 --- a/sys-devel/binutils/binutils-2.17-r2.ebuild +++ b/sys-devel/binutils/binutils-2.17-r2.ebuild @@ -13,7 +13,9 @@ KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" src_unpack() { mkdir ${WORKDIR}/patch cp ${FILESDIR}/${P}-cell.patch \ - ${WORKDIR}/patch/99_all_cbe_arch_update.patch + ${WORKDIR}/patch/98_all_cbe_arch_update.patch + cp ${FILESDIR}/${P}-cell-power4.patch \ + ${WORKDIR}/patch/99_all_cbe_arch_fixup.patch toolchain-binutils_src_unpack cd ${S} for dir in bfd gas ld opcodes diff --git a/sys-devel/binutils/files/binutils-2.17-cell-power4.patch b/sys-devel/binutils/files/binutils-2.17-cell-power4.patch new file mode 100644 index 0000000..4f9d87e --- /dev/null +++ b/sys-devel/binutils/files/binutils-2.17-cell-power4.patch @@ -0,0 +1,16 @@ +diff -ruN binutils-2.17.orig/gas/config/tc-ppc.c binutils-2.17/gas/config/tc-ppc.c +--- binutils-2.17.orig/gas/config/tc-ppc.c 2006-08-22 12:51:11.000000000 -0500 ++++ binutils-2.17/gas/config/tc-ppc.c 2006-08-22 13:04:18.000000000 -0500 +@@ -921,10 +921,10 @@ + /* -mdd1.0, -mdd2.0 and -mdd3.0 are here for completeness. */ + else if (strcmp (arg, "cellppu") == 0 || strcmp (arg, "ppu") == 0 + || strcmp (arg, "dd1.0") == 0 || strcmp (arg, "dd2.0") == 0 +- || strcmp (arg, "dd3.0") == 0 ) ++ || strcmp (arg, "dd3.0") == 0 || strcmp (arg, "cell") == 0 ) + { + ppc_cpu = PPC_OPCODE_PPC | PPC_OPCODE_64 | PPC_OPCODE_CELLPPU +- | PPC_OPCODE_ALTIVEC; ++ | PPC_OPCODE_POWER4 | PPC_OPCODE_ALTIVEC; + } + /* -mcom means assemble for the common intersection between Power + and PowerPC. At present, we just allow the union, rather diff --git a/sys-devel/binutils/files/digest-binutils-2.17-r2 b/sys-devel/binutils/files/digest-binutils-2.17-r2 new file mode 100644 index 0000000..ca2db64 --- /dev/null +++ b/sys-devel/binutils/files/digest-binutils-2.17-r2 @@ -0,0 +1,9 @@ +MD5 d4dad607ead1f2ee9834f267c145733f binutils-2.17-patches-1.0.tar.bz2 8785 +RMD160 326fcf5a278a7aa9027d16ec90b0fefa32c3e3b2 binutils-2.17-patches-1.0.tar.bz2 8785 +SHA256 8d371229695e2c0d4045cffb15de1c43a9912245516029c59b2a606184711f11 binutils-2.17-patches-1.0.tar.bz2 8785 +MD5 7454b5531542f8018f9d959eb3d8a233 binutils-2.17-uclibc-patches-1.0.tar.bz2 1569 +RMD160 b48156b39bb84b1955ac66e8d0473e50e7780ea9 binutils-2.17-uclibc-patches-1.0.tar.bz2 1569 +SHA256 9d63c8d2450f0ac8e164cf30c2e96b4fd9fe95356a9426526545445169c810c6 binutils-2.17-uclibc-patches-1.0.tar.bz2 1569 +MD5 e26e2e06b6e4bf3acf1dc8688a94c0d1 binutils-2.17.tar.bz2 13795751 +RMD160 3995d7ed97f115e76ce55b4c1f5256d53559c84f binutils-2.17.tar.bz2 13795751 +SHA256 e2c33ce6f23c9a366f109ced295626cb2f8bd6b2f08ff9df6dafb5448505a25e binutils-2.17.tar.bz2 13795751 -- cgit v1.2.3-65-gdbad