blob: 9ae6c46830bdf2b54b5fea235a36b7d839b4ec3b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
/* $NetBSD: ldscript.rump,v 1.2 2010/03/01 13:12:19 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_domains :
{
__start_link_set_domains = .;
*(link_set_domains);
__stop_link_set_domains = .;
}
link_set_rump_components :
{
__start_link_set_rump_components = .;
*(link_set_rump_components);
__stop_link_set_rump_components = .;
}
}
INSERT AFTER .data;
|