Welcome to AVR32 Linux... Users Groups

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, the procedures below should get the tree prepared for building.

Binutils v2.18 and up

  1. Run autoconf in the top-level directory
  2. Run autoreconf in the bfd/, gas/, 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 all-bfd TARGET-bfd=headers
  5. Run rm bfd/Makefile to force a reconfiguration.

Binutils v2.17 and earlier

  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

Common for all versions

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 if you get in trouble with unsupported architecture from the configure script.

Version 2.18

2.18.atmel.1.0.1

2.18.atmel.1.0.0

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.

*essay help 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

  File Size Date By Actions
else bfd-fix-DIFF32-64-bit-sign-extension-bug.patch
Fix another sign-extension bug on 64-bit hosts
1.0 K 2007-01-20 - 22:58 HaavardSkinnemoen props, move
else binutils-2.16.1-atmel.0.99.2.patch.bz2
Combined binutils patch with AVR32 support
398.0 K 2006-12-03 - 18:34 HaavardSkinnemoen props, move
else binutils-2.16.1-atmel.0.99.2.tar.bz2
Binutils source with AVR32 patch applied
12873.1 K 2007-01-20 - 21:46 HaavardSkinnemoen props, move
else binutils-2.16.1-avr32-20060630.patch
Combined binutils patch with AVR32 support
745.6 K 2006-07-06 - 11:08 HaavardSkinnemoen props, move
else binutils-2.16.1-avr32-20060630.tar.bz2
Binutils source with AVR32 patch applied
12391.3 K 2006-07-06 - 11:26 HaavardSkinnemoen props, move
else binutils-2.17.atmel.1.2.6.patch.bz2
Combined binutils patch with AVR32 support
180.6 K 2008-03-26 - 11:42 HansChristianEgtvedt props, move
else binutils-2.17.atmel.1.2.6.tar.bz2
Binutils source with AVR32 patch applied
13574.0 K 2008-03-26 - 11:42 HansChristianEgtvedt props, move
else binutils-2.18.atmel.1.0.0.patch.bz2
AVR32 patch v1.0.0 against Binutils 2.18
245.6 K 2008-11-25 - 14:41 HansChristianEgtvedt props, move
else binutils-2.18.atmel.1.0.0.tar.bz2
Binutils 2.18 source with AVR32 patch v1.0.0 applied
14800.2 K 2008-11-25 - 14:42 HansChristianEgtvedt props, move
else binutils-2.18.atmel.1.0.1.patch.bz2
Binutils 2.18 source with AVR32 patch v1.0.1 applied
246.8 K 2008-12-02 - 14:23 HansChristianEgtvedt props, move
else binutils-2.18.atmel.1.0.1.tar.bz2
Binutils 2.18 source with AVR32 patch v1.0.1 applied
14804.6 K 2008-12-02 - 14:23 HansChristianEgtvedt props, move
else binutils-fix-pico-in-out-regs.patch
Fix handling of INx and OUTx PiCo registers
15.7 K 2006-12-15 - 10:34 HaavardSkinnemoen props, move
else binutils-implement-pico-instructions.patch
PiCo instruction support for libopcodes and gas
40.1 K 2006-10-25 - 09:46 HaavardSkinnemoen props, move
r21 - 2011-08-27 - 21:00:41 - BobbyJones
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.
Syndicate this site RSSATOM