1/* $OpenBSD: ld.script,v 1.2 2010/05/09 13:27:30 kettenis Exp $ */ 2 3OUTPUT_FORMAT("elf32-hppa") 4OUTPUT_ARCH(hppa) 5ENTRY(begin) 6 7SECTIONS { 8 9 /* Read-only sections, merged into text segment: */ 10 . = + SIZEOF_HEADERS; 11 .text : { 12 *(.text) 13 *(.text.*) 14 *(.rodata) 15 *(.rodata1) 16 *(.rodata.*) 17 *($CODE$) 18 etext = .; 19 } = 0x08000240 20 21 /* Read-write sections, merged into data segment: */ 22 .data : { 23 $global$ = .; 24 *(.data) 25 *(.data1) 26 *(.sdata) 27 *(.sdata2) 28 *(.dynamic) 29 CONSTRUCTORS 30 edata = ABSOLUTE(.); 31 } = 0 32 33 .bss : { 34 __bss_start = .; 35 *(.dynbss) 36 *(.bss) 37 *(.sbss) 38 *(.scommon) 39 *(COMMON) 40 end = ABSOLUTE(.); 41 __bss_end = .; 42 } 43 44 /* don't need an unwind in the boot, unless we'll have a boot-ddb (; */ 45 /DISCARD/ : 46 { 47 *(.PARISC.unwind) 48 } 49} 50 51