]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - bfd/elflink.c
tidy elf_merge_st_other
authorAlan Modra <amodra@gmail.com>
Wed, 9 Jul 2014 05:23:00 +0000 (14:53 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 15 Jul 2014 04:06:38 +0000 (13:36 +0930)
commitcd3416da32a950d8ff4fee2863df57bb3f4b7c51
treeeecedd52038cadb94599d6cac3896d0c8bcfd352
parent98d4551685ad23284e258604b4a3adc175bfa664
tidy elf_merge_st_other

So that we munge isym->st_other once per symbol.

* elflink.c (elf_merge_st_other): Update comments.  Simplify
visibility handling.  Make isym const.  Move code modifying
isym->st_other for --exclude-libs to..
(elf_link_add_object_symbols): ..here.
bfd/ChangeLog
bfd/elflink.c