CVSROOT:        /cvs
Module name:    src
Changes by:     o...@cvs.openbsd.org    2011/05/09 12:13:34

Modified files:
        libexec/ld.so  : library.c loader.c 

Log message:
Outsmart gcc4 on mips* by moving the declaration of _dl_debug_state
outside the file the call is in. Since the function is empty, gcc
optmizes the call away, breaking the gdb hook needed to resolve symbols in
lazy bound shared libs. Analysis by kettenis@; ok miod@ kettenis@

Reply via email to