* config/i386/cygming.h
[HAVE_GAS_WEAK] (ASM_WEAKEN_LABEL): Macro defined.
* lib/target-supports.exp (check_weak_available): Support
Windows.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90164
138bc75d-0d04-0410-961f-
82ee72b054a4
+2004-11-06 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
+
+ PR target/18106
+ * config/i386/cygming.h
+ [HAVE_GAS_WEAK] (ASM_WEAKEN_LABEL): Macro defined.
+
2004-11-06 Kazu Hirata <kazu@cs.umass.edu>
* config/sh/sh4a.md: Fix copyright.
ASM_OUTPUT_DEF (STREAM, alias, IDENTIFIER_POINTER (TARGET)); \
} while (0)
+/* GNU as supports weak symbols on PECOFF. */
+#ifdef HAVE_GAS_WEAK
+#define ASM_WEAKEN_LABEL(FILE, NAME) \
+ do \
+ { \
+ fputs ("\t.weak\t", (FILE)); \
+ assemble_name ((FILE), (NAME)); \
+ fputc ('\n', (FILE)); \
+ } \
+ while (0)
+#endif /* HAVE_GAS_WEAK */
+
/* Decide whether it is safe to use a local alias for a virtual function
when constructing thunks. */
#undef TARGET_USE_LOCAL_THUNK_ALIAS_P
+2004-11-06 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
+
+ PR target/18106
+ * lib/target-supports.exp (check_weak_available): Support
+ Windows.
+
2004-11-05 Danny Smith <dannysmith@users.sourceforge.net>
* gcc.dg/compat/struct-layout-1_generate.c (main): Generate a
-# Copyright (C) 1999, 2001, 2003 Free Software Foundation, Inc.
+# Copyright (C) 1999, 2001, 2003, 2004 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
return 1
}
+ # Windows targets Cygwin and MingW32 support it
+
+ if { [regexp ".*mingw32|.*cygwin" $target_triplet] } {
+ return 1
+ }
+
# ELF and ECOFF support it. a.out does with gas/gld but may also with
# other linkers, so we should try it