Annotation of src/sys/rump/ldscript.rump, Revision 1.3
1.3 ! pooka 1: /* $NetBSD: ldscript.rump,v 1.2 2010/03/01 13:12:19 pooka Exp $ */
1.1 pooka 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:
12: SECTIONS
13: {
14: link_set_modules :
15: {
16: __start_link_set_modules = .;
17: *(link_set_modules);
18: __stop_link_set_modules = .;
19: }
20:
1.2 pooka 21: link_set_rump_components :
22: {
23: __start_link_set_rump_components = .;
24: *(link_set_rump_components);
25: __stop_link_set_rump_components = .;
26: }
1.1 pooka 27: }
28: INSERT AFTER .data;
CVSweb <webmaster@jp.NetBSD.org>