Date: Thu, 30 Nov 2006 10:50:29 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern link_elf_obj.c Message-ID: <200611301050.kAUAoTO1017761@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2006-11-30 10:50:29 UTC FreeBSD src repository Modified files: sys/kern link_elf_obj.c Log: Linker set support depends on the magic __start_<section> and __stop_<section> symbols generated by the static linker for elf sections. This is done only for the final link, and not for ld -r. Augment elf_obj in-kernel linker by recognizing such special symbols, and resolving them to the start and end of the section automatically. As result, linker sets on amd64 could be used in the same way as on other architectures, without explicit calls to linker_file_lookup_set(). Requested by: rdivacky No objections from: peter, jhb Revision Changes Path 1.94 +47 -0 src/sys/kern/link_elf_obj.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611301050.kAUAoTO1017761>