Commit graph

31 commits

Author SHA1 Message Date
Joerg Wunsch
050b43f85a Reorganize the avr-binutils port to use the central binutils one
(as the various arm*binutils ports are doing, too).

Add a patch to recognize the "avrtiny" architecture MCUs (ATtiny10
et al.), extracted from the Atmel AVR Toolchain 3.4.5 (they still
didn't push it upstream, alas).
2014-12-02 19:50:00 +00:00
Joerg Wunsch
2367a20fe5 Upgrade to version 2.24.
Add staging support.

Submitted by:	pi
2014-07-02 08:16:28 +00:00
Joerg Wunsch
1511acc65d Fix the plist for this port.
Reminded by:  pav
2011-12-20 10:20:10 +00:00
Joerg Wunsch
148819d89b Upgrade to binutils 2.20.1.
Completely reorganize the patches for this port.

Patches for new devices are now synchronized with the Atmel AVR tools.
The main difference is the naming scheme, as FreeBSD patches start
with "patch-", while the Atmel AVR Tools patches end up in ".patch".
2011-12-16 22:39:21 +00:00
Joerg Wunsch
82b1865c5b This one has to go away.
Feature safe: yes
2010-03-04 13:45:07 +00:00
Joerg Wunsch
0c3e719d75 Upgrade to GNU binutils 2.20, including patches from WinAVR 20100110.
Feature safe: yes
2010-03-04 13:38:30 +00:00
Joerg Wunsch
773e96dadd Upgrade to GNU binutils 2.19.1.
Integrate another bugfix that affects avr25-architecture MCU types
(ATtiny84, for example).
2009-08-12 19:26:31 +00:00
Joerg Wunsch
3bf397da57 Upgrade to GNU binutils 2.19 (finally). 2009-06-11 20:39:39 +00:00
Joerg Wunsch
e5ba1e5e89 Incorporate the ATxmega patch from WinAVR.
Silense an assembler warning that triggered too frequently on
legitimate code (binutils bug 5523).

Make $DATA_ORIGIN a configurable value within the linker script
templates.
2008-07-28 21:20:09 +00:00
Joerg Wunsch
ba6acc8112 Add support for ATtiny88, ATmega32HVB, ATmega1284P.
Fix support for AT90USB82/162, move them into "avr35" architecture.
Add basic support for fuse and lock bit sections in ELF file.
2007-12-20 06:41:48 +00:00
Joerg Wunsch
f43e9d0fe9 Update to binutils-2.18. 2007-10-27 21:21:50 +00:00
Joerg Wunsch
16aee5cd10 Add device support for ATmega8HVA/ATmega16HVA.
Change AT90USB82 from avr5 to avr5.
2007-06-23 21:30:40 +00:00
Joerg Wunsch
663cb32ca1 Add AT90PWM1, AT90USB82/162, and ATmega32[59]0?p devices. 2007-04-07 05:34:57 +00:00
Joerg Wunsch
3d183e1bc1 Fix a compiler warning in the AVR-COFF generator that appeared with
GCC 4.x, and caused the compilation to fail due to the -Werror option
used.

Remove an annoying assembler warning in the ATmega256x patch that was
frequently triggered by large C switch() statements in GCC, and
generally considered to be a regression.  The author of that patch
agreed that the warning isn't particularly useful anyway for a number
of reasons, and recommended to just drop it.
2007-01-04 16:12:12 +00:00
Joerg Wunsch
643851232a Upgrade to binutils 2.17, and add the ATmega256x patch from Björn
Haase.
2006-09-26 05:02:38 +00:00
Joerg Wunsch
f7dfe1d53a Rename ATmega164/324 to ATmega164P/324P, add support for ATmega644P,
ATmega165P, and ATmega169P.
2006-04-19 10:48:48 +00:00
Joerg Wunsch
de92f3a3f8 Umpf, fix the fix. :-( We want to support the AT90USB646 (and 647),
not the AT90USB468.
2006-03-20 21:56:30 +00:00
Joerg Wunsch
b4901aa83b Forgot to commit the patch for AT90USB647. 2006-03-20 21:10:49 +00:00
Joerg Wunsch
e42af1347c Add support for the ATmega406 and AT90USB646/647/1286/1287 devices. 2006-03-19 22:35:34 +00:00
Joerg Wunsch
aed756d9c9 Add support for ATtiny261/461/861. 2006-01-04 23:17:26 +00:00
Joerg Wunsch
0a9bccd2c8 Add support for ATtiny24/44/84 devices. 2005-12-14 22:41:38 +00:00
Joerg Wunsch
7413634691 Upgrade to binutils 2.16.1.
Add support for AT90CAN32/64.
2005-11-04 20:13:07 +00:00
Joerg Wunsch
8794eea9cd Remove individual patches for adding new AVR devices to the toolchain,
and combine them into a single unified patch, as only two files need
to be patched anyway.

This will extend support of avr-binutils (over stock binutils-2.16) to
the following AVR devices:

ATtiny25/45/85
AT90PWM2/3
ATmega164/324/644
ATmega329/3290/649/6490
ATmega640/1280/1281
2005-07-30 20:08:03 +00:00
Joerg Wunsch
3d548a99a8 Update to binutils-2.16.
A number of our old patches have been integrated into the mainline now,
so they can be removed.
2005-06-30 22:19:42 +00:00
Joerg Wunsch
d33e66fe21 I just noticed I forgot to cvs add the ATmega1280 patch last time.
In preparation for moving the port to binutils-2.16, rather get it
in before that.
2005-05-31 19:51:41 +00:00
Joerg Wunsch
a9256f5bf4 Merge some patches that have meanwhile be integrated in binutil's CVS,
and apply them to the latest released version (2.15).  This mainly
adds support for new AVR devices that appeared on the market recently,
and fixes one relocation bug for the EEPROM section that could be
noted when a bootloader section is also present.
2005-03-10 21:11:07 +00:00
Joerg Wunsch
18506e2975 Upgrade to binutils 2.15.
Also fixed is the way the tweak for amd64 -> x86_64 is done, and
Manuel Stuehn <manuel dot stuehn at gmx dot net> verified it is OK
on that architecture now.
2004-06-20 19:47:22 +00:00
Joerg Wunsch
13aa50ee9d Update to binutils 2.14.
Also included now the "AVR COFF beta" patch that allows avr-objcopy to
generate AVR (extended) COFF files.  Note the beta state (which only
affects this conversion though).

This commit also fixes a minor pkg-plist problem noticed by kris.
2003-09-08 16:10:19 +00:00
Joerg Wunsch
da331bdcd4 Mega-upgrade the AVR GNU utils toolchain, part #1:
Upgrade binutils to a recent snapshot, since this is a prerequisite
for the remaining ports.

Unfortunately, sources.redhat.com frequently purges older snapshot
tarballs, thus i gotta keep the one to use here around privately.
2002-07-03 19:18:16 +00:00
Joerg Wunsch
ef84dd5a1a Do not, never, nikogda install lib{bfd,opcodes,iberty}.a. They might
clash with other binutils ports for different targets, and are not
needed to be installed at all.

PR:		ports/27347 (although with a different approach than suggested)
2001-05-15 19:21:48 +00:00
Joerg Wunsch
0e038bdbb6 Don't install libiberty.a, it's not required to be installed, and likely
to clash with other ports of GNU tools.

Fixup pkg-plist accordingly.
2001-04-20 13:50:28 +00:00