Joerg Sonnenberger
752b91bd82
If available, pass down the Fixup object to EvaluateAsRelocatable.
...
At least on PowerPC, the interpretation of certain modifiers depends on
the context they appear in.
llvm-svn: 215310
2014-08-10 11:35:12 +00:00
Rafael Espindola
e2c6624475
Move expression visitation logic up to MCStreamer.
...
Remove the duplicate from MCRecordStreamer. No functionality change.
llvm-svn: 211714
2014-06-25 15:45:33 +00:00
Rafael Espindola
2be1281d43
Simplify the visitation of target expressions. No functionality change.
...
llvm-svn: 211707
2014-06-25 15:29:54 +00:00
Craig Topper
b0c941bebd
[C++11] Add 'override' keywords and remove 'virtual'. Additionally add 'final' and leave 'virtual' on some methods that are marked virtual without overriding anything and have no obvious overrides themselves. Sparc edition
...
llvm-svn: 207502
2014-04-29 07:57:13 +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
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
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