diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2009-05-22 18:11:59 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2009-05-22 18:11:59 +0000 |
commit | ad04f5cebf7b3f5ace359ff972bd366ca9a4009a (patch) | |
tree | 55a095355bfd4e1700686fc16db15a0eb6ae2f6b /gas/symbols.c | |
parent | d25eec221e1e0116bd6190e217dbc72498e765ed (diff) | |
download | fsf-binutils-gdb-ad04f5cebf7b3f5ace359ff972bd366ca9a4009a.zip fsf-binutils-gdb-ad04f5cebf7b3f5ace359ff972bd366ca9a4009a.tar.gz fsf-binutils-gdb-ad04f5cebf7b3f5ace359ff972bd366ca9a4009a.tar.bz2 |
gas/
2009-05-22 H.J. Lu <hongjiu.lu@intel.com>
* symbols.c (COPIED_SYMFLAGS): Add BSF_GNU_INDIRECT_FUNCTION.
gas/testsuite/gas/
2009-05-22 H.J. Lu <hongjiu.lu@intel.com>
* gas/elf/ifunc-1.d: New.
* gas/elf/ifunc-1.s: Likewise.
* gas/elf/elf.exp: Run ifunc-1.
Diffstat (limited to 'gas/symbols.c')
-rw-r--r-- | gas/symbols.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/symbols.c b/gas/symbols.c index 660b2a4..3959ee2 100644 --- a/gas/symbols.c +++ b/gas/symbols.c @@ -1948,7 +1948,8 @@ copy_symbol_attributes (symbolS *dest, symbolS *src) /* In an expression, transfer the settings of these flags. The user can override later, of course. */ -#define COPIED_SYMFLAGS (BSF_FUNCTION | BSF_OBJECT) +#define COPIED_SYMFLAGS (BSF_FUNCTION | BSF_OBJECT \ + | BSF_GNU_INDIRECT_FUNCTION) dest->bsym->flags |= src->bsym->flags & COPIED_SYMFLAGS; #ifdef OBJ_COPY_SYMBOL_ATTRIBUTES |