projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fcc7eb
)
exclude vis.h when compiling assembly files
author
Khem Raj
<raj.khem@gmail.com>
Wed, 20 Jan 2016 18:14:15 +0000
(10:14 -0800)
committer
Rich Felker
<dalias@aerifal.cx>
Wed, 20 Jan 2016 19:42:21 +0000
(19:42 +0000)
otherwise C declarations are included into preprocessed (.S) asm
source files, producing errors from the assembler.
src/internal/vis.h
patch
|
blob
|
history
diff --git
a/src/internal/vis.h
b/src/internal/vis.h
index 8414179e6054be516cd678e3f867642535678161..35855fc8ab9fbd587fa6fdecbaeec4cb1014016b 100644
(file)
--- 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. */
-#if
ndef 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