Changeset 15256


Ignore:
Timestamp:
Mar 19, 2012, 1:16:32 PM (7 years ago)
Author:
gb
Message:

Be explicit about the fact that CCL doesn't yet support the hard
float ABI.

(The lisp mostly runs if the kernel is built with 'make FLOAT_ABI=hard';
as one would expect, math library calls that take FP args/return FP
values don't behave correctly.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/linuxarm/Makefile

    r15198 r15256  
    2222AS = as
    2323M4 = m4
    24 ASFLAGS = -mfpu=vfp -march=armv7-a
     24ASFLAGS = -mfpu=vfp -march=armv7-a -mfloat-abi=$(FLOAT_ABI)
    2525M4FLAGS = -DLINUX -DARM
    2626CDEFINES = -DLINUX -DARM -D_REENTRANT -D_GNU_SOURCE -DUSE_FUTEX -DSVN_REVISION=$(SVN_REVISION)
    2727CDEBUG = -g
    28 COPT = -O2
     28COPT = #-O2
    2929# Once in a while, -Wformat says something useful.  The odds are against that,
    3030# however.
    3131WFORMAT = -Wno-format
    3232PLATFORM_H = platform-linuxarm.h
     33FLOAT_ABI = softfp
    3334
    3435# If the linker supports a "--hash-style=" option, use traditional
     
    5253        $(M4) $(M4FLAGS) -I../ $< | $(AS) $(A32) $(ASFLAGS) -o $@
    5354.c.o:
    54         $(CC) -include ../$(PLATFORM_H) -c $< $(CDEFINES) $(CDEBUG) $(COPT) -marm $(WFORMAT)  -o $@
     55        $(CC) -include ../$(PLATFORM_H) -c $< $(CDEFINES) $(CDEBUG) $(COPT) -marm -mfloat-abi=$(FLOAT_ABI) $(WFORMAT)  -o $@
    5556
    5657SPOBJ = pad.o  arm-spentry.o
     
    8687
    8788../../armcl:    $(KSPOBJ) $(KERNELOBJ) $(DEBUGOBJ)
    88         $(CC)  $(CDEBUG)  -Wl,--export-dynamic $(HASH_STYLE) -o $@ -T ./armlinux.x $(KSPOBJ) $(KERNELOBJ) $(DEBUGOBJ) -Wl,--no-as-needed $(OSLIBS)
     89        $(CC)  $(CDEBUG)  -Wl,--export-dynamic $(HASH_STYLE) -mfloat-abi=$(FLOAT_ABI) -o $@ -T ./armlinux.x $(KSPOBJ) $(KERNELOBJ) $(DEBUGOBJ) -Wl,--no-as-needed $(OSLIBS)
    8990
    9091
Note: See TracChangeset for help on using the changeset viewer.