Binutils Patches
Note that if you download one of the patches below, you have to follow a quite complicated procedure in order to regenerate all the Makefiles, configure scripts and headers after applying the patch. If you download the pre-patched source, this has already been done for you.
Anyway, this procedure should get the tree prepared for building:
- Run autoconf in the top-level directory
- Run aclocal-1.9, autoconf, automake-1.9 and autoheader in the bfd/, opcodes/, binutils/ and ld/ subdirectories
- Run ./configure with your favorite options. You probably need to include at least --target=avr32-linux
- Run make configure-bfd
- Enter the bfd/ subdirectory and run make headers
Now, you should be able to do the usual make and make install to build and install the toolchain.
The reason why these changes aren't included with the patch is that it would have increased its size by several megabytes, and the actual AVR32 changes would have been lost in the noise.
Remember to fetch the latest config.sub and config.guess from http://git.savannah.gnu.org/gitweb/?p=config.git;a=tree before configuring.
Version 2.17
2.17.atmel.1.2.6
Bump in version and quite a few fixes. Note that both the patch and the tarball comes with everything pre-generated, so you don't need to follow the procedure described above. You still have to run configure, make and make install of course.
Version 2.16.1
2.16.1.atmel.0.99.2
This patchset fixes a few bugs, including one that prevents compilation of libstdc++ on a few platforms, and contains support for the PiCo? instruction set.
Update: New tarball uploaded where the bfd headers have actually been generated.
Hotfixes
2006-06-30 Patchset
This is the same patchset as the one distributed with STK1000 BSP 1.0, except that it has additional support for --gc-sections.
The pre-patched source tarball is probably what you should use, as you need to regenerate quite a few things manually after applying the patch.
Note: This version is broken on 64-bit hosts. Please use the 2.16.1.atmel.0.99.2 patch above with the 64-bit hotfix.
Experimental patches