mesosphere: remove nostartfiles from specs files (should only be passed to linker wrapper)

This commit is contained in:
Michael Scire 2023-09-17 09:33:56 -07:00
parent 4fe9a89ab8
commit ba91f070e8
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
%rename link old_link %rename link old_link
*link: *link:
%(old_link) -T %:getenv(ATMOSPHERE_TOPDIR /kernel.ld) -pie --gc-sections -z text -z nodynamic-undefined-weak -nostdlib -nostartfiles %(old_link) -T %:getenv(ATMOSPHERE_TOPDIR /kernel.ld) -pie --gc-sections -z text -z nodynamic-undefined-weak -nostdlib
*startfile: *startfile:
crti%O%s crtbegin%O%s crti%O%s crtbegin%O%s

View File

@ -1,7 +1,7 @@
%rename link old_link %rename link old_link
*link: *link:
%(old_link) -T %:getenv(ATMOSPHERE_TOPDIR /kernel_ldr.ld) -pie --gc-sections -z text -z nodynamic-undefined-weak -nostdlib -nostartfiles %(old_link) -T %:getenv(ATMOSPHERE_TOPDIR /kernel_ldr.ld) -pie --gc-sections -z text -z nodynamic-undefined-weak -nostdlib
*startfile: *startfile:
crti%O%s crtbegin%O%s crti%O%s crtbegin%O%s