diff options
-rw-r--r-- | lib/Target/PIC16/PIC16Passes/Makefile | 5 | ||||
-rw-r--r-- | lib/Target/PIC16/PIC16Passes/PIC16Overlay.cpp | 3 |
2 files changed, 3 insertions, 5 deletions
diff --git a/lib/Target/PIC16/PIC16Passes/Makefile b/lib/Target/PIC16/PIC16Passes/Makefile index 3ddcaaaad9..9684b8d2ca 100644 --- a/lib/Target/PIC16/PIC16Passes/Makefile +++ b/lib/Target/PIC16/PIC16Passes/Makefile @@ -8,9 +8,8 @@ ##===----------------------------------------------------------------------===## LEVEL = ../../../.. TARGET = PIC16 -LIBRARYNAME = PIC16Passes -LOADABLE_MODULE = 1 - +LIBRARYNAME = LLVMpic16passes +BUILD_ARCHIVE = 1 include $(LEVEL)/Makefile.common diff --git a/lib/Target/PIC16/PIC16Passes/PIC16Overlay.cpp b/lib/Target/PIC16/PIC16Passes/PIC16Overlay.cpp index c94d7fa8dc..197c3987d2 100644 --- a/lib/Target/PIC16/PIC16Passes/PIC16Overlay.cpp +++ b/lib/Target/PIC16/PIC16Passes/PIC16Overlay.cpp @@ -25,8 +25,7 @@ using namespace llvm; namespace llvm { char PIC16FrameOverlay::ID = 0; - static RegisterPass<PIC16FrameOverlay> - X("pic16overlay", "PIC16 Frame Overlay Analysis"); + ModulePass *createPIC16OverlayPass() { return new PIC16FrameOverlay(); } } void PIC16FrameOverlay::getAnalysisUsage(AnalysisUsage &AU) const { |