summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/internals/abi-note.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/misc/internals/abi-note.S b/libc/misc/internals/abi-note.S
index 5c30c35a8..e6bbbe6ae 100644
--- a/libc/misc/internals/abi-note.S
+++ b/libc/misc/internals/abi-note.S
@@ -60,7 +60,11 @@ offset length contents
name begins with `.note' and creates a PT_NOTE program header entry
pointing at it. */
+#ifdef HAVE_ELF
.section ".note.ABI-tag", "a"
+#else
+ .section .note
+#endif
.align 4
.long 1f - 0f /* name length */
.long 3f - 2f /* data length */