{"id":21,"date":"2006-07-20T03:51:12","date_gmt":"2006-07-20T03:51:12","guid":{"rendered":""},"modified":"2006-07-20T03:51:12","modified_gmt":"2006-07-20T03:51:12","slug":"cell_toolchain_part_i_act_i_binutils","status":"publish","type":"post","link":"https:\/\/blogs.gentoo.org\/lu_zero\/2006\/07\/20\/cell_toolchain_part_i_act_i_binutils\/","title":{"rendered":"Cell Toolchain &#8211; part I &#8211; act I &#8211; binutils"},"content":{"rendered":"<p>Today\/This night I started ripping some clean patches out of the Cell toolchain-3.2 sources.<br \/>\nAs I said in the previous rant, the whole toolchain is provided as a singular huge and messy tarball, no patches provided&#8230;<\/p>\n<p>The first target is binutils since should be simpler. You may find in my devspace the first raw diff (about 1.2MB) against binutils-2.16.1 and the, 2hours of work, clean diff against binutils-2.17.<\/p>\n<p>probably there is something else to retouch (I removed an ugly #undef TARGET_CPU #define TARGET_CPU &#8220;cellppu&#8221; and I hadn&#8217;t check yet the configure to see what is missing there)<\/p>\n<p>but overall isn&#8217;t bad:<\/p>\n<p>Before<\/p>\n<p> bfd\/Makefile.am                     |    9<br \/>\n bfd\/archures.c                      |    5<br \/>\n bfd\/bfd-in2.h                       |   20<br \/>\n bfd\/coffcode.h                      |    7<br \/>\n bfd\/config.bfd                      |   18<br \/>\n bfd\/configure                       |    1<br \/>\n bfd\/configure.in                    |    1<br \/>\n bfd\/cpu-powerpc.c                   |   30<br \/>\n bfd\/cpu-spu.c                       |   63<br \/>\n bfd\/doc\/bfd.info                    |  131<br \/>\n bfd\/doc\/bfd.info-1                  | 5921 ++++++++++++&#8212;&#8212;<br \/>\n bfd\/doc\/chew.c                      |    6<br \/>\n bfd\/elf.c                           |  172<br \/>\n bfd\/elf32-spu.c                     | 1015 +++<br \/>\n bfd\/elf64-ppc.c                     |    5<br \/>\n bfd\/elflink.c                       |    7<br \/>\n bfd\/opncls.c                        |   15<br \/>\n bfd\/reloc.c                         |   27<br \/>\n bfd\/targets.c                       |    2<br \/>\n binutils\/ar.c                       |    9<br \/>\n binutils\/doc\/objcopy.1              |    9<br \/>\n binutils\/objcopy.c                  |   74<br \/>\n binutils\/readelf.c                  |    7<br \/>\n config.sub                          |   23<br \/>\n gas\/Makefile.am                     |   16<br \/>\n gas\/as.c                            |    9<br \/>\n gas\/config\/obj-coff.c               |  243<br \/>\n gas\/config\/tc-ppc.c                 |   33<br \/>\n gas\/config\/tc-spu.c                 | 1006 +++<br \/>\n gas\/config\/tc-spu.h                 |  107<br \/>\n gas\/configure.tgt                   |    5<br \/>\n gas\/doc\/as.info-1                   |11236 ++++++++++++++++++++++++++++++++&#8212;- gas\/doc\/c-hppa.texi                 |   45<br \/>\n gas\/testsuite\/gas\/sh\/sh64\/err-dsp.s |    2<br \/>\n gprof\/gprof.info                    | 2326 &#8212;&#8212;-<br \/>\n include\/bfdlink.h                   |    6<br \/>\n include\/dis-asm.h                   |    1<br \/>\n include\/elf\/common.h                |    1<br \/>\n include\/elf\/spu.h                   |   87<br \/>\n include\/libiberty.h                 |    3<br \/>\n include\/opcode\/ppc.h                |    3<br \/>\n include\/opcode\/spu-insns.h          |  412 +<br \/>\n include\/opcode\/spu.h                |  128<br \/>\n ld\/Makefile.am                      |    8<br \/>\n ld\/configure.tgt                    |    7<br \/>\n ld\/deffile.h                        |    6<br \/>\n ld\/emulparams\/elf32_spu.sh          |   14<br \/>\n ld\/emulparams\/elf64_lv2.sh          |   51<br \/>\n ld\/emulparams\/elf64ppc.sh           |    6<br \/>\n ld\/emultempl\/elf32.em               |    7<br \/>\n ld\/ld.texinfo                       |    8<br \/>\n ld\/ldgram.y                         |    5<br \/>\n ld\/ldmain.c                         |   15<br \/>\n ld\/lexsup.c                         |   15<br \/>\n ld\/pe-dll.c                         |   83<br \/>\n ld\/scripttempl\/elf.sc               |    1<br \/>\n ld\/scripttempl\/pe.sc                |   18<br \/>\n ld\/testsuite\/ld-scripts\/assert.s    |    1<br \/>\n ld\/testsuite\/ld-scripts\/data.s      |    1<br \/>\n libiberty\/argv.c                    |  148<br \/>\n libiberty\/config.table              |    1<br \/>\n opcodes\/Makefile.am                 |   10<br \/>\n opcodes\/configure                   |    1<br \/>\n opcodes\/configure.in                |    1<br \/>\n opcodes\/disassemble.c               |    6<br \/>\n opcodes\/ppc-dis.c                   |   22<br \/>\n opcodes\/ppc-opc.c                   |   40<br \/>\n opcodes\/spu-dis.c                   |  258<br \/>\n opcodes\/spu-opc.c                   |   47<br \/>\n 69 files changed, 18130 insertions(+), 5896 deletions(-)<\/p>\n<p>2 hours after<\/p>\n<p> bfd\/Makefile.am                     |    9<br \/>\n bfd\/archures.c                      |    5<br \/>\n bfd\/bfd-in2.h                       |   20<br \/>\n bfd\/config.bfd                      |   18<br \/>\n bfd\/configure.in                    |    1<br \/>\n bfd\/cpu-powerpc.c                   |   30 +<br \/>\n bfd\/cpu-spu.c                       |   63 ++<br \/>\n bfd\/elf.c                           |  172 ++++++<br \/>\n bfd\/elf32-spu.c                     | 1015 ++++++++++++++++++++++++++++++++++++ bfd\/elf64-ppc.c                     |    5<br \/>\n bfd\/opncls.c                        |   15<br \/>\n bfd\/reloc.c                         |   27<br \/>\n bfd\/targets.c                       |    2<br \/>\n binutils\/doc\/objcopy.1              |    9<br \/>\n binutils\/objcopy.c                  |   74 ++<br \/>\n binutils\/readelf.c                  |    7<br \/>\n gas\/Makefile.am                     |   16<br \/>\n gas\/config\/tc-ppc.c                 |   23<br \/>\n gas\/config\/tc-spu.c                 | 1006 +++++++++++++++++++++++++++++++++++<br \/>\n gas\/config\/tc-spu.h                 |  107 +++<br \/>\n gas\/configure.tgt                   |    5<br \/>\n gas\/testsuite\/gas\/sh\/sh64\/err-dsp.s |    2<br \/>\n include\/bfdlink.h                   |    6<br \/>\n include\/dis-asm.h                   |    1<br \/>\n include\/elf\/common.h                |    1<br \/>\n include\/elf\/spu.h                   |   87 +++<br \/>\n include\/opcode\/ppc.h                |    3<br \/>\n include\/opcode\/spu-insns.h          |  412 ++++++++++++++<br \/>\n include\/opcode\/spu.h                |  128 ++++<br \/>\n ld\/Makefile.am                      |    8<br \/>\n ld\/configure.tgt                    |    8<br \/>\n ld\/emulparams\/elf32_spu.sh          |   14<br \/>\n ld\/emulparams\/elf64_lv2.sh          |   51 +<br \/>\n ld\/emulparams\/elf64ppc.sh           |    6<br \/>\n ld\/emultempl\/elf32.em               |    7<br \/>\n ld\/ld.texinfo                       |    8<br \/>\n ld\/ldgram.y                         |    5<br \/>\n ld\/ldmain.c                         |   15<br \/>\n ld\/lexsup.c                         |   15<br \/>\n ld\/scripttempl\/elf.sc               |    1<br \/>\n ld\/scripttempl\/pe.sc                |   18<br \/>\n opcodes\/Makefile.am                 |   10<br \/>\n opcodes\/configure                   |    1<br \/>\n opcodes\/configure.in                |    1<br \/>\n opcodes\/disassemble.c               |    6<br \/>\n opcodes\/ppc-dis.c                   |   22<br \/>\n opcodes\/ppc-opc.c                   |   40 +<br \/>\n opcodes\/spu-dis.c                   |  258 +++++++++<br \/>\n opcodes\/spu-opc.c                   |   47 +<br \/>\n 49 files changed, 3782 insertions(+), 28 deletions(-)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today\/This night I started ripping some clean patches out of the Cell toolchain-3.2 sources. As I said in the previous rant, the whole toolchain is provided as a singular huge and messy tarball, no patches provided&#8230; The first target is binutils since should be simpler. You may find in my devspace the first raw diff &hellip; <a href=\"https:\/\/blogs.gentoo.org\/lu_zero\/2006\/07\/20\/cell_toolchain_part_i_act_i_binutils\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Cell Toolchain &#8211; part I &#8211; act I &#8211; binutils<\/span><\/a><\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[3],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p1aGWH-l","_links":{"self":[{"href":"https:\/\/blogs.gentoo.org\/lu_zero\/wp-json\/wp\/v2\/posts\/21"}],"collection":[{"href":"https:\/\/blogs.gentoo.org\/lu_zero\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.gentoo.org\/lu_zero\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/lu_zero\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/lu_zero\/wp-json\/wp\/v2\/comments?post=21"}],"version-history":[{"count":0,"href":"https:\/\/blogs.gentoo.org\/lu_zero\/wp-json\/wp\/v2\/posts\/21\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.gentoo.org\/lu_zero\/wp-json\/wp\/v2\/media?parent=21"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/lu_zero\/wp-json\/wp\/v2\/categories?post=21"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/lu_zero\/wp-json\/wp\/v2\/tags?post=21"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}