[lkml]   [2004]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    SubjectRe: [] The kernel is _always_ compiled with -msoft-float
    Thank everybody.

    Whould it be better to document the trick? At least, this will
    prevent the others from suspicions.

    --- arch/i386/Makefile.orig 2004-08-14 16:55:10.000000000 +0600
    +++ arch/i386/Makefile 2004-09-15 03:37:49.000000000 +0600
    @@ -20,6 +20,8 @@ OBJCOPYFLAGS := -O binary -R .note -R .c
    LDFLAGS_vmlinux :=
    CHECK := $(CHECK) -D__i386__=1

    +# The FP must not be used in the kernel code. So, the bogus compiler
    +# flag is here to catch such an attempts at the link stage.
    CFLAGS += -pipe -msoft-float

    # prevent gcc from keeping the stack 16 byte aligned
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at
     \ /
      Last update: 2005-03-22 14:06    [W:0.039 / U:44.112 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site