Browse Source

* also add stack note for trunke

marcoonthegit 1 year ago
parent
commit
e9b12b41db
2 changed files with 4 additions and 0 deletions
  1. 2 0
      rtl/freebsd/x86_64/cprt0.as
  2. 2 0
      rtl/freebsd/x86_64/dllprt0.as

+ 2 - 0
rtl/freebsd/x86_64/cprt0.as

@@ -201,3 +201,5 @@ operatingsystem_parameters:
 	.align 8
 .LEFDE1:
 	.ident	"GCC: (GNU) 4.2.1 20070719  [FreeBSD]"
+
+.section .note.GNU-stack,"",@progbits

+ 2 - 0
rtl/freebsd/x86_64/dllprt0.as

@@ -73,3 +73,5 @@ _haltproc:
 	.weak   operatingsystem_parameter_argv
 	.weak   operatingsystem_parameter_envp
 
+.section .note.GNU-stack,"",@progbits
+