aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.in
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2005-11-09 20:13:41 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2005-11-09 20:13:41 +0000
commita0203ca711308b96d33acb895d4f7d254594287c (patch)
treecdc3a1f501856957bef831df0b91b2b381edd2b8 /gcc/config.in
parent317adebb1faac58d50f0e44906aa18edaf663759 (diff)
downloadgcc-a0203ca711308b96d33acb895d4f7d254594287c.zip
gcc-a0203ca711308b96d33acb895d4f7d254594287c.tar.gz
gcc-a0203ca711308b96d33acb895d4f7d254594287c.tar.bz2
re PR other/4372 (#pragma weak pthread* inclusion causes applications to crash without a linker error when one forgets to link with -lpthread)
PR other/4372 * tree.h (IDENTIFIER_TRANSPARENT_ALIAS): New. (TREE_DEPRECATED): Adjust comment. Check for a DECL. * c-common.c (handle_weakref_attribute): New. (c_common_attribute_table): Add weakref. * configure.ac (HAVE_GAS_WEAKREF): Check for weakref support in the assembler. * configure, config.in: Rebuilt. * defaults.h (ASM_OUTPUT_WEAKREF): Define if HAVE_GAS_WEAKREF. * doc/extend.texi: Document weakref attribute. * varasm.c (ultimate_transparent_alias_target): New (assemble_name): Use it. (weak_finish_1): Split out of... (weak_finish): ... and deal with weakrefs in... (weakref_targets): ... new list. (globalize_decl): Clean up weakref_targets. (do_assemble_alias): Handle weakrefs. (finish_aliases_1): Do not reject weakrefs to external symbols. (assemble_alias): Handle weakrefs. From-SVN: r106703
Diffstat (limited to 'gcc/config.in')
-rw-r--r--gcc/config.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config.in b/gcc/config.in
index fa39a35..3577c8c 100644
--- a/gcc/config.in
+++ b/gcc/config.in
@@ -744,6 +744,12 @@
#endif
+/* Define if your assembler supports .weakref. */
+#ifndef USED_FOR_TARGET
+#undef HAVE_GAS_WEAKREF
+#endif
+
+
/* Define to 1 if you have the `getchar_unlocked' function. */
#ifndef USED_FOR_TARGET
#undef HAVE_GETCHAR_UNLOCKED