| OLD | NEW |
| 1 Name: gold | 1 Name: gold |
| 2 URL: http://www.gnu.org/software/binutils/ | 2 URL: http://www.gnu.org/software/binutils/ |
| 3 Version: 2.23.1 | 3 Version: 2.23.2 |
| 4 License: GPL v2 | 4 License: GPL v2 |
| 5 Security Critical: no | 5 Security Critical: no |
| 6 | 6 |
| 7 Description: | 7 Description: |
| 8 This directory contains i386 and amd64 binaries of the gold linker from GNU | 8 This directory contains i386 and amd64 binaries of the gold linker from GNU |
| 9 binutils. They were built from binutils-2.23.1 on Ubuntu Lucid as follows: | 9 binutils. They were built from binutils-2.23.1 on Ubuntu Lucid as follows: |
| 10 | 10 |
| 11 1) Fetch tarball: http://ftp.gnu.org/gnu/binutils/binutils-2.23.1.tar.bz2 | 11 1) Fetch tarball: http://ftp.gnu.org/gnu/binutils/binutils-2.23.1.tar.bz2 |
| 12 2) Unpack, then | 12 2) Unpack, then |
| 13 ./configure --enable-gold=default --enable-threads | 13 ./configure --enable-gold=default --enable-threads |
| 14 3) make maybe-all-gold && strip gold/ld-new | 14 3) make maybe-all-gold && strip gold/ld-new |
| 15 4) mv gold/ld-new path/to/this/dir/gold64 (or gold32) | 15 4) mv gold/ld-new path/to/this/dir/gold64 (or gold32) |
| 16 | 16 |
| 17 To build on a non-Lucid (e.g. Precise) machine, or to build the 32-bit binary | 17 To build on a non-Lucid (e.g. Precise) machine, or to build the 32-bit binary |
| 18 on a 64-bit machine, a chroot can be used by running the following commands as | 18 on a 64-bit machine, a chroot can be used by running the following commands as |
| 19 root (swap i386 for amd64 as needed): | 19 root (swap i386 for amd64 as needed): |
| 20 | 20 |
| 21 debootstrap --arch=i386 --include=build-essential,flex,bison \ | 21 debootstrap --arch=i386 --include=build-essential,flex,bison \ |
| 22 lucid i386-lucid | 22 lucid i386-lucid |
| 23 chroot i386-lucid | 23 chroot i386-lucid |
| 24 | 24 |
| 25 Then follow steps 1-4 above. | 25 Then follow steps 1-4 above. |
| 26 | 26 |
| 27 (ld.bfd is a forwarding script that is in place because the NaCl build | 27 (ld.bfd is a forwarding script that is in place because the NaCl build |
| 28 depends on there being a script with that name in the same directory as | 28 depends on there being a script with that name in the same directory as |
| 29 ld.) | 29 ld.) |
| 30 |
| 31 Local patches: |
| 32 |
| 33 ehframe.patch for http://crbug.com/161942 |
| OLD | NEW |