...your main source of everything AVR32 Linux

Navigation

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:

  1. Run autoconf in the top-level directory
  2. Run aclocal-1.9, autoconf, automake-1.9 and autoheader in the bfd/, opcodes/, binutils/ and ld/ subdirectories
  3. Run ./configure with your favorite options. You probably need to include at least --target=avr32-linux
  4. Run make configure-bfd
  5. 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

r12 - 02 Apr 2008 - 12:47 - HansChristianEgtvedt
  Attachment Action Size Date Who Comment
else binutils-2.16.1-atmel.0.99.2.patch.bz2 props, move 398.0 K 03 Dec 2006 - 18:34 HaavardSkinnemoen Combined binutils patch with AVR32 support
else binutils-2.17.atmel.1.2.6.tar.bz2 props, move 13574.0 K 26 Mar 2008 - 11:42 HansChristianEgtvedt Binutils source with AVR32 patch applied
else binutils-2.16.1-atmel.0.99.2.tar.bz2 props, move 12873.1 K 20 Jan 2007 - 21:46 HaavardSkinnemoen Binutils source with AVR32 patch applied
else binutils-2.16.1-avr32-20060630.tar.bz2 props, move 12391.3 K 06 Jul 2006 - 11:26 HaavardSkinnemoen Binutils source with AVR32 patch applied
else binutils-2.16.1-avr32-20060630.patch props, move 745.6 K 06 Jul 2006 - 11:08 HaavardSkinnemoen Combined binutils patch with AVR32 support
else binutils-implement-pico-instructions.patch props, move 40.1 K 25 Oct 2006 - 09:46 HaavardSkinnemoen PiCo instruction support for libopcodes and gas
else binutils-fix-pico-in-out-regs.patch props, move 15.7 K 15 Dec 2006 - 10:34 HaavardSkinnemoen Fix handling of INx and OUTx PiCo registers
else binutils-2.17.atmel.1.2.6.patch.bz2 props, move 180.6 K 26 Mar 2008 - 11:42 HansChristianEgtvedt Combined binutils patch with AVR32 support
else bfd-fix-DIFF32-64-bit-sign-extension-bug.patch props, move 1.0 K 20 Jan 2007 - 22:58 HaavardSkinnemoen Fix another sign-extension bug on 64-bit hosts
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.
Atmel®, AVR® and others are registered trademarks or trademarks of Atmel Corporation or its subsidiaries.
All other trademarks are the property of their respective owners.
Powered by Wed, 08 Feb 2006 build 8740
Syndicate this site