1/* $NetBSD: ldscript.rump,v 1.3 2014/04/23 17:05:18 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_rump_components : 22 { 23 __start_link_set_rump_components = .; 24 *(link_set_rump_components); 25 __stop_link_set_rump_components = .; 26 } 27} 28INSERT AFTER .data; 29