mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-16 23:57:54 +01:00
More proper fix for for shared lib debugging support.
This commit is contained in:
parent
5b3dd4f53e
commit
9d4389fddc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=973
@ -27,7 +27,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: rtld.c,v 1.12 1993/12/22 23:28:35 jkh Exp $
|
||||
* $Id: rtld.c,v 1.13 1994/01/12 23:16:19 jkh Exp $
|
||||
*/
|
||||
|
||||
#include <machine/vmparam.h>
|
||||
@ -242,7 +242,7 @@ struct link_dynamic *dp;
|
||||
if (link_map_head)
|
||||
ldp->ldd_sym_loaded = 1;
|
||||
}
|
||||
crtp->crt_dp->ld_un.ld_2->ld_loaded = link_map_head;
|
||||
crtp->crt_dp->ld_un.ld_2->ld_loaded = link_map_head->lm_next;
|
||||
/* Close our file descriptor */
|
||||
(void)close(crtp->crt_ldfd);
|
||||
}
|
||||
|
@ -27,7 +27,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: rtld.c,v 1.12 1993/12/22 23:28:35 jkh Exp $
|
||||
* $Id: rtld.c,v 1.13 1994/01/12 23:16:19 jkh Exp $
|
||||
*/
|
||||
|
||||
#include <machine/vmparam.h>
|
||||
@ -242,7 +242,7 @@ struct link_dynamic *dp;
|
||||
if (link_map_head)
|
||||
ldp->ldd_sym_loaded = 1;
|
||||
}
|
||||
crtp->crt_dp->ld_un.ld_2->ld_loaded = link_map_head;
|
||||
crtp->crt_dp->ld_un.ld_2->ld_loaded = link_map_head->lm_next;
|
||||
/* Close our file descriptor */
|
||||
(void)close(crtp->crt_ldfd);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user