Fix disagreement between GCCSPECS and GCC_SPECS.

This commit is contained in:
Eric Norum
2005-11-09 16:38:33 +00:00
parent 90f9944381
commit d5b3fe52a8
3 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,7 @@
2005-11-09 Eric Norum <norume@aps.anl.gov>
* bootloader/Makefile.am: Fix disagreement between GCCSPECS and GCC_SPECS.
2005-11-03 <strauman@slac.stanford.edu>
* shared/irq/openpic_i8259_irq.c: New file.

View File

@@ -30,10 +30,10 @@ DEFAULT_INCLUDES =
# Remove references to EABI when compiling bootloader
BOOTLOADER_CPU_CFLAGS=$(subst -msdata=eabi,,$(subst -meabi,,$(CPU_CFLAGS)))
AM_CPPFLAGS = -D__BOOT__
AM_CFLAGS = $(GCC_SPECS) -specs bsp_specs -qrtems -mrelocatable -msoft-float \
AM_CFLAGS = $(GCCSPECS) -mrelocatable -msoft-float \
-mstrict-align -fno-builtin -Wall -mmultiple -mstring -O2 \
-fomit-frame-pointer -ffixed-r13 -mno-sdata $(BOOTLOADER_CPU_CFLAGS)
AM_CCASFLAGS = $(AM_CPPFLAGS) $(GCC_SPECS) -specs bsp_specs -qrtems \
AM_CCASFLAGS = $(AM_CPPFLAGS) $(GCCSPECS) \
-mrelocatable -DASM $(BOOTLOADER_CPU_CFLAGS)
#

View File

@@ -52,6 +52,7 @@ SECTIONS
.rela.sbss : { *(.rela.sbss) } > CODE
.rela.sdata2 : { *(.rela.sdata2) } > CODE
.rela.sbss2 : { *(.rela.sbss2) } > CODE
.rela.dyn : { *(.rela.dyn) } > CODE
.init : { KEEP(*(.init)) } > CODE