Rafael Espindola
3d5d464df8
Try harder to evaluate expressions when printing assembly.
...
When printing assembly we don't have a Layout object, but we can still
try to fold some constants.
Testcase by Ulrich Weigand.
llvm-svn: 203677
2014-03-12 16:55:59 +00:00
Venkatraman Govindaraju
fd07500dd1
[Sparc] Emit relocations for Thread Local Storage (TLS) when integrated assembler is used.
...
llvm-svn: 200962
2014-02-07 05:54:20 +00:00
Venkatraman Govindaraju
104643d0aa
[Sparc] Emit correct relocations for PIC code when integrated assembler is used.
...
llvm-svn: 200961
2014-02-07 04:24:35 +00:00
Venkatraman Govindaraju
dfe09b1b5b
[Sparc] Use SparcMCExpr::VariantKind itself as MachineOperand's target flags.
...
llvm-svn: 200960
2014-02-07 02:36:06 +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
Chandler Carruth
8a8cd2bab9
Re-sort all of the includes with ./utils/sort_includes.py so that
...
subsequent changes are easier to review. About to fix some layering
issues, and wanted to separate out the necessary churn.
Also comment and sink the include of "Windows.h" in three .inc files to
match the usage in Memory.inc.
llvm-svn: 198685
2014-01-07 11:48:04 +00:00
Venkatraman Govindaraju
559c4ac377
[Sparc] Add support for parsing sparc asm modifiers such as %hi, %lo etc.,
...
Also, correct the offsets for FixupsKindInfo.
llvm-svn: 198681
2014-01-07 08:00:49 +00:00
Venkatraman Govindaraju
b73aeca888
[Sparc] Add ELF Object Writer for Sparc.
...
llvm-svn: 198580
2014-01-06 01:22:54 +00:00
Venkatraman Govindaraju
08bcf29068
[Sparc] Add target specific MCExpr class to handle sparc specific modifiers like %hi, %lo, etc.,
...
llvm-svn: 198029
2013-12-26 00:01:52 +00:00