Ignore:
File:
1 edited

Legend:

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

    rc21d4d6 rc89ae25  
    11#
     2# Copyright (c) 2023 Jiri Svoboda
    23# Copyright (c) 2019 Jiří Zárevúcky
    34# All rights reserved.
     
    2728#
    2829
    29 # FIXME: enable --gc-sections
    30 
    3130_common_c_args = [ '-D__BE__', '-fno-omit-frame-pointer', '-m32', '-Wa,-a32', '-mcpu=powerpc' ]
    3231
    33 arch_kernel_c_args = _common_c_args + [ '-msoft-float', '-fno-function-sections' ]
     32arch_kernel_c_args = _common_c_args + [ '-msoft-float' ]
    3433arch_uspace_c_args = _common_c_args + [ CONFIG_FPU ? '-mhard-float' : '-msoft-float' ]
    3534arch_boot_c_args = arch_kernel_c_args
    36 arch_kernel_link_args = [ '-nostdlib', '-Wl,-z,max-page-size=0x1000', '-Wl,--no-check-sections', '-Wl,--no-gc-sections' ]
     35arch_kernel_link_args = [ '-nostdlib', '-Wl,-z,max-page-size=0x1000' ]
    3736arch_uspace_link_args = [ '-nostdlib', '-lgcc', '-Wl,-z,max-page-size=0x1000' ]
    38 arch_boot_link_args = []
    39 
     37arch_uspace_link_args += ldflags_ignore_rwx_segments
     38arch_boot_link_args = ldflags_ignore_rwx_segments
    4039
    4140rd_essential += [
     41        'app/ofw'
     42]
     43
     44rd_essential_drv += [
    4245        'drv/platform/mac',
    4346        'drv/bus/adb/cuda_adb',
     
    5457        'drv/hid/usbhid',
    5558]
     59
     60rd_drv += rd_essential_drv
Note: See TracChangeset for help on using the changeset viewer.