source: branches/v4/platforms/caba-tsar-v0/soft/ldscript @ 485

Last change on this file since 485 was 3, checked in by nipo, 15 years ago

Import platforms

  • Property svn:executable set to *
File size: 2.2 KB
Line 
1/*
2 *
3 * SOCLIB_GPL_HEADER_BEGIN
4 *
5 * This file is part of SoCLib, GNU GPLv2.
6 *
7 * SoCLib is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; version 2 of the License.
10 *
11 * SoCLib is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 * General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with SoCLib; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19 * 02110-1301, USA.
20 *
21 * SOCLIB_GPL_HEADER_END
22 *
23 * Copyright (c) UPMC, Lip6, SoC
24 *         Nicolas Pouillon <nipo@ssji.net>, 2006-2007
25 *
26 * Maintainers: nipo
27 */
28
29SECTIONS
30{
31        special_base = 0x00500000;
32        . = special_base;
33    .ppc_special : {
34                . = 0x100;
35                *(.ppc_special.critical_input)
36                . = 0x200;
37                *(.ppc_special.machine_check)
38                . = 0x300;
39                *(.ppc_special.data_storage)
40                . = 0x400;
41                *(.ppc_special.instruction_storage)
42                . = 0x500;
43                *(.ppc_special.external)
44                . = 0x600;
45                *(.ppc_special.alignment)
46                . = 0x700;
47                *(.ppc_special.program)
48                . = 0xc00;
49                *(.ppc_special.syscall)
50                . = 0x1000;
51                *(.ppc_special.programmable_interval_timer)
52                . = 0x1010;
53                *(.ppc_special.fixed_interval_timer)
54                . = 0x1020;
55                *(.ppc_special.watchdog)
56                . = 0x1100;
57                *(.ppc_special.data_tlb_miss)
58                . = 0x1200;
59                *(.ppc_special.instruction_tlb_miss)
60                . = 0x2000;
61                *(.ppc_special.debug)
62    }
63
64    . = 0xfffffffc;
65    .ppc_boot : {
66                *(.ppc_boot)
67                *(.ppc_boot.*)
68    }
69
70   . = 0x80000000;
71   .excep : {
72                *(.excep)
73                *(.excep.*)
74   }
75
76   . = 0xbfc00000;
77   .reset : {
78                *(.reset)
79                *(.reset.*)
80   }
81
82   . = 0x10020000;
83   .text : {
84      *(.text)
85   }
86   . = 0x10070000;
87   .rodata : {
88      *(.rodata)
89      . = ALIGN(4);
90   }
91   .data  : {
92      *(.data)
93   }
94   .sdata : {
95      *(.lit8)
96      *(.lit4)
97      *(.sdata)
98   }
99   _gp = .;
100   . = ALIGN(4);
101   _edata = .;
102   .sbss  : {
103      *(.sbss)
104      *(.scommon)
105   }
106   .bss   : {
107      *(.bss)
108      *(COMMON)
109   }
110   . = ALIGN(4);
111   _end = .;
112   _heap = .;
113   _stack = 0x10070000-16;
114}
Note: See TracBrowser for help on using the repository browser.