avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Backporting the ATmega256X patch to binutils-2.17?


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] Backporting the ATmega256X patch to binutils-2.17?
Date: Tue, 26 Sep 2006 23:22:59 +0200 (MET DST)

Bernd Trog <address@hidden> wrote:

> Please test the backport. You can checkout the backport using this
> command:

> svn co https://svn.sourceforge.net/svnroot/avr-ada/trunk/patches avr-patches

Thanks for this service!

I'm about to update my FreeBSD ports avr-binutils and avr-gcc based on
that.

One small issue: gcc-4.1-new-devices-1.patch contains one chunk that
is unrelated to the support of new devices:

Index: gcc_4_1_1_release/gcc/config/avr/t-avr
===================================================================
--- gcc_4_1_1_release/gcc/config/avr/t-avr      (revision 114367)
+++ gcc_4_1_1_release/gcc/config/avr/t-avr      (working copy)
@@ -22,7 +22,7 @@
 # We do not have the DF type.
 # Most of the C functions in libgcc2 use almost all registers,
 # so use -mcall-prologues for smaller code size.
-TARGET_LIBGCC2_CFLAGS = -DDF=SF -Dinhibit_libc -mcall-prologues
+TARGET_LIBGCC2_CFLAGS = -DDF=SF -Dinhibit_libc -mcall-prologues -Os
 
 fp-bit.c: $(srcdir)/config/fp-bit.c $(srcdir)/config/avr/t-avr
        echo '#define FLOAT' > fp-bit.c

(Curious, what the default optimization setting, anyway?)

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]