Changeset dd0e909 in mainline


Ignore:
Timestamp:
2023-08-04T21:17:00Z (10 months ago)
Author:
Vojtech Horky <vojtech.horky@…>
Branches:
ticket/834-toolchain-update
Children:
315d487
Parents:
3785b39
Message:

arm32: kernel does not care about FPU

File:
1 edited

Legend:

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

    r3785b39 rdd0e909  
    4242]
    4343
    44 if 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         # Need to use soft because our libgcc.a uses it too
    48         arch_uspace_c_args += [ '-mfloat-abi=soft' ]
    49 endif
    50 
    5144arch_kernel_c_args = arch_uspace_c_args + [ '-mno-unaligned-access', '-mfpu=vfpv3' ]
    5245arch_kernel_c_args += cc.get_supported_arguments(['-mgeneral-regs-only' ])
    5346arch_kernel_link_args = [ '-nostdlib', '-Wl,-z,max-page-size=0x1000' ]
     47
     48if CONFIG_FPU
     49    # Need to use soft because our libgcc.a uses it too
     50    arch_uspace_c_args += [ '-mfloat-abi=soft' ]
     51endif
    5452arch_uspace_link_args = [ '-nostdlib', '-lgcc', '-Wl,-z,max-page-size=0x1000' ]
    5553
Note: See TracChangeset for help on using the changeset viewer.