diff options
author | Alan Modra <amodra@gmail.com> | 2020-04-22 11:52:13 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-04-22 22:24:03 +0930 |
commit | 31c89d6038f2658f5e06a762aa9e20e78e74651f (patch) | |
tree | 1ae7e0154824b7aeaaa5b8e1a6a8c83228e779eb /gas/doc | |
parent | 54ac3df1adbf7b4b3470a8df08caa0aea4c89616 (diff) | |
download | gdb-31c89d6038f2658f5e06a762aa9e20e78e74651f.zip gdb-31c89d6038f2658f5e06a762aa9e20e78e74651f.tar.gz gdb-31c89d6038f2658f5e06a762aa9e20e78e74651f.tar.bz2 |
.symver fixes
* config/obj-elf.c (elf_frob_symbol): Unconditionally remove
symbol for ".symver .. remove".
* doc/as.texi (.symver): Update.
* testsuite/gas/symver/symver11.s: Make foo weak.
* testsuite/gas/symver/symver11.d: Expect an error.
* testsuite/gas/symver/symver7.d: Allow other random symbols.
Diffstat (limited to 'gas/doc')
-rw-r--r-- | gas/doc/as.texi | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gas/doc/as.texi b/gas/doc/as.texi index 8669879..a65ddad 100644 --- a/gas/doc/as.texi +++ b/gas/doc/as.texi @@ -7129,13 +7129,12 @@ building a shared library. If you are attempting to override a versioned symbol from a shared library, then @var{nodename} should correspond to the nodename of the symbol you are trying to override. The optional argument @var{visibility} updates the visibility of the original symbol. The valid -visibilities are @code{local}, @code {hidden}, and @code {remove}. The +visibilities are @code{local}, @code{hidden}, and @code{remove}. The @code{local} visibility makes the original symbol a local symbol (@pxref{Local}). The @code{hidden} visibility sets the visibility of the original symbol to @code{hidden} (@pxref{Hidden}). The @code{remove} -visibility removes the original symbol from the symbol table if it isn't -used in relocation. If visibility isn't specified, the original symbol -is unchanged. +visibility removes the original symbol from the symbol table. If visibility +isn't specified, the original symbol is unchanged. If the symbol @var{name} is not defined within the file being assembled, all references to @var{name} will be changed to @var{name2@@nodename}. If no |