projects
/
kopensolaris-gnu
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e717af7
)
(RESTORE2): Put asm explicitly into .text section.
author
drepper
<drepper>
Sat, 7 Jul 2001 22:56:38 +0000
(22:56 +0000)
committer
drepper
<drepper>
Sat, 7 Jul 2001 22:56:38 +0000
(22:56 +0000)
sysdeps/unix/sysv/linux/i386/sigaction.c
patch
|
blob
|
history
diff --git
a/sysdeps/unix/sysv/linux/i386/sigaction.c
b/sysdeps/unix/sysv/linux/i386/sigaction.c
index
fe0a192
..
773101f
100644
(file)
--- a/
sysdeps/unix/sysv/linux/i386/sigaction.c
+++ b/
sysdeps/unix/sysv/linux/i386/sigaction.c
@@
-163,7
+163,8
@@
weak_alias (__libc_sigaction, sigaction)
#define RESTORE2(name, syscall) \
asm \
( \
- ".align 16\n" \
+ ".text\n" \
+ " .align 16\n" \
"__" #name ":\n" \
" movl $" #syscall ", %eax\n" \
" int $0x80" \
@@
-179,7
+180,8
@@
RESTORE (restore_rt, __NR_rt_sigreturn)
# define RESTORE2(name, syscall) \
asm \
( \
- ".align 8\n" \
+ ".text\n" \
+ " .align 8\n" \
"__" #name ":\n" \
" popl %eax\n" \
" movl $" #syscall ", %eax\n" \