Implement _CONFIG macro to allow users to se to configuration settings on the part.
authorSanjiv Gupta <sanjiv.gupta@microchip.com>
Mon, 6 Jul 2009 10:18:37 +0000 (10:18 +0000)
committerSanjiv Gupta <sanjiv.gupta@microchip.com>
Mon, 6 Jul 2009 10:18:37 +0000 (10:18 +0000)
commit505996fdd5139201f166726dbd8b0247f7ac560b
tree240d6efac7aff12ff8dc8b48310c7504709a3aa8
parent6933d3eff8e47a64803ece18b5a78748a674dc43
Implement _CONFIG macro to allow users to se to configuration settings on the part.
Implement _section macro to allow users to place objects in specific sections.
Implement _address macro to allow users to place objects at a particular address.
Placing objects at a memory address:
crate a unique section name from varname, address, object type and put that section at specified address. Mark this section a full (size = banksize) so that other objects do not compete for it while placing objects to sections in AsmPrinter.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74822 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CompilerDriver/BuiltinOptions.cpp
lib/CompilerDriver/Main.cpp
lib/Target/PIC16/PIC16.h
lib/Target/PIC16/PIC16AsmPrinter.cpp
lib/Target/PIC16/PIC16TargetAsmInfo.cpp
lib/Target/PIC16/PIC16TargetAsmInfo.h