* src/SDCCmain.c (linkEdit): modifications only for pic16 port,
authorvrokas <vrokas@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sun, 4 Jul 2004 09:30:49 +0000 (09:30 +0000)
committervrokas <vrokas@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sun, 4 Jul 2004 09:30:49 +0000 (09:30 +0000)
commit5fc7f9939fbe5ce0483efa27c0e749f7991a1fcf
tree64f09482069f4d4f1a4d5dbb59074f6c7bcb0aab
parent99a0f0b7e44bd55936b15e22295039d8e78ef196
* src/SDCCmain.c (linkEdit): modifications only for pic16 port,
add relFilesSet to $3, manipulate $2 to handle linking of object
files without source files in command line,
* device/include/pic16 (all headers): added ID location macros,
* src/pic16/device.c (struct PIC16_device Pics16[]): added field
entries for ID location bytes,
* (pic16_assignIdByteValue): NEW,
* src/pic16/device.h: new structures idRegInfo_t and idBytesInfo_t,
added field dumpcalltree to pic16_options_t,
* src/pic16/gen.c (genCmp): fixed bug case so a temporary register
is used instead of pic16_Gstack_base_addr, check if (ifx) before
emitting rFalseIfx label after check_carry label,
* src/pic16/glue.c (PIC16_IS_IDLOC_ADDRESS, PIC16_IS_HWREG_ADDRESS,
pic16_emitDIRegs), NEW
* (pic16glue): dump .calltree file when option --calltree found,
* src/pic16/main.c (OPTION _pic16_optionsTable): new option --calltree
* (_pic16_genAssemblerPreamble): emit ID locations after
configuration registers,
* (pic16_linkCmd): modifications of the link command,
* src/pic16/pcode.c (pic16_pciMOVFF): PCC_REGISTER replaces PCC_REGISTER2
* (pic16_pCodeInitRegisters): don't init stack registers,
* (pic16_findPrevInstruction): fixed bug,
* (pic16_getRegFromInstruction, pic16_getRegFromInstruction2): fixed
bug with immediate registers,
* (buildCallTree): traces stack push and pop,
* (pct2): dump also stack usage for each function,
* src/pic16/ralloc.c (dynrIdx): registers names start from 0x00
* (pic16_allocDirReg): various modifications,
* (pic16_typeRegWithIdx): when searching pic16_dynProcessorRegs set
fixed to 1,

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3374 4a8a32a2-be11-0410-ad9d-d568d2c75423
30 files changed:
device/include/pic16/pic18f1220.h
device/include/pic16/pic18f2220.h
device/include/pic16/pic18f242.h
device/include/pic16/pic18f248.h
device/include/pic16/pic18f252.h
device/include/pic16/pic18f258.h
device/include/pic16/pic18f442.h
device/include/pic16/pic18f448.h
device/include/pic16/pic18f452.h
device/include/pic16/pic18f458.h
device/include/pic16/pic18f6520.h
device/include/pic16/pic18f6620.h
device/include/pic16/pic18f6680.h
device/include/pic16/pic18f6720.h
device/include/pic16/pic18f8520.h
device/include/pic16/pic18f8620.h
device/include/pic16/pic18f8680.h
device/include/pic16/pic18f8720.h
device/lib/pic16/Makefile
src/SDCCmain.c
src/pic16/device.c
src/pic16/device.h
src/pic16/gen.c
src/pic16/glue.c
src/pic16/main.c
src/pic16/pcode.c
src/pic16/pcode.h
src/pic16/pcoderegs.c
src/pic16/peeph.def
src/pic16/ralloc.c