diff options
author | H.J. Lu <hjl@lucon.org> | 2009-05-22 18:11:59 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2009-05-22 18:11:59 +0000 |
commit | a4ba22e8f3556c8228e8cc267b2ee6b97e80d4cf (patch) | |
tree | 373ec03ae617be5563d8edb2b8581c1d7f950794 /gas/symbols.c | |
parent | 3383d9754b587a72f2052562377e2d25bce2ddbf (diff) | |
download | binutils-redhat-a4ba22e8f3556c8228e8cc267b2ee6b97e80d4cf.tar.gz |
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 660b2a4f14..3959ee2536 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 |