Venkatraman Govindaraju
52b6473d74
[Sparc] Set %o7 as the return address register instead of %i7 in MCRegisterInfo. Also, add CFI instructions to initialize the frame correctly.
...
llvm-svn: 200617
2014-02-01 18:54:16 +00:00
Venkatraman Govindaraju
141d0e2221
[Sparc] Use %r_disp32 for pc_rel entries in FDE as well.
...
This makes MCAsmInfo::getExprForFDESymbol() a virtual function and overrides it in SparcMCAsmInfo.
llvm-svn: 200376
2014-01-29 06:59:20 +00:00
Venkatraman Govindaraju
fd5c1f9497
[Sparc] Use %r_disp32 for pc_rel entries in gcc_except_table and eh_frame.
...
Otherwise, assembler (gas) fails to assemble them with error message "operation
combines symbols in different segments". This is because MC computes
pc_rel entries with subtract expression between labels from different sections.
llvm-svn: 200373
2014-01-29 04:51:35 +00:00
Jakob Stoklund Olesen
83c677353b
Fix the DWARF EH encodings for Sparc PIC code.
...
Also emit the stubs that were generated for references to typeinfo
symbols.
llvm-svn: 200282
2014-01-28 02:52:26 +00:00
Venkatraman Govindaraju
bf683fd15c
[Sparc] Lower and MachineInstr to MC and print assembly using MCInstPrinter.
...
llvm-svn: 198030
2013-12-26 01:49:59 +00:00
Venkatraman Govindaraju
4c0cdd734c
[Sparc] Implements exception handling in SPARC with DwarfCFI.
...
llvm-svn: 191432
2013-09-26 15:11:00 +00:00