musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016年01月20日 10:14:15 -0800
committerRich Felker <dalias@aerifal.cx>2016年01月20日 19:42:21 +0000
commitd1b29c2a54588401494c1a3ac7103c1e91c61fa1 (patch)
treecfc360450e0447991c1c04c6226e1cf22962f7da /src
parent4fcc7eb51c79090ef14a22bf3ab9631d9b3c5bf5 (diff)
downloadmusl-d1b29c2a54588401494c1a3ac7103c1e91c61fa1.tar.gz
exclude vis.h when compiling assembly files
otherwise C declarations are included into preprocessed (.S) asm source files, producing errors from the assembler.
Diffstat (limited to 'src')
-rw-r--r--src/internal/vis.h 2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/vis.h b/src/internal/vis.h
index 8414179e..35855fc8 100644
--- a/src/internal/vis.h
+++ b/src/internal/vis.h
@@ -4,7 +4,7 @@
* override default visibilities to reduce the size and performance costs
* of position-independent code. */
-#ifndef CRT
+#if !defined(CRT) && !defined(__ASSEMBLER__)
/* Conceptually, all symbols should be protected, but some toolchains
* fail to support copy relocations for protected data, so exclude all
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月19日 19:05:27 +0000

AltStyle によって変換されたページ (->オリジナル) /