Ignore:
File:
1 edited

Legend:

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

    rc89ae25 rc21d4d6  
    11#
    2 # Copyright (c) 2023 Jiri Svoboda
    32# Copyright (c) 2019 Jiří Zárevúcky
    43# All rights reserved.
     
    2827#
    2928
     29# FIXME: enable --gc-sections
     30
    3031_common_c_args = [ '-D__BE__', '-fno-omit-frame-pointer', '-m32', '-Wa,-a32', '-mcpu=powerpc' ]
    3132
    32 arch_kernel_c_args = _common_c_args + [ '-msoft-float' ]
     33arch_kernel_c_args = _common_c_args + [ '-msoft-float', '-fno-function-sections' ]
    3334arch_uspace_c_args = _common_c_args + [ CONFIG_FPU ? '-mhard-float' : '-msoft-float' ]
    3435arch_boot_c_args = arch_kernel_c_args
    35 arch_kernel_link_args = [ '-nostdlib', '-Wl,-z,max-page-size=0x1000' ]
     36arch_kernel_link_args = [ '-nostdlib', '-Wl,-z,max-page-size=0x1000', '-Wl,--no-check-sections', '-Wl,--no-gc-sections' ]
    3637arch_uspace_link_args = [ '-nostdlib', '-lgcc', '-Wl,-z,max-page-size=0x1000' ]
    37 arch_uspace_link_args += ldflags_ignore_rwx_segments
    38 arch_boot_link_args = ldflags_ignore_rwx_segments
     38arch_boot_link_args = []
     39
    3940
    4041rd_essential += [
    41         'app/ofw'
    42 ]
    43 
    44 rd_essential_drv += [
    4542        'drv/platform/mac',
    4643        'drv/bus/adb/cuda_adb',
     
    5754        'drv/hid/usbhid',
    5855]
    59 
    60 rd_drv += rd_essential_drv
Note: See TracChangeset for help on using the changeset viewer.