← Commit list

526625bc8

Ludwig Nussel
Ludwig Nussel
2022-08-30
SUCCESS Duration: 155s

Subject

libbb: mark stack in assembly files read-only

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

libbb/hash_md5_sha256_x86-32_shaNI.S+3 -0
@@ -19,6 +19,9 @@
// We do not check SSSE3 in cpuid,
// all SHA-capable CPUs support it as well.
+#ifdef __linux__
+ .section .note.GNU-stack, "", @progbits
+#endif
.section .text.sha256_process_block64_shaNI, "ax", @progbits
.globl sha256_process_block64_shaNI
.hidden sha256_process_block64_shaNI
libbb/hash_md5_sha256_x86-64_shaNI.S+3 -0
@@ -19,6 +19,9 @@
// We do not check SSSE3 in cpuid,
// all SHA-capable CPUs support it as well.
+#ifdef __linux__
+ .section .note.GNU-stack, "", @progbits
+#endif
.section .text.sha256_process_block64_shaNI, "ax", @progbits
.globl sha256_process_block64_shaNI
.hidden sha256_process_block64_shaNI
libbb/hash_md5_sha_x86-32_shaNI.S+3 -0
@@ -25,6 +25,9 @@
// We do not check SSSE3/SSE4.1 in cpuid,
// all SHA-capable CPUs support them as well.
+#ifdef __linux__
+ .section .note.GNU-stack, "", @progbits
+#endif
.section .text.sha1_process_block64_shaNI, "ax", @progbits
.globl sha1_process_block64_shaNI
.hidden sha1_process_block64_shaNI
libbb/hash_md5_sha_x86-64.S+3 -0
@@ -1,6 +1,9 @@
### Generated by hash_md5_sha_x86-64.S.sh ###
#if CONFIG_SHA1_SMALL == 0 && defined(__GNUC__) && defined(__x86_64__)
+#ifdef __linux__
+ .section .note.GNU-stack, "", @progbits
+#endif
.section .text.sha1_process_block64, "ax", @progbits
.globl sha1_process_block64
.hidden sha1_process_block64
libbb/hash_md5_sha_x86-64.S.sh+3 -0
@@ -127,6 +127,9 @@ echo \
"### Generated by hash_md5_sha_x86-64.S.sh ###
#if CONFIG_SHA1_SMALL == 0 && defined(__GNUC__) && defined(__x86_64__)
+#ifdef __linux__
+ .section .note.GNU-stack, \"\", @progbits
+#endif
.section .text.sha1_process_block64, \"ax\", @progbits
.globl sha1_process_block64
.hidden sha1_process_block64
libbb/hash_md5_sha_x86-64_shaNI.S+3 -0
@@ -25,6 +25,9 @@
// We do not check SSSE3/SSE4.1 in cpuid,
// all SHA-capable CPUs support them as well.
+#ifdef __linux__
+ .section .note.GNU-stack, "", @progbits
+#endif
.section .text.sha1_process_block64_shaNI, "ax", @progbits
.globl sha1_process_block64_shaNI
.hidden sha1_process_block64_shaNI