aboutsummaryrefslogtreecommitdiff
path: root/libffi/fficonfig.h.in
diff options
context:
space:
mode:
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2008-12-19 14:59:42 +0000
committerRainer Orth <ro@gcc.gnu.org>2008-12-19 14:59:42 +0000
commit4d3d40782b52309b18aa2ae7f99a82d58044d5ad (patch)
tree0015f236039dc18cb0d69c465abfae9a5714bac7 /libffi/fficonfig.h.in
parentfda2cea18b1db62338a5868bdf5ee2c9509a1752 (diff)
downloadgcc-4d3d40782b52309b18aa2ae7f99a82d58044d5ad.zip
gcc-4d3d40782b52309b18aa2ae7f99a82d58044d5ad.tar.gz
gcc-4d3d40782b52309b18aa2ae7f99a82d58044d5ad.tar.bz2
re PR libffi/26048 (libffi doesn't build on Solaris 10/x86 with native assembler)
PR libffi/26048 * configure.ac (HAVE_AS_X86_PCREL): New test. * configure: Regenerate. * fficonfig.h.in: Regenerate. * src/x86/sysv.S [!FFI_NO_RAW_API]: Precalculate RAW_CLOSURE_CIF_OFFSET, RAW_CLOSURE_FUN_OFFSET, RAW_CLOSURE_USER_DATA_OFFSET for the Solaris 10/x86 assembler. (.eh_frame): Only use SYMBOL-. iff HAVE_AS_X86_PCREL. * src/x86/unix64.S (.Lstore_table): Move to .text section. (.Lload_table): Likewise. (.eh_frame): Only use SYMBOL-. iff HAVE_AS_X86_PCREL. From-SVN: r142835
Diffstat (limited to 'libffi/fficonfig.h.in')
-rw-r--r--libffi/fficonfig.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/libffi/fficonfig.h.in b/libffi/fficonfig.h.in
index e93cf8a..90c8990 100644
--- a/libffi/fficonfig.h.in
+++ b/libffi/fficonfig.h.in
@@ -37,6 +37,9 @@
*/
#undef HAVE_AS_SPARC_UA_PCREL
+/* Define if your assembler supports PC relative relocs. */
+#undef HAVE_AS_X86_PCREL
+
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H