Changeset c89ae25 in mainline for meson/arch/amd64/meson.build


Ignore:
Timestamp:
2023-10-27T17:24:14Z (21 months ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
master, topic/msim-upgrade, topic/simplify-dev-export
Children:
34120f10, b169619
Parents:
0373af9
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2023-10-27 17:03:39)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2023-10-27 17:24:14)
Message:

Fix and enable —gc-sections in /kernel and /boot

File:
1 edited

Legend:

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

    r0373af9 rc89ae25  
    4545endif
    4646
    47 
    48 # TODO: Enable --gc-sections
    49 arch_kernel_link_args = [ '-Wl,-z,max-page-size=0x1000', '-nostdlib', '-Wl,--no-gc-sections' ]
     47arch_kernel_link_args = [ '-Wl,-z,max-page-size=0x1000', '-nostdlib' ]
    5048arch_uspace_link_args = [ '-Wl,-z,max-page-size=0x1000', '-nostdlib', '-lgcc' ]
    5149
Note: See TracChangeset for help on using the changeset viewer.