/************************************************************************ * * * GNU Linker Directives Script * * * ************************************************************************/ /* Author: John Zaitseff Date: 28th May, 2003 Version: 2.0 This file contains directives that tell the GNU Linker to place the ".zeropage" and ".ospage" sections in the right places: at addresses 0x0 and 0x1000 respectively. It also defines a number of labels that can be used in assembly language programs; these labels indicate the start and end addresses of each section. Please note that this file must be used in conjunction with the standard GNU Linker script; the standard script can be found in /usr/local/arm-elf/lib/ldscripts/armelf.x. */ SECTIONS { /* The ".zeropage" section at absolute address 0x00000000 */ .zeropage 0x00000000 : { PROVIDE(__zeropage_start = .); PROVIDE(_zeropage = .); *(.zeropage); PROVIDE(__zeropage_end = .); } /* The ".ospage" section at absolute address 0x00001000 */ .ospage 0x00001000 : { PROVIDE(__ospage_start = .); PROVIDE(_ospage = .); *(.ospage); PROVIDE(__ospage_end = .); } }