Commit 44984de0 by Bernd Trog Committed by Roger Sayle

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
parent 740bfcdf
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
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment