diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2011-05-09 18:13:35 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2011-05-09 18:13:35 +0000 |
commit | 6fb2acf3203402d4905ca2695e56ad3391a3ed01 (patch) | |
tree | 7228a7a556a479f9ab0f1c4ba1bf82eb7acf6181 /libexec/ld.so/ldd | |
parent | 0beabbbf921d20f11ee32f54174b0bde623347f0 (diff) |
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@
Diffstat (limited to 'libexec/ld.so/ldd')
0 files changed, 0 insertions, 0 deletions