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/sparc/tsc701.ld | |
parent | fae4c299f14fc23e2829c8656992eba21f79242a (diff) | |
download | cygnal-03261851a10dd2d6900a0a00a7515a0a46fb5d76.tar.gz cygnal-03261851a10dd2d6900a0a00a7515a0a46fb5d76.tar.bz2 cygnal-03261851a10dd2d6900a0a00a7515a0a46fb5d76.zip |
20000317 sourceware import
Diffstat (limited to 'libgloss/sparc/tsc701.ld')
-rw-r--r-- | libgloss/sparc/tsc701.ld | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/libgloss/sparc/tsc701.ld b/libgloss/sparc/tsc701.ld new file mode 100644 index 000000000..bc6cd73e5 --- /dev/null +++ b/libgloss/sparc/tsc701.ld @@ -0,0 +1,55 @@ +/* must compile with -nostdlib option */ +OUTPUT_FORMAT("a.out-sunos-big", "a.out-sunos-big", + "a.out-sparc-little") +OUTPUT_ARCH(sparc) +SEARCH_DIR(/usr/local/sparclet-aout/lib) +PROVIDE (__stack = 0); +ENTRY (start) +STARTUP (crt0-701.o) +GROUP (libsplet701.a libc.a libgcc.a) +SECTIONS +{ + /* Sparcmon likes to load programs starting at this address. */ + . = 0x12010000; + .text : + { + CREATE_OBJECT_SYMBOLS + *(.text) + /* The next six sections are for SunOS dynamic linking. The order + is important. */ + *(.dynrel) + *(.hash) + *(.dynsym) + *(.dynstr) + *(.rules) + *(.need) + _etext = .; + __etext = .; + } + .data : + { + /* The first three sections are for SunOS dynamic linking. */ + *(.dynamic) + *(.got) + *(.plt) + *(.data) + *(.linux-dynamic) /* For Linux dynamic linking. */ + CONSTRUCTORS + _edata = .; + __edata = .; + } + .bss : + { + __bss_start = .; + *(.bss) + *(COMMON) + _end = ALIGN(4) ; + __end = ALIGN(4) ; + } + /* This is the value that Sparcmon assigns to the SP at reset, minus 4K. */ + PROVIDE(___stack = 0x123ef000); + PROVIDE(__stack = 0x123ef000); + /* Provide 4K area for copying the trap vectors from ROM to RAM. */ + PROVIDE(___trap_vectors = 0x123f0000); + PROVIDE(__trap_vectors = 0x123f0000); +} |