This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH: Handle undefined symbol in DSO from DT_NEEDED


On 8 May 2001, Ulrich Drepper wrote:

> "H . J . Lu" <hjl@lucon.org> writes:
> 
> > glibc 2.2.3 changes atexit from default to hidden. DSOs with
> > unversioned references to atexit fail to link if they are loaded
> > in via a DT_NEEDED entry. This patch makes it non-fatal. I will
> > check it in if I don't hear any objections by Thursday.
> 
> Why should the linker ignore bugs?  Don't work around problems users
> introduced.  Make them fix their code.

The current SUS (draft 6) clearly specifies atexit as a visible interface.

According to this spec glibc is flawed in not presenting this interface.

Fix your code!

Luck,

Dwarf
--
_-_-_-_-_-   Author of "Dwarf's Guide to Debian GNU/Linux"  _-_-_-_-_-_-
_-                                                                    _-
_- aka   Dale Scheetz                   Phone:   1 (850) 656-9769     _-
_-       Flexible Software              11000 McCrackin Road          _-
_-       e-mail:  dwarf@polaris.net     Tallahassee, FL  32308        _-
_-                                                                    _-
_-_-_-_-_-  Released under the GNU Free Documentation License   _-_-_-_-
              available at: http://www.polaris.net/~dwarf/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]