xref: /netbsd-src/sys/rump/ldscript.rump (revision a5847cc334d9a7029f6352b847e9e8d71a0f9e0c)
1/*	$NetBSD: ldscript.rump,v 1.2 2010/03/01 13:12:19 pooka Exp $	*/
2
3/*
4 * From binutils 2.19 onwards (in NetBSD) binutils ld PROVIDEs
5 * __start/__stop for orphaned sections.  This means that
6 * __start_link_set_modules/__stop_link_set_modules will no
7 * longer automatically be present in shared libraries.  This
8 * ldscript forces those symbols to be present for all rump
9 * shared lib components.
10 */
11
12SECTIONS
13{
14	link_set_modules :
15	{
16		__start_link_set_modules = .;
17		*(link_set_modules);
18		__stop_link_set_modules = .;
19	}
20
21	link_set_domains :
22	{
23		__start_link_set_domains = .;
24		*(link_set_domains);
25		__stop_link_set_domains = .;
26	}
27
28	link_set_rump_components :
29	{
30		__start_link_set_rump_components = .;
31		*(link_set_rump_components);
32		__stop_link_set_rump_components = .;
33	}
34}
35INSERT AFTER .data;
36