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