1/* $NetBSD: ld.script,v 1.10 2006/12/05 16:58:11 skrll Exp $ */ 2 3/* $OpenBSD: ld.script,v 1.7 1999/12/17 07:02:38 mickey Exp $ */ 4 5OUTPUT_FORMAT("elf32-hppa-netbsd") 6OUTPUT_ARCH(hppa) 7ENTRY(start) 8SECTIONS 9{ 10 . = + SIZEOF_HEADERS; 11 .text : 12 { 13 kernel_text = . ; 14 *(.text) *(.text.*) 15 *(.reginfo) 16 *(.init) 17 *(.stub) 18 /* .gnu.warning sections are handled specially by elf32.em. */ 19 *(.gnu.warning) 20 . = ALIGN(4096); 21 etext = ABSOLUTE(.); 22 } = 0x08000240 /* nop filled */ 23 24 __rodata_start = ABSOLUTE(.); 25 .rodata : 26 { 27 *(.rodata) *(.rodata.*) *(.rodata1) 28 . = ALIGN(8); 29 } = 0 30 __unwind_start = .; 31 .PARISC.unwind : { *(.PARISC.unwind) } 32 __unwind_end = .; 33 34 /* Place (orphaned) link_sets */ 35 . = .; 36 37 /* Align __rodata_end to page boundary */ 38 . = ALIGN(4096); 39 __rodata_end = ABSOLUTE(.); 40 41 . = ALIGN(0x200000); 42 __data_start = ABSOLUTE(.); 43 .data : 44 { 45 $global$ = . ; 46 . += 4; 47 *(.data) 48 CONSTRUCTORS 49 . = ALIGN(4096); 50 edata = ABSOLUTE(.); 51 } = 0 52 .ctors : { *(.ctors) } 53 .dtors : { *(.dtors) } 54 55 __bss_start = ABSOLUTE(.); 56 /* .sbss : { *(.sbss) *(.scommon) } */ 57 .bss : 58 { 59 *(.dynbss) *(.bss) 60 *(COMMON) *($COMMON$) 61 . = ALIGN(4096); 62 } 63 end = ABSOLUTE(.); 64 .note.netbsd.ident : 65 { 66 KEEP(*(.note.netbsd.ident)); 67 } 68} 69