diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-04-14 10:22:12 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-04-14 10:22:12 -0400 |
commit | da7ccf822c2a7f0413868b8d99029907f1d61a41 (patch) | |
tree | 2a06b38e4acdd5622abe1b6a606f61c410121e12 /src | |
parent | f1faa0e12fd68379420b07ebf2eba43a5be1f2d3 (diff) | |
download | musl-da7ccf822c2a7f0413868b8d99029907f1d61a41.tar.gz musl-da7ccf822c2a7f0413868b8d99029907f1d61a41.tar.bz2 musl-da7ccf822c2a7f0413868b8d99029907f1d61a41.tar.xz musl-da7ccf822c2a7f0413868b8d99029907f1d61a41.zip |
use hidden visibility for i386 asm-internal __vsyscall symbol
otherwise the call instruction in the inline syscall asm results in
textrels without ld-time binding.
Diffstat (limited to 'src')
-rw-r--r-- | src/internal/i386/syscall.s | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/internal/i386/syscall.s b/src/internal/i386/syscall.s index 2914acee..739201ae 100644 --- a/src/internal/i386/syscall.s +++ b/src/internal/i386/syscall.s @@ -7,6 +7,7 @@ # code, respectively), and optimizes for size/simplicity in the caller. .global __vsyscall +.hidden __vsyscall .type __vsyscall,@function __vsyscall: push %edi @@ -41,6 +42,7 @@ __vsyscall: # possible to pass two arguments on the stack. .global __vsyscall6 +.hidden __vsyscall6 .type __vsyscall6,@function __vsyscall6: push %ebp |