emummc: add custom ld/specs file

This commit is contained in:
Michael Scire 2021-06-22 16:12:27 -07:00
parent 4892ffae15
commit 38f9a76ba0
3 changed files with 210 additions and 1 deletions

8
emummc/emummc.specs Normal file
View file

@ -0,0 +1,8 @@
%rename link old_link
*link:
%(old_link) -T %:getenv(TOPDIR /emummc.ld) -pie --no-dynamic-linker --spare-dynamic-tags=0 --gc-sections -z text -z nodynamic-undefined-weak --build-id=sha1 --nx-module-name
*startfile:
crti%O%s crtbegin%O%s