diff options
author | Nick Clifton <nickc@redhat.com> | 2004-01-26 18:09:30 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2004-01-26 18:09:30 +0000 |
commit | 6358301e9957ea78488d4ccb78471f467a2bac97 (patch) | |
tree | 05c95e61f2860e0565ed7ed93c343b4206c26190 /gas/config/tc-m68k.c | |
parent | cbf0ee7967dfcaf5876437ef1a5bad2ccf85f0dc (diff) | |
download | gdb-6358301e9957ea78488d4ccb78471f467a2bac97.zip gdb-6358301e9957ea78488d4ccb78471f467a2bac97.tar.gz gdb-6358301e9957ea78488d4ccb78471f467a2bac97.tar.bz2 |
(EXTERN_FORCE_RELOC): Handle m68k-uclinux specially, like m68k-elf.
(RELAXABLE_SYMBOL): Use EXTERN_FORCE_RELOC instead of hard-coded test for
TARGET_OS=elf.
Diffstat (limited to 'gas/config/tc-m68k.c')
-rw-r--r-- | gas/config/tc-m68k.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-m68k.c b/gas/config/tc-m68k.c index 09a8396..5bef34b 100644 --- a/gas/config/tc-m68k.c +++ b/gas/config/tc-m68k.c @@ -1,6 +1,6 @@ /* tc-m68k.c -- Assemble for the m68k family Copyright 1987, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, - 2000, 2001, 2002, 2003 Free Software Foundation, Inc. + 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -732,7 +732,7 @@ tc_coff_fix2rtype (fixP) libraries, and we can relax any external sym. */ #define relaxable_symbol(symbol) \ - (!((S_IS_EXTERNAL (symbol) && strcmp (TARGET_OS, "elf") != 0) \ + (!((S_IS_EXTERNAL (symbol) && EXTERN_FORCE_RELOC) \ || S_IS_WEAK (symbol))) /* Compute the relocation code for a fixup of SIZE bytes, using pc |