[PATCH] Treat STV_HIDDEN and STV_INTERNAL symbols as STB_LOCAL
Roland McGrath
roland@hack.frob.com
Mon Apr 4 20:56:00 GMT 2016
The code should have comments explaining why visibility is being checked
despite the fact that it ought to be irrelevant. The cleanest way to do
this would be to introduce a macro for the "treat as local?" predicate and
make the cases you touched all use that.
The ELFW and ElfW macros are used with no space before the paren as a
special exception, because they are not normal function-like macros but
rather ElfW(Foo) stands in for Elf32_Foo and ELFW(ST_FOO) stands in for
ELF32_ST_FOO so making them look more like a single token fits better.
More information about the Libc-alpha
mailing list