Changeset c89ae25 in mainline for meson/arch
- Timestamp:
- 2023-10-27T17:24:14Z (21 months ago)
- 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)
- Location:
- meson/arch
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
meson/arch/amd64/meson.build
r0373af9 rc89ae25 45 45 endif 46 46 47 48 # TODO: Enable --gc-sections 49 arch_kernel_link_args = [ '-Wl,-z,max-page-size=0x1000', '-nostdlib', '-Wl,--no-gc-sections' ] 47 arch_kernel_link_args = [ '-Wl,-z,max-page-size=0x1000', '-nostdlib' ] 50 48 arch_uspace_link_args = [ '-Wl,-z,max-page-size=0x1000', '-nostdlib', '-lgcc' ] 51 49 -
meson/arch/arm64/meson.build
r0373af9 rc89ae25 47 47 # processor is in the execution mode that has unaligned access enabled. The 48 48 # -mstrict-align option is therefore not needed. 49 arch_boot_c_args = arch_uspace_c_args + [ '-fpic', '-fvisibility=hidden' , '-fno-function-sections']50 arch_boot_link_args = [ '-Wl,-shared' , '-Wl,--no-gc-sections'] + ldflags_ignore_rwx_segments49 arch_boot_c_args = arch_uspace_c_args + [ '-fpic', '-fvisibility=hidden' ] 50 arch_boot_link_args = [ '-Wl,-shared' ] + ldflags_ignore_rwx_segments 51 51 52 52 if MACHINE == 'virt' -
meson/arch/ia32/meson.build
r0373af9 rc89ae25 51 51 ] 52 52 53 54 # TODO: Enable --gc-sections. 55 arch_kernel_link_args = [ '-nostdlib', '-Wl,--no-gc-sections' ] 53 arch_kernel_link_args = [ '-nostdlib' ] 56 54 arch_uspace_link_args = [ '-nostdlib', '-lgcc' ] 57 55 -
meson/arch/ppc32/meson.build
r0373af9 rc89ae25 28 28 # 29 29 30 # FIXME: enable --gc-sections31 32 30 _common_c_args = [ '-D__BE__', '-fno-omit-frame-pointer', '-m32', '-Wa,-a32', '-mcpu=powerpc' ] 33 31 34 arch_kernel_c_args = _common_c_args + [ '-msoft-float' , '-fno-function-sections']32 arch_kernel_c_args = _common_c_args + [ '-msoft-float' ] 35 33 arch_uspace_c_args = _common_c_args + [ CONFIG_FPU ? '-mhard-float' : '-msoft-float' ] 36 34 arch_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']35 arch_kernel_link_args = [ '-nostdlib', '-Wl,-z,max-page-size=0x1000' ] 38 36 arch_uspace_link_args = [ '-nostdlib', '-lgcc', '-Wl,-z,max-page-size=0x1000' ] 39 37 arch_uspace_link_args += ldflags_ignore_rwx_segments
Note:
See TracChangeset
for help on using the changeset viewer.