* config/obj-elf.c (obj_elf_visibility): Overwrite only the
visibility portion of st_other.
This commit is contained in:
parent
1a3fdaa703
commit
20e420c2ed
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2002-11-19 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
|
* config/obj-elf.c (obj_elf_visibility): Overwrite only the
|
||||||
|
visibility portion of st_other.
|
||||||
|
|
||||||
2002-11-19 Klee Dienes <kdienes@apple.com>
|
2002-11-19 Klee Dienes <kdienes@apple.com>
|
||||||
|
|
||||||
* config/tc-h8300.c (struct h8_instruction): New type, used to
|
* config/tc-h8300.c (struct h8_instruction): New type, used to
|
||||||
|
|
|
@ -545,7 +545,8 @@ obj_elf_visibility (visibility)
|
||||||
|
|
||||||
assert (elfsym);
|
assert (elfsym);
|
||||||
|
|
||||||
elfsym->internal_elf_sym.st_other = visibility;
|
elfsym->internal_elf_sym.st_other &= ~3;
|
||||||
|
elfsym->internal_elf_sym.st_other |= visibility;
|
||||||
|
|
||||||
if (c == ',')
|
if (c == ',')
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue