[PATCH] D56664: [MSP430] Emit a separate section for every interrupt vector
Kristina Bessonova via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 14 06:33:12 PST 2019
krisb created this revision.
krisb added a reviewer: asl.
Herald added a subscriber: llvm-commits.
Linker scripts shipped by TI require to have every
interrupt vector in a separate section with a specific name:
SECTIONS
{
__interrupt_vector_XX : { KEEP (*(__interrupt_vector_XX )) } > VECTXX
...
}
Follow the requirement emit the section for every vector
which contain address of interrupt handler:
.section __interrupt_vector_XX,"ax", at progbits
.word %isr%
Repository:
rL LLVM
https://reviews.llvm.org/D56664
Files:
lib/Target/MSP430/MSP430AsmPrinter.cpp
test/CodeGen/MSP430/2009-12-21-FrameAddr.ll
test/CodeGen/MSP430/fp.ll
test/CodeGen/MSP430/interrupt.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56664.181547.patch
Type: text/x-patch
Size: 4169 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190114/99dc9aac/attachment.bin>
More information about the llvm-commits
mailing list