|
|
1.1 root 1: /* COFF linker directives for the Dolphin Triton88 for GNU compiler.
2: Copyright (C) 1993 Free Software Foundation, Inc.
3:
4: This file is part of GNU CC.
5:
6: GNU CC is free software; you can redistribute it and/or modify
7: it under the terms of the GNU General Public License as published by
8: the Free Software Foundation; either version 2, or (at your option)
9: any later version.
10:
11: GNU CC is distributed in the hope that it will be useful,
12: but WITHOUT ANY WARRANTY; without even the implied warranty of
13: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14: GNU General Public License for more details.
15:
16: You should have received a copy of the GNU General Public License
17: along with GNU CC; see the file COPYING. If not, write to
18: the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
19:
20:
21: This file does the following:
22:
23: - Sets VIRTUAL addr of .text to 0x400200
24: Sets FILE addr of .text to 0x200 (BLOCK directive)
25: - Depending on size of .text section rounds up to next
26: 4 MG boundary, adds (size of .text and vaddr of .text) mod 64K
27: This is to handle sections larger than 4 MG. */
28:
29: SECTIONS {
30: .text 0x400200 BLOCK (0x200):
31: { *(.init) *(.text) *(.rodata) *(.tdesc) *(.fini)}
32:
33: GROUP BIND( (((SIZEOF(.text)+ADDR(.text)) / 0x400000 * 0x400000) + 0x400000) +
34: ((SIZEOF(.text) + ADDR(.text)) % 0x10000) ) :
35: {
36: .data : { }
37: .bss : { }
38: }
39: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.