summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-05-15 10:17:30 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-05-15 10:17:30 -0700
commit890d8bd8547e7342e65b39aabcedf8398ee51e05 (patch)
tree9a026d776531080bcde3e620ecb1aab0f74b9f11 /sysdeps/unix/sysv
parentf6ee66232293f1bc0c83d04ffcb7b1d669dc15d0 (diff)
downloadglibc-890d8bd8547e7342e65b39aabcedf8398ee51e05.tar.gz
Replace 8-byte data alignment with LP_SIZE alignment
Diffstat (limited to 'sysdeps/unix/sysv')
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/sigaction.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/x86_64/sigaction.c b/sysdeps/unix/sysv/linux/x86_64/sigaction.c
index 89e02d5d0f..5a3ad1830e 100644
--- a/sysdeps/unix/sysv/linux/x86_64/sigaction.c
+++ b/sysdeps/unix/sysv/linux/x86_64/sigaction.c
@@ -146,7 +146,7 @@ asm \
".LSTARTAUGMNT_" #name ":\n" \
" .byte 0x1b\n" /* DW_EH_PE_pcrel|DW_EH_PE_sdata4. */ \
".LENDAUGMNT_" #name ":\n" \
- " .align 8\n" \
+ " .align " LP_SIZE "\n" \
".LENDCIE_" #name ":\n" \
" .long .LENDFDE_" #name "-.LSTARTFDE_" #name "\n" /* FDE len */ \
".LSTARTFDE_" #name ":\n" \
@@ -177,7 +177,7 @@ asm \
/* do_expr (49 |* rflags *|, oEFL) */ \
/* `cs'/`ds'/`fs' are unaligned and a different size. */ \
/* gas: Error: register save offset not a multiple of 8 */ \
- " .align 8\n" \
+ " .align " LP_SIZE "\n" \
".LENDFDE_" #name ":\n" \
" .previous\n" \
);