4.104.114.84.95
Last change
on this file since 7068e246 was
01c36de,
checked in by Joel Sherrill <joel.sherrill@…>, on 10/06/99 at 18:04:34
|
Added more sections and made minor modifications to let the linkcmds
work with m68k-elf on late model versions of binutils (990901+)
without overlapping or missing section errors.
|
-
Property mode set to
100644
|
File size:
805 bytes
|
Line | |
---|
1 | /* |
---|
2 | * $Id$ |
---|
3 | * |
---|
4 | * MC68302 Linker command file |
---|
5 | * |
---|
6 | */ |
---|
7 | |
---|
8 | SECTIONS |
---|
9 | { |
---|
10 | .vtable 0 : |
---|
11 | { |
---|
12 | vtable_start = .; |
---|
13 | *(.vtable) |
---|
14 | evtable = .; |
---|
15 | } |
---|
16 | |
---|
17 | .text . : |
---|
18 | { |
---|
19 | text_start = .; |
---|
20 | *(.text) |
---|
21 | . = ALIGN (16); |
---|
22 | |
---|
23 | *(.eh_fram) |
---|
24 | . = ALIGN (16); |
---|
25 | |
---|
26 | etext = .; |
---|
27 | . = ALIGN(4); |
---|
28 | __CTOR_LIST__ = .; |
---|
29 | LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2) |
---|
30 | *(.ctors) |
---|
31 | LONG(0) |
---|
32 | __CTOR_END__ = .; |
---|
33 | . = ALIGN(4); |
---|
34 | __DTOR_LIST__ = .; |
---|
35 | LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2) |
---|
36 | *(.dtors) |
---|
37 | LONG(0) |
---|
38 | __DTOR_END__ = .; |
---|
39 | } |
---|
40 | |
---|
41 | .data : { |
---|
42 | data_start = .; |
---|
43 | *(.data) |
---|
44 | *(.rodata) |
---|
45 | edata = .; |
---|
46 | } |
---|
47 | .bss : { |
---|
48 | bss_start = .; |
---|
49 | *(.bss) |
---|
50 | *(COMMON) |
---|
51 | end = . ; |
---|
52 | _end = . ; |
---|
53 | } |
---|
54 | } |
---|
55 | |
---|
56 | m302 = MC68302_BASE; |
---|
57 | _VBR = ADDR(.vtable); /* location of the VBR table (in RAM) */ |
---|
58 | |
---|
Note: See
TracBrowser
for help on using the repository browser.