📄 rom.dld
字号:
/* @(#) pSOSystem PowerPC/V2.5.0: bsps/ads8xx/rom_di.lnk 4.2 98/07/30 10:35:01 */
/***********************************************************************/
/* */
/* MODULE: bsps/ads8xx/rom_di.lnk */
/* DATE: 98/07/30 */
/* PURPOSE: Linker command file for Generating rom.xxx with DIAB */
/* Tools */
/* */
/*---------------------------------------------------------------------*/
/* */
/* Copyright 1991 - 1998, Integrated Systems, Inc. */
/* ALL RIGHTS RESERVED */
/* */
/* Permission is hereby granted to licensees of Integrated Systems, */
/* Inc. products to use or abstract this computer program for the */
/* sole purpose of implementing a product based on Integrated */
/* Systems, Inc. products. No other rights to reproduce, use, */
/* or disseminate this computer program, whether in part or in */
/* whole, are granted. */
/* */
/* Integrated Systems, Inc. makes no representation or warranties */
/* with respect to the performance of this computer program, and */
/* specifically disclaims any responsibility for any damages, */
/* special or consequential, connected with the use of this program. */
/* */
/*---------------------------------------------------------------------*/
/* */
/* */
/* */
/***********************************************************************/
MEMORY {
rom1: o=0x28000000 l=0x100 /*保留区域*/
rom2: o=0x28000100 l=0x100 /*复位向量*/
rom3: o=0x28001000 l=0x10000 /*代码数据区(Rom)*/
ram1: o=0x00000200 l=0x100 /*MMU-DAE*/
ram2: o=0x00000300 l=0x100 /*MMU-IAE*/
ram3: o=0x00004000 l=0x00FC000 /*代码数据区(Ram)1M*/
ram4: o=0x00100000 l=0x1F00000
}
SECTIONS
{
.Reserved: {
STORE(0x48495355, 4)
STORE(0x4E204456, 4)
STORE(0x53494F4E, 4)
STORE(0x204D554C, 4)
STORE(0x5449504C, 4)
STORE(0x45584552, 4)
STORE(0x204E4F56, 4)
STORE(0x41333030, 4)
STORE(0x30204A4F, 4)
STORE(0x484E4E59, 4)
STORE(0x204C494E, 4)
STORE(0x47202020, 4)
} > rom1
.restvt: {
*(.restvt)
} > rom2
GROUP : {
.text : { *(.text[_START]) init.o upmtab.o }
.CpSrcBg : {}
} > rom3
GROUP : {
.CpDstBg : {}
.text : { *(.text) }
.init : {}
.fini : {}
.eini : {}
.rodata : {}
.sdata2 : {}
.rosdata : {}
} > ram3
GROUP BIND(ADDR(.rosdata)+SIZEOF(.rosdata)) : {
.data : {}
.sdata : {}
.begbss : {}
.sbss : {}
.CpDstEn : {}
.bss : {}
.freemem : {}
} > ram3
.DAE_exp: {
*(.DAE_exp)
} > ram1
.IAE_exp: {
*(.IAE_exp)
} > ram2
}
-u _ResetVector
FreeMemStart = ADDR(.bss)+SIZEOF(.bss);
/* @(#) pSOSystem PowerPC/V2.5.0: bsps/template/ppc/anchor.lnk 4.1 98/06/24 15:46:23 */
/***********************************************************************/
/* */
/* MODULE: bsps/template/anchor.lnk */
/* DATE: 98/06/24 */
/* PURPOSE: Linker command file which defines anchor, rom_anchor and */
/* cp_anchor variables. */
/* */
/*---------------------------------------------------------------------*/
/* */
/* Copyright 1991 - 1998, Integrated Systems, Inc. */
/* ALL RIGHTS RESERVED */
/* */
/* Permission is hereby granted to licensees of Integrated Systems, */
/* Inc. products to use or abstract this computer program for the */
/* sole purpose of implementing a product based on Integrated */
/* Systems, Inc. products. No other rights to reproduce, use, */
/* or disseminate this computer program, whether in part or in */
/* whole, are granted. */
/* */
/* Integrated Systems, Inc. makes no representation or warranties */
/* with respect to the performance of this computer program, and */
/* specifically disclaims any responsibility for any damages, */
/* special or consequential, connected with the use of this program. */
/* */
/*---------------------------------------------------------------------*/
/* */
/* All the following definitions are assuming RAM is at '0' and that */
/* location of RAM is free of Vector initialization. */
/* */
/* If you think your Board Support Package uses these locations then */
/* change all of them to different addresses where you will not over- */
/* write. */
/* */
/***********************************************************************/
cp_anchor = 0x40; /* Component Anchor for Component Calls */
anchor = 0x44; /* Node Anchor definition. Change it for */
rom_anchor = 0x48; /* Node Anchor of ROMed pSOSystem */
/***********************************************************************/
/* RTEC Library variables: */
/***********************************************************************/
__DATA_START = ADDR (.data);
__DATA_SIZE = SIZEOF(.data) + SIZEOF(.sdata) + SIZEOF(.bss) + SIZEOF(.sbss) + SIZEOF(.begbss);
/***********************************************************************/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -