[BACK]Return to ldscript.rump CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / rump

File: [cvs.NetBSD.org] / src / sys / rump / ldscript.rump (download)

Revision 1.3, Wed Apr 23 17:05:18 2014 UTC (5 months, 3 weeks ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, rmind-smpnet-nbase, rmind-smpnet-base, netbsd-7-base, netbsd-7, HEAD
Changes since 1.2: +1 -8 lines

domains are attached by module(-like) constructors, so no need to
play link_set games with them.

/*	$NetBSD: ldscript.rump,v 1.3 2014/04/23 17:05:18 pooka Exp $	*/

/*
 * From binutils 2.19 onwards (in NetBSD) binutils ld PROVIDEs
 * __start/__stop for orphaned sections.  This means that
 * __start_link_set_modules/__stop_link_set_modules will no
 * longer automatically be present in shared libraries.  This
 * ldscript forces those symbols to be present for all rump
 * shared lib components.
 */

SECTIONS
{
	link_set_modules :
	{
		__start_link_set_modules = .;
		*(link_set_modules);
		__stop_link_set_modules = .;
	}

	link_set_rump_components :
	{
		__start_link_set_rump_components = .;
		*(link_set_rump_components);
		__stop_link_set_rump_components = .;
	}
}
INSERT AFTER .data;