lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
Last change
on this file since 2a98e58 was d630139, checked in by Jakub Jermar <jakub@…>, 19 years ago |
Add arm32 architecture. The 32 suffix is used to specify that 16-bit Thumb
instructions are not used. The arm32 code is mostly composed of placeholders
that need to be replaced by real implementation. So far, the arm32 tree
only compiles. If run under GXEmul simulator, an infinit loop at the
kernel entry point will be entered.
|
-
Property mode
set to
100644
|
File size:
788 bytes
|
Line | |
---|
1 | /*
|
---|
2 | * ARM linker script
|
---|
3 | *
|
---|
4 | * kernel text
|
---|
5 | * kernel data
|
---|
6 | *
|
---|
7 | */
|
---|
8 |
|
---|
9 | ENTRY(kernel_image_start)
|
---|
10 |
|
---|
11 | SECTIONS {
|
---|
12 | .text : {
|
---|
13 | ktext_start = .;
|
---|
14 | *(.text);
|
---|
15 | ktext_end = .;
|
---|
16 | }
|
---|
17 | .data : {
|
---|
18 | kdata_start = .;
|
---|
19 | *(.data); /* initialized data */
|
---|
20 | hardcoded_ktext_size = .;
|
---|
21 | LONG(ktext_end - ktext_start);
|
---|
22 | hardcoded_kdata_size = .;
|
---|
23 | LONG(kdata_end - kdata_start);
|
---|
24 | hardcoded_load_address = .;
|
---|
25 | LONG(0); /* TODO */
|
---|
26 | *(.rodata*);
|
---|
27 | *(.sdata);
|
---|
28 | *(.reginfo);
|
---|
29 | *(symtab.*);
|
---|
30 | }
|
---|
31 | _gp = . + 0x8000;
|
---|
32 | .lit8 : { *(.lit8) }
|
---|
33 | .lit4 : { *(.lit4) }
|
---|
34 | .sbss : {
|
---|
35 | *(.sbss);
|
---|
36 | *(.scommon);
|
---|
37 | }
|
---|
38 | .bss : {
|
---|
39 | *(.bss); /* uninitialized static variables */
|
---|
40 | *(COMMON); /* global variables */
|
---|
41 | }
|
---|
42 |
|
---|
43 | kdata_end = .;
|
---|
44 |
|
---|
45 | /DISCARD/ : {
|
---|
46 | *(.mdebug*);
|
---|
47 | *(.pdr);
|
---|
48 | *(.comment);
|
---|
49 | *(.note);
|
---|
50 | }
|
---|
51 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.