Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • meson/arch/arm32/meson.build

    r2944b5a r4d58bac  
    4242]
    4343
     44if CONFIG_FPU
     45        # This is necessary for kernel too, to allow vmsr insn and fpexc manipulation.
     46        # Use vfp32 to allow context save/restore of d16-d31 regs.
     47        arch_uspace_c_args += [ '-mfloat-abi=hard' ]
     48endif
     49
    4450arch_kernel_c_args = arch_uspace_c_args + [ '-mno-unaligned-access', '-mfpu=vfpv3' ]
    45 arch_kernel_c_args += cc.get_supported_arguments(['-mgeneral-regs-only' ])
    4651arch_kernel_link_args = [ '-nostdlib', '-Wl,-z,max-page-size=0x1000' ]
    47 
    48 if CONFIG_FPU
    49     # Need to use softfp because our libgcc.a uses it too
    50     # softfp - generate code with soft-float calling conventions but allow use
    51     # of "hard" float instructions
    52     arch_uspace_c_args += [ '-mfloat-abi=softfp' ]
    53 endif
    5452arch_uspace_link_args = [ '-nostdlib', '-lgcc', '-Wl,-z,max-page-size=0x1000' ]
    5553
Note: See TracChangeset for help on using the changeset viewer.