mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Added initial support for small sections on Mips.
Added gp_rel relocations to support addressing small section contents. Added command line to specify small section threshold in bytes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53869 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -37,6 +37,9 @@ namespace llvm {
|
||||
// No relation with Mips Lo register
|
||||
Lo,
|
||||
|
||||
// Handle gp_rel (small data/bss sections) relocation.
|
||||
GPRel,
|
||||
|
||||
// Select CC Pseudo Instruction
|
||||
SelectCC,
|
||||
|
||||
@@ -83,7 +86,7 @@ namespace llvm {
|
||||
SDOperand LowerCCCCallTo(SDOperand Op, SelectionDAG &DAG, unsigned CC);
|
||||
SDNode *LowerCallResult(SDOperand Chain, SDOperand InFlag, SDNode*TheCall,
|
||||
unsigned CallingConv, SelectionDAG &DAG);
|
||||
SDOperand getReturnAddressFrameIndex(SelectionDAG &DAG);
|
||||
bool IsGlobalInSmallSection(GlobalValue *GV);
|
||||
|
||||
// Lower Operand specifics
|
||||
SDOperand LowerRET(SDOperand Op, SelectionDAG &DAG);
|
||||
|
Reference in New Issue
Block a user