5
Last change
on this file since ea7f4a0c was
ea7f4a0c,
checked in by Joel Sherrill <joel@…>, on 01/30/18 at 23:25:20
|
sparc/*/linkcmds*: Move ENTRY() from linkcmds.base to top linkcmds
This was at the request of a user to make it easier to have a
custom entry point. This way they just provide their own top
level linkcmds and include linkcmds.base.
Updates #3520.
|
-
Property mode set to
100644
|
File size:
428 bytes
|
Line | |
---|
1 | /* Default values, can be overridden */ |
---|
2 | |
---|
3 | _PROM_SIZE = DEFINED (_PROM_SIZE) ? _PROM_SIZE : 0; |
---|
4 | |
---|
5 | _RAM_SIZE = DEFINED (_RAM_SIZE) ? _RAM_SIZE : 64M; |
---|
6 | |
---|
7 | /* these are the maximum values */ |
---|
8 | |
---|
9 | MEMORY |
---|
10 | { |
---|
11 | rom : ORIGIN = 0xC0000000, LENGTH = 256M |
---|
12 | ram : ORIGIN = 0x00000000, LENGTH = 2048M |
---|
13 | sram : ORIGIN = 0xD0000000, LENGTH = 256M |
---|
14 | } |
---|
15 | |
---|
16 | _PROM_START = ORIGIN (rom); |
---|
17 | _RAM_START = ORIGIN (ram); |
---|
18 | |
---|
19 | ENTRY(start) |
---|
20 | |
---|
21 | INCLUDE linkcmds.base |
---|
Note: See
TracBrowser
for help on using the repository browser.