From da7ccf822c2a7f0413868b8d99029907f1d61a41 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 14 Apr 2015 10:22:12 -0400 Subject: 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. --- src/internal/i386/syscall.s | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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 -- cgit v1.2.1