Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Sep 2020 11:02:41 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r365716 - stable/11/libexec/rtld-elf
Message-ID:  <202009141102.08EB2fa8057422@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Mon Sep 14 11:02:41 2020
New Revision: 365716
URL: https://svnweb.freebsd.org/changeset/base/365716

Log:
  MFC r365432:
  rtld: pass argc/argv/env to dso inits.
  
  PR:	249162

Modified:
  stable/11/libexec/rtld-elf/rtld.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/libexec/rtld-elf/rtld.c
==============================================================================
--- stable/11/libexec/rtld-elf/rtld.c	Mon Sep 14 11:01:46 2020	(r365715)
+++ stable/11/libexec/rtld-elf/rtld.c	Mon Sep 14 11:02:41 2020	(r365716)
@@ -2786,7 +2786,7 @@ objlist_call_init(Objlist *list, RtldLockState *lockst
 	        (void *)elm->obj->init);
 	    LD_UTRACE(UTRACE_INIT_CALL, elm->obj, (void *)elm->obj->init,
 	        0, 0, elm->obj->path);
-	    call_initfini_pointer(elm->obj, elm->obj->init);
+	    call_init_pointer(elm->obj, elm->obj->init);
 	}
 	init_addr = (Elf_Addr *)elm->obj->init_array;
 	if (init_addr != NULL) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009141102.08EB2fa8057422>