/usr/share/gputils/lkr/17c42a_g.lkr is in gputils-common 1.4.0-0.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | // File: 17c42a_g.lkr
// Generic linker script for the PIC17C42A processor
//// Begin: Added in gputils
//=========================================================================
//
// Gputils Specific Revision History
//
//=========================================================================
//
// 03 Aug 2014 Changed the registers.
//
//// End: Added in gputils
LIBPATH .
CODEPAGE NAME=page START=0x0 END=0x7FF
CODEPAGE NAME=config START=0xFE00 END=0xFE0F PROTECTED
SHAREBANK NAME=sfrnobnk START=0x0 END=0xF PROTECTED
SHAREBANK NAME=sfrnobnk START=0x100 END=0x10F PROTECTED
SHAREBANK NAME=sfrnobnk START=0x200 END=0x20F PROTECTED
SHAREBANK NAME=sfrnobnk START=0x300 END=0x30F PROTECTED
DATABANK NAME=sfr0 START=0x10 END=0x17 PROTECTED
DATABANK NAME=sfr1 START=0x110 END=0x117 PROTECTED
DATABANK NAME=sfr2 START=0x210 END=0x217 PROTECTED
DATABANK NAME=sfr3 START=0x310 END=0x317 PROTECTED
SHAREBANK NAME=sfrprod START=0x18 END=0x19 PROTECTED
SHAREBANK NAME=sfrprod START=0x118 END=0x119 PROTECTED
SHAREBANK NAME=sfrprod START=0x218 END=0x219 PROTECTED
SHAREBANK NAME=sfrprod START=0x318 END=0x319 PROTECTED
SHAREBANK NAME=registers START=0x1A END=0x1F
//// Begin: Changed in gputils
////SHAREBANK NAME=registers START=0x11A END=0x11F
////SHAREBANK NAME=registers START=0x21A END=0x21F
////SHAREBANK NAME=registers START=0x31A END=0x31F
SHAREBANK NAME=registers START=0x11A END=0x11F PROTECTED
SHAREBANK NAME=registers START=0x21A END=0x21F PROTECTED
SHAREBANK NAME=registers START=0x31A END=0x31F PROTECTED
//// End: Changed in gputils
DATABANK NAME=gpr0 START=0x20 END=0xFF
DATABANK NAME=gpr1 START=0x120 END=0x1FF
|