Ignore:
File:
1 edited

Legend:

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

    rc21d4d6 r3fcea34  
    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_boot_link_args = ldflags_ignore_rwx_segments
    4038
    4139rd_essential += [
     40        'app/ofw'
     41]
     42
     43rd_essential_drv += [
    4244        'drv/platform/mac',
    4345        'drv/bus/adb/cuda_adb',
     
    5456        'drv/hid/usbhid',
    5557]
     58
     59rd_drv += rd_essential_drv
Note: See TracChangeset for help on using the changeset viewer.