aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>2000-03-16 01:58:14 +0000
committerJeff Law <law@gcc.gnu.org>2000-03-15 18:58:14 -0700
commit1282214677071111c6b56dc8b49efa192c59996b (patch)
tree5d7685a5345a40ddf4783bb2eebb76ec6cb1555e /gcc/config
parent2c6c322a97713bff059648c8d2bbe87c16cd6b77 (diff)
downloadgcc-1282214677071111c6b56dc8b49efa192c59996b.zip
gcc-1282214677071111c6b56dc8b49efa192c59996b.tar.gz
gcc-1282214677071111c6b56dc8b49efa192c59996b.tar.bz2
acconfig.h (HAVE_GAS_WEAK): New define.
* acconfig.h (HAVE_GAS_WEAK): New define. * configure.in (assembler weak support): Check for .weak support. * config.in, configure: Rebuilt. * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if HAVE_GAS_WEAK is defined. From-SVN: r32573
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/pa/som.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/pa/som.h b/gcc/config/pa/som.h
index d00db58..8219ca7 100644
--- a/gcc/config/pa/som.h
+++ b/gcc/config/pa/som.h
@@ -378,6 +378,7 @@ do { \
/* The .align directive in the HP assembler allows up to a 32 alignment. */
#define MAX_OFILE_ALIGNMENT 32768
+#ifdef HAVE_GAS_WEAK
#define MAKE_DECL_ONE_ONLY(DECL) (DECL_WEAK (DECL) = 1)
/* This is how we tell the assembler that a symbol is weak. */
@@ -385,3 +386,4 @@ do { \
#define ASM_WEAKEN_LABEL(FILE,NAME) \
do { fputs ("\t.weak\t", FILE); assemble_name (FILE, NAME); \
fputc ('\n', FILE); } while (0)
+#endif