Changeset 169e6e0 in mainline


Ignore:
Timestamp:
2023-08-02T16:36:02Z (10 months ago)
Author:
Vojtech Horky <vojtech.horky@…>
Branches:
ticket/834-toolchain-update
Children:
0989bc4
Parents:
4586a3cd
Message:

Workaround linker warnings about RWX segment

Location:
meson/arch
Files:
4 edited

Legend:

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

    r4586a3cd r169e6e0  
    2828#
    2929
    30 arch_uspace_c_args = [ '-D__LE__', '-fno-omit-frame-pointer' ]
     30arch_uspace_c_args = [ '-D__LE__', '-fno-omit-frame-pointer', '-mno-outline-atomics' ]
    3131arch_kernel_c_args = arch_uspace_c_args + [ '-march=armv8-a+nofp+nosimd', '-mgeneral-regs-only' ]
    3232arch_kernel_link_args = [ '-nostdlib' ]
     
    4545arch_boot_c_args = arch_uspace_c_args + [ '-fpic', '-fvisibility=hidden', '-fno-function-sections' ]
    4646arch_boot_link_args = [ '-Wl,-shared', '-Wl,--no-gc-sections' ]
     47arch_boot_link_args += ['-Wl,--no-warn-rwx-segments']
    4748
    4849if MACHINE == 'virt'
  • meson/arch/ia64/meson.build

    r4586a3cd r169e6e0  
    3838arch_uspace_link_args = [ '-nostdlib', '-lgcc' ]
    3939arch_kernel_link_args = [ '-nostdlib', '-Wl,-EL' ]
    40 arch_boot_link_args = []
     40arch_boot_link_args = ['-Wl,--no-warn-rwx-segments']
    4141
    4242
  • meson/arch/ppc32/meson.build

    r4586a3cd r169e6e0  
    3737arch_kernel_link_args = [ '-nostdlib', '-Wl,-z,max-page-size=0x1000', '-Wl,--no-check-sections', '-Wl,--no-gc-sections' ]
    3838arch_uspace_link_args = [ '-nostdlib', '-lgcc', '-Wl,-z,max-page-size=0x1000' ]
    39 arch_boot_link_args = []
     39arch_uspace_link_args += ['-Wl,--no-warn-rwx-segments']
     40arch_boot_link_args = ['-Wl,--no-warn-rwx-segments']
    4041
    4142
  • meson/arch/riscv64/meson.build

    r4586a3cd r169e6e0  
    3333arch_kernel_link_args = [ '-nostdlib' ]
    3434arch_uspace_link_args = [ '-nostdlib', '-lgcc' ]
    35 arch_boot_link_args = []
     35arch_boot_link_args = ['-Wl,--no-warn-rwx-segments']
    3636
    3737rd_essential += [
Note: See TracChangeset for help on using the changeset viewer.