OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [libgloss/] [sparc/] [tsc701.ld] - Blame information for rev 309

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
/* must compile with -nostdlib option */
2
OUTPUT_FORMAT("a.out-sunos-big", "a.out-sunos-big",
3
              "a.out-sparc-little")
4
OUTPUT_ARCH(sparc)
5
SEARCH_DIR(/usr/local/sparclet-aout/lib)
6
PROVIDE (__stack = 0);
7
ENTRY (start)
8
STARTUP (crt0-701.o)
9
GROUP (libsplet701.a libc.a libgcc.a)
10
SECTIONS
11
{
12
  /* Sparcmon likes to load programs starting at this address. */
13
  . = 0x12010000;
14
  .text :
15
  {
16
    CREATE_OBJECT_SYMBOLS
17
    *(.text)
18
    /* The next six sections are for SunOS dynamic linking.  The order
19
       is important.  */
20
    *(.dynrel)
21
    *(.hash)
22
    *(.dynsym)
23
    *(.dynstr)
24
    *(.rules)
25
    *(.need)
26
    _etext = .;
27
    __etext = .;
28
  }
29
  .data :
30
  {
31
    /* The first three sections are for SunOS dynamic linking.  */
32
    *(.dynamic)
33
    *(.got)
34
    *(.plt)
35
    *(.data)
36
    *(.linux-dynamic) /* For Linux dynamic linking.  */
37
    CONSTRUCTORS
38
    _edata  =  .;
39
    __edata  =  .;
40
  }
41
  .bss :
42
  {
43
    __bss_start = .;
44
   *(.bss)
45
   *(COMMON)
46
   _end = ALIGN(4) ;
47
   __end = ALIGN(4) ;
48
  }
49
  /* This is the value that Sparcmon assigns to the SP at reset, minus 4K. */
50
  PROVIDE(___stack = 0x123ef000);
51
  PROVIDE(__stack = 0x123ef000);
52
  /* Provide 4K area for copying the trap vectors from ROM to RAM.  */
53
  PROVIDE(___trap_vectors = 0x123f0000);
54
  PROVIDE(__trap_vectors = 0x123f0000);
55
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.