diff options
author | Bernd Trog <berndtrog@yahoo.com> | 2005-12-17 03:09:43 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2005-12-17 03:09:43 +0000 |
commit | 44984de00d3a251a01e751527cfdaee4087b0015 (patch) | |
tree | 9641e5db82ff6bd558eb5f157def7d262e210a74 /gcc | |
parent | 740bfcdfcf237d89404c8821612798472a2ec1b1 (diff) | |
download | gcc-44984de00d3a251a01e751527cfdaee4087b0015.zip gcc-44984de00d3a251a01e751527cfdaee4087b0015.tar.gz gcc-44984de00d3a251a01e751527cfdaee4087b0015.tar.bz2 |
re PR target/20016 (Compiling libgcc2.c with -Os for avr-gcc?)
2005-12-16 Bernd Trog <berndtrog@yahoo.com>
PR target/20016
* config/avr/t-avr: Add -Os to TARGET_LIBGCC2_CFLAGS.
From-SVN: r108708
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/avr/t-avr | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ca75967..241b7f6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-12-16 Bernd Trog <berndtrog@yahoo.com> + + PR target/20016 + * config/avr/t-avr: Add -Os to TARGET_LIBGCC2_CFLAGS. + 2005-12-17 Kazu Hirata <kazu@codesourcery.com> PR rtl-optimization/25456 diff --git a/gcc/config/avr/t-avr b/gcc/config/avr/t-avr index 4209e9c..0627b9b 100644 --- a/gcc/config/avr/t-avr +++ b/gcc/config/avr/t-avr @@ -22,7 +22,7 @@ LIB1ASMFUNCS = \ # 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 |