aboutsummaryrefslogtreecommitdiff
path: root/gas/symbols.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-07-29 06:22:13 +0000
committerAlan Modra <amodra@gmail.com>2009-07-29 06:22:13 +0000
commitaf65af87c018aaceb91afaeefabfec9b0b947096 (patch)
tree379d507f881eb851bcb102bb0ec87663538f8562 /gas/symbols.c
parent9384511500f3bedcefcfd0b7d8e88dc01264a35c (diff)
downloadgdb-af65af87c018aaceb91afaeefabfec9b0b947096.zip
gdb-af65af87c018aaceb91afaeefabfec9b0b947096.tar.gz
gdb-af65af87c018aaceb91afaeefabfec9b0b947096.tar.bz2
PR ld/10269
* symbols.c (S_FORCE_RELOC): True for BSF_GNU_INDIRECT_FUNCTION. * config/tc-i386.c: Revert 2009-06-13 change. * config/tc-i386.h: Likewise.
Diffstat (limited to 'gas/symbols.c')
-rw-r--r--gas/symbols.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/symbols.c b/gas/symbols.c
index 761cebf..c72946b 100644
--- a/gas/symbols.c
+++ b/gas/symbols.c
@@ -1,6 +1,6 @@
/* symbols.c -symbol table-
Copyright 1987, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
- 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
+ 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@@ -2053,6 +2053,7 @@ S_FORCE_RELOC (symbolS *s, int strict)
return ((strict
&& ((s->bsym->flags & BSF_WEAK) != 0
+ || (s->bsym->flags & BSF_GNU_INDIRECT_FUNCTION) != 0
|| (EXTERN_FORCE_RELOC
&& (s->bsym->flags & BSF_GLOBAL) != 0)))
|| s->bsym->section == undefined_section