diff options
author | Ranjith Kumaran <ranjith@cygnus.com> | 2000-03-17 22:48:54 +0000 |
---|---|---|
committer | Ranjith Kumaran <ranjith@cygnus.com> | 2000-03-17 22:48:54 +0000 |
commit | 03261851a10dd2d6900a0a00a7515a0a46fb5d76 (patch) | |
tree | 7c22ac6cbbc99fd5cd1b5426853be8d4fd7bfcf1 /libgloss/pa/w89k.ld | |
parent | fae4c299f14fc23e2829c8656992eba21f79242a (diff) | |
download | cygnal-03261851a10dd2d6900a0a00a7515a0a46fb5d76.tar.gz cygnal-03261851a10dd2d6900a0a00a7515a0a46fb5d76.tar.bz2 cygnal-03261851a10dd2d6900a0a00a7515a0a46fb5d76.zip |
20000317 sourceware import
Diffstat (limited to 'libgloss/pa/w89k.ld')
-rw-r--r-- | libgloss/pa/w89k.ld | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/libgloss/pa/w89k.ld b/libgloss/pa/w89k.ld new file mode 100644 index 000000000..721e83b3c --- /dev/null +++ b/libgloss/pa/w89k.ld @@ -0,0 +1,54 @@ +OUTPUT_ARCH(hppa) +ENTRY("$START$") +STARTUP(crt0.o) +GROUP(-lc -lw89k -lgcc) +SEARCH_DIR(.) + +MEMORY +{ + ram (rwx) : ORIGIN = 0x100000, LENGTH = 0x100000 +} + +SECTIONS +{ + .text : + { + CREATE_OBJECT_SYMBOLS + *(.PARISC.stubs) + *(.text) + etext = . ; + _etext = . ; + __CTOR_LIST__ = . ; + LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2) + *(.ctors) + LONG(0) + __CTOR_END__ = . ; + __DTOR_LIST__ = . ; + LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2) + *(.dtors) + LONG(0) + __DTOR_END__ = . ; + *(.lit) + *(.shdata) + $global$ = ALIGN(4) ; + . += 4; + } > ram + + .data : { + *(.data) + CONSTRUCTORS + edata = . ; + _edata = . ; + } > ram + + .bss : { + _bss_start = ALIGN(4) ; + *(.bss) + *(COMMON) + _stack = ALIGN(64) ; /* Stack grows up on the PA!!! */ + . += 0x2000 ; + end = . ; + _end = . ; + } > ram + +} |