diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2010-05-19 15:31:36 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2010-05-19 15:31:36 +0000 |
commit | d416abb494df912d22716d8882b7aceaab487fdf (patch) | |
tree | 98454e0778c8a618a064eb0900e2248bceec7517 /libffi/src | |
parent | ed1041376a981f996d566de4284222f06c8bd6c3 (diff) | |
download | gcc-d416abb494df912d22716d8882b7aceaab487fdf.zip gcc-d416abb494df912d22716d8882b7aceaab487fdf.tar.gz gcc-d416abb494df912d22716d8882b7aceaab487fdf.tar.bz2 |
configure.ac (libffi_cv_as_x86_pcrel): Check for illegal in as output, too.
* configure.ac (libffi_cv_as_x86_pcrel): Check for illegal in as
output, too.
(libffi_cv_as_ascii_pseudo_op): Check for .ascii.
(libffi_cv_as_string_pseudo_op): Check for .string.
* configure: Regenerate.
* fficonfig.h.in: Regenerate.
* src/x86/sysv.S (.eh_frame): Use .ascii, .string or error.
From-SVN: r159570
Diffstat (limited to 'libffi/src')
-rw-r--r-- | libffi/src/x86/sysv.S | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/libffi/src/x86/sysv.S b/libffi/src/x86/sysv.S index f4b6c1e..2e5e3da 100644 --- a/libffi/src/x86/sysv.S +++ b/libffi/src/x86/sysv.S @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------- - sysv.S - Copyright (c) 1996, 1998, 2001-2003, 2005, 2008 Red Hat, Inc. + sysv.S - Copyright (c) 1996, 1998, 2001-2003, 2005, 2008, 2010 Red Hat, Inc. X86 Foreign Function Interface @@ -331,11 +331,21 @@ ffi_closure_raw_SYSV: .LSCIE1: .long 0x0 /* CIE Identifier Tag */ .byte 0x1 /* CIE Version */ +#ifdef HAVE_AS_ASCII_PSEUDO_OP #ifdef __PIC__ .ascii "zR\0" /* CIE Augmentation */ #else .ascii "\0" /* CIE Augmentation */ #endif +#elif defined HAVE_AS_STRING_PSEUDO_OP +#ifdef __PIC__ + .string "zR" /* CIE Augmentation */ +#else + .string "" /* CIE Augmentation */ +#endif +#else +#error missing .ascii/.string +#endif .byte 0x1 /* .uleb128 0x1; CIE Code Alignment Factor */ .byte 0x7c /* .sleb128 -4; CIE Data Alignment Factor */ .byte 0x8 /* CIE RA Column */ |