diff options
author | 1998-10-30 19:44:09 +0000 | |
---|---|---|
committer | 1998-10-30 19:44:09 +0000 | |
commit | b200bb738bce928425f95e3b421bcd75203ecff9 (patch) | |
tree | 86d2e5c080488bd3fbceaeb6daae36619069c017 | |
parent | support booting from disk in raw LIF mode (diff) | |
download | wireguard-openbsd-b200bb738bce928425f95e3b421bcd75203ecff9.tar.xz wireguard-openbsd-b200bb738bce928425f95e3b421bcd75203ecff9.zip |
add ld script
-rw-r--r-- | sys/arch/hppa/conf/ld.script | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/sys/arch/hppa/conf/ld.script b/sys/arch/hppa/conf/ld.script new file mode 100644 index 00000000000..35371b920d9 --- /dev/null +++ b/sys/arch/hppa/conf/ld.script @@ -0,0 +1,45 @@ +/* $OpenBSD: ld.script,v 1.1 1998/10/30 19:44:09 mickey Exp $ */ + +OUTPUT_FORMAT("elf32-hppa") +OUTPUT_ARCH(hppa) +ENTRY(__start) +SECTIONS +{ + /* Read-only sections, merged into text segment: */ + . = 0x12000; + .text : + { + kernel_text = . ; + *(.text) + *($CODE$) + *(.rodata) + *(.rodata1) + *(.reginfo) + *(.init) + *(.stub) + /* .gnu.warning sections are handled specially by elf32.em. */ + *(.gnu.warning) + } = 0 + etext = .; + + .data : + { + kernel_data = . ; + *(.data) + CONSTRUCTORS + } + .ctors : { *(.ctors) } + .dtors : { *(.dtors) } + edata = .; + + __bss_start = .; + .sbss : { *(.sbss) *(.scommon) } + .bss : + { + *(.dynbss) + *(.bss) + *(COMMON) + *($COMMON$) + } + end = .; +} |