Changeset 3785b39 in mainline


Ignore:
Timestamp:
2023-08-04T13:20:03Z (10 months ago)
Author:
Vojtech Horky <vojtech.horky@…>
Branches:
ticket/834-toolchain-update
Children:
dd0e909
Parents:
24cf6694
Message:

arm32: compile kernel with general registers only

File:
1 edited

Legend:

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

    r24cf6694 r3785b39  
    4545        # This is necessary for kernel too, to allow vmsr insn and fpexc manipulation.
    4646        # Use vfp32 to allow context save/restore of d16-d31 regs.
    47         # Need to use softfp because our libgcc.a uses it too
    48         arch_uspace_c_args += [ '-mfloat-abi=softfp' ]
     47        # Need to use soft because our libgcc.a uses it too
     48        arch_uspace_c_args += [ '-mfloat-abi=soft' ]
    4949endif
    5050
    5151arch_kernel_c_args = arch_uspace_c_args + [ '-mno-unaligned-access', '-mfpu=vfpv3' ]
     52arch_kernel_c_args += cc.get_supported_arguments(['-mgeneral-regs-only' ])
    5253arch_kernel_link_args = [ '-nostdlib', '-Wl,-z,max-page-size=0x1000' ]
    5354arch_uspace_link_args = [ '-nostdlib', '-lgcc', '-Wl,-z,max-page-size=0x1000' ]
Note: See TracChangeset for help on using the changeset viewer.