Date: Sat, 24 Aug 2013 21:00:40 +0000 (UTC) From: Mark Johnston <markj@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r254808 - head/sys/kern Message-ID: <201308242100.r7OL0eNG065720@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: markj Date: Sat Aug 24 21:00:39 2013 New Revision: 254808 URL: http://svnweb.freebsd.org/changeset/base/254808 Log: Remove some code that has been commented out since it was added in 2000. Modified: head/sys/kern/link_elf.c Modified: head/sys/kern/link_elf.c ============================================================================== --- head/sys/kern/link_elf.c Sat Aug 24 20:26:41 2013 (r254807) +++ head/sys/kern/link_elf.c Sat Aug 24 21:00:39 2013 (r254808) @@ -702,16 +702,6 @@ link_elf_link_preload_finish(linker_file int error; ef = (elf_file_t) lf; -#if 0 /* this will be more trouble than it's worth for now */ - for (dp = ef->dynamic; dp->d_tag != DT_NULL; dp++) { - if (dp->d_tag != DT_NEEDED) - continue; - modname = ef->strtab + dp->d_un.d_val; - error = linker_load_module(modname, lf); - if (error != 0) - goto out; - } -#endif error = relocate_file(ef); if (error != 0) return (error); @@ -973,16 +963,6 @@ link_elf_load_file(linker_class_t cls, c vn_lock(nd.ni_vp, LK_EXCLUSIVE | LK_RETRY); if (error != 0) goto out; -#if 0 /* this will be more trouble than it's worth for now */ - for (dp = ef->dynamic; dp->d_tag != DT_NULL; dp++) { - if (dp->d_tag != DT_NEEDED) - continue; - modname = ef->strtab + dp->d_un.d_val; - error = linker_load_module(modname, lf); - if (error != 0) - goto out; - } -#endif error = relocate_file(ef); if (error != 0) goto out;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308242100.r7OL0eNG065720>