Skip to content

Commit

Permalink
mesosphere: remove nostartfiles from specs files (should only be pass…
Browse files Browse the repository at this point in the history
…ed to linker wrapper)
  • Loading branch information
SciresM committed Sep 17, 2023
1 parent 4fe9a89 commit ba91f07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mesosphere/kernel/kernel.specs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%rename link old_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:
crti%O%s crtbegin%O%s
2 changes: 1 addition & 1 deletion mesosphere/kernel_ldr/kernel_ldr.specs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%rename link old_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:
crti%O%s crtbegin%O%s

0 comments on commit ba91f07

Please sign in to comment.