Changeset 71b4444 in mainline for meson/arch
- Timestamp:
- 2023-10-22T16:59:42Z (2 years ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 78f0422c, dd7df1c
- Parents:
- 590cb6d2 (diff), 2944b5a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- meson/arch
- Files:
-
- 5 edited
-
arm32/meson.build (modified) (1 diff)
-
arm64/meson.build (modified) (2 diffs)
-
ia64/meson.build (modified) (1 diff)
-
ppc32/meson.build (modified) (1 diff)
-
riscv64/meson.build (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
meson/arch/arm32/meson.build
r590cb6d2 r71b4444 42 42 ] 43 43 44 arch_kernel_c_args = arch_uspace_c_args + [ '-mno-unaligned-access', '-mfpu=vfpv3' ] 45 arch_kernel_c_args += cc.get_supported_arguments(['-mgeneral-regs-only' ]) 46 arch_kernel_link_args = [ '-nostdlib', '-Wl,-z,max-page-size=0x1000' ] 47 44 48 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 arch_uspace_c_args += [ '-mfloat-abi=hard' ] 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' ] 48 53 endif 49 50 arch_kernel_c_args = arch_uspace_c_args + [ '-mno-unaligned-access', '-mfpu=vfpv3' ]51 arch_kernel_link_args = [ '-nostdlib', '-Wl,-z,max-page-size=0x1000' ]52 54 arch_uspace_link_args = [ '-nostdlib', '-lgcc', '-Wl,-z,max-page-size=0x1000' ] 53 55 -
meson/arch/arm64/meson.build
r590cb6d2 r71b4444 28 28 # 29 29 30 arch_uspace_c_args = [ '-D__LE__', '-fno-omit-frame-pointer' ] 30 arch_uspace_c_args = [ 31 '-D__LE__', 32 '-fno-omit-frame-pointer', 33 cc.get_supported_arguments(['-mno-outline-atomics']), 34 ] 31 35 arch_kernel_c_args = arch_uspace_c_args + [ '-march=armv8-a+nofp+nosimd', '-mgeneral-regs-only' ] 32 36 arch_kernel_link_args = [ '-nostdlib' ] … … 44 48 # -mstrict-align option is therefore not needed. 45 49 arch_boot_c_args = arch_uspace_c_args + [ '-fpic', '-fvisibility=hidden', '-fno-function-sections' ] 46 arch_boot_link_args = [ '-Wl,-shared', '-Wl,--no-gc-sections' ] 50 arch_boot_link_args = [ '-Wl,-shared', '-Wl,--no-gc-sections' ] + ldflags_ignore_rwx_segments 47 51 48 52 if MACHINE == 'virt' -
meson/arch/ia64/meson.build
r590cb6d2 r71b4444 38 38 arch_uspace_link_args = [ '-nostdlib', '-lgcc' ] 39 39 arch_kernel_link_args = [ '-nostdlib', '-Wl,-EL' ] 40 arch_boot_link_args = []40 arch_boot_link_args = ldflags_ignore_rwx_segments 41 41 42 42 -
meson/arch/ppc32/meson.build
r590cb6d2 r71b4444 37 37 arch_kernel_link_args = [ '-nostdlib', '-Wl,-z,max-page-size=0x1000', '-Wl,--no-check-sections', '-Wl,--no-gc-sections' ] 38 38 arch_uspace_link_args = [ '-nostdlib', '-lgcc', '-Wl,-z,max-page-size=0x1000' ] 39 arch_boot_link_args = [] 39 arch_uspace_link_args += ldflags_ignore_rwx_segments 40 arch_boot_link_args = ldflags_ignore_rwx_segments 40 41 41 42 rd_essential += [ -
meson/arch/riscv64/meson.build
r590cb6d2 r71b4444 33 33 arch_kernel_link_args = [ '-nostdlib' ] 34 34 arch_uspace_link_args = [ '-nostdlib', '-lgcc' ] 35 arch_boot_link_args = []35 arch_boot_link_args = ldflags_ignore_rwx_segments 36 36 37 37 rd_essential += [
Note:
See TracChangeset
for help on using the changeset viewer.
