Re: Hidden visibility for obstack symbols

2022-12-02 Thread Bruno Haible
Florian Weimer wrote: > Someone reported that ls in coreutils exported _obstack* symbols. This > is because ls uses the obstack module from gnulib (I assume). Due to > the way ELF linking works by default, this promotes the symbols to > global visibility, so that there is a single definition in t

Hidden visibility for obstack symbols

2022-12-02 Thread Florian Weimer
Someone reported that ls in coreutils exported _obstack* symbols. This is because ls uses the obstack module from gnulib (I assume). Due to the way ELF linking works by default, this promotes the symbols to global visibility, so that there is a single definition in the entire process. This is al