Ignore:
File:
1 edited

Legend:

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

    rc89ae25 r581a54a  
    11#
    2 # Copyright (c) 2023 Jiri Svoboda
     2# Copyright (c) 2021 Jiri Svoboda
    33# Copyright (c) 2019 Jiří Zárevúcky
    44# All rights reserved.
     
    2828#
    2929
     30# FIXME: enable --gc-sections
     31
    3032_common_c_args = [ '-D__BE__', '-fno-omit-frame-pointer', '-m32', '-Wa,-a32', '-mcpu=powerpc' ]
    3133
    32 arch_kernel_c_args = _common_c_args + [ '-msoft-float' ]
     34arch_kernel_c_args = _common_c_args + [ '-msoft-float', '-fno-function-sections' ]
    3335arch_uspace_c_args = _common_c_args + [ CONFIG_FPU ? '-mhard-float' : '-msoft-float' ]
    3436arch_boot_c_args = arch_kernel_c_args
    35 arch_kernel_link_args = [ '-nostdlib', '-Wl,-z,max-page-size=0x1000' ]
     37arch_kernel_link_args = [ '-nostdlib', '-Wl,-z,max-page-size=0x1000', '-Wl,--no-check-sections', '-Wl,--no-gc-sections' ]
    3638arch_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
     39arch_boot_link_args = []
    3940
    40 rd_essential += [
    41         'app/ofw'
    42 ]
    4341
    4442rd_essential_drv += [
Note: See TracChangeset for help on using the changeset viewer.