2
0
Эх сурвалжийг харах

Add .section .note.GNU-stack,,@progbits to all .as files for FreeBSD OS

Pierre Muller 2 сар өмнө
parent
commit
bab854df2f

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

@@ -201,3 +201,5 @@ operatingsystem_parameters:
 
 //.section .threadvar,"aw",@nobits
         .comm   ___fpc_threadvar_offset,4
+.section .note.GNU-stack,"",@progbits
+

+ 1 - 0
rtl/freebsd/i386/gprt0.as

@@ -162,3 +162,4 @@ _haltproc:
         .comm operatingsystem_parameter_envp,4
         .comm operatingsystem_parameter_argc,4
         .comm operatingsystem_parameter_argv,4
+.section .note.GNU-stack,"",@progbits

+ 1 - 0
rtl/freebsd/x86_64/prt0.as

@@ -166,4 +166,5 @@ operatingsystem_parameters:
 	.p2align 3
 .LEFDE1:
 	.ident	"GCC: (GNU) 3.3.3 [FreeBSD] 20031106"
+.section .note.GNU-stack,"",@progbits