mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Support jump tables when in PIC relocation model
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29318 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -156,9 +156,15 @@ namespace llvm {
|
||||
/// before emitting the constant pool for a function.
|
||||
const char *ConstantPoolSection; // Defaults to "\t.section .rodata\n"
|
||||
|
||||
/// JumpTableSection - This is the section that we SwitchToSection right
|
||||
/// before emitting the jump tables for a function.
|
||||
const char *JumpTableSection; // Defaults to "\t.section .rodata\n"
|
||||
/// JumpTableDataSection - This is the section that we SwitchToSection right
|
||||
/// before emitting the jump tables for a function when the relocation model
|
||||
/// is not PIC.
|
||||
const char *JumpTableDataSection; // Defaults to "\t.section .rodata\n"
|
||||
|
||||
/// JumpTableTextSection - This is the section that we SwitchToSection right
|
||||
/// before emitting the jump tables for a function when the relocation model
|
||||
/// is PIC.
|
||||
const char *JumpTableTextSection; // Defaults to "\t.text\n"
|
||||
|
||||
/// StaticCtorsSection - This is the directive that is emitted to switch to
|
||||
/// a section to emit the static constructor list.
|
||||
|
Reference in New Issue
Block a user