Ignore:
File:
1 edited

Legend:

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

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