summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC
Commit message (Collapse)AuthorAgeFilesLines
* Add support for parsing a Real value. It stores the Real value as its binaryBill Wendling2011-01-251-1/+7
| | | | | | | encoding. It's up to the individual back-ends to convert it to their preferred representation when printing. llvm-svn: 124229
* Handle strings in section names the same way as gas:Rafael Espindola2011-01-241-3/+14
| | | | | | | * If the name is a single string, we remove the quotes * If the name starts without a quote, we include any quotes in the name llvm-svn: 124127
* Add support for the --noexecstack option.Rafael Espindola2011-01-233-12/+26
| | | | llvm-svn: 124077
* Add support for lowercase variants.Rafael Espindola2011-01-231-0/+14
| | | | llvm-svn: 124071
* Delay the creation of eh_frame so that the user can change the defaults.Rafael Espindola2011-01-232-0/+3
| | | | | | Add support for SHT_X86_64_UNWIND. llvm-svn: 124059
* Remove more duplicated code.Rafael Espindola2011-01-234-61/+61
| | | | llvm-svn: 124056
* Remove duplicated code.Rafael Espindola2011-01-234-30/+34
| | | | llvm-svn: 124054
* Make sure to propogate the error code when we fail to parse a modifier.Jim Grosbach2011-01-191-1/+1
| | | | llvm-svn: 123857
* Use common style for .cfi directivesAnton Korobeynikov2011-01-141-7/+7
| | | | llvm-svn: 123472
* Completed :lower16: / :upper16: support for movw / movt pairs on Darwin.Evan Cheng2011-01-142-9/+140
| | | | | | | | - Fixed :upper16: fix up routine. It should be shifting down the top 16 bits first. - Added support for Thumb2 :lower16: and :upper16: fix up. - Added :upper16: and :lower16: relocation support to mach-o object writer. llvm-svn: 123424
* Add comment about Thumb2 fixup comments being completely bogus.Evan Cheng2011-01-131-1/+3
| | | | llvm-svn: 123411
* Relax an assertion. On archs like ARM, an immediate field may be scattered. ↵Evan Cheng2011-01-131-2/+6
| | | | | | So it's possible for some bits of every 8 bits to be encoded already, and the rest still needs to be fixed up. llvm-svn: 123403
* Model :upper16: and :lower16: as ARM specific MCTargetExpr. This is a stepEvan Cheng2011-01-132-9/+4
| | | | | | | | in the right direction. It eliminated some hacks and will unblock codegen work. But it's far from being done. It doesn't reject illegal expressions, e.g. (FOO - :lower16:BAR). It also doesn't work in Thumb2 mode at all. llvm-svn: 123369
* Style clean up - break up the breaks.Jason W Kim2011-01-131-21/+40
| | | | llvm-svn: 123347
* 1. Support ELF pcrel relocations for movw/movt:Jason W Kim2011-01-121-0/+10
| | | | | | | | R_ARM_MOVT_PREL and R_ARM_MOVW_PREL_NC. 2. Fix minor bug in ARMAsmPrinter - treat bitfield flag as a bitfield, not an enum. 3. Add support for 3 new elf section types (no-ops) llvm-svn: 123294
* Rename TargetFrameInfo into TargetFrameLowering. Also, put couple of FIXMEs ↵Anton Korobeynikov2011-01-101-1/+1
| | | | | | and fixes here and there. llvm-svn: 123170
* Fix PR8878.Rafael Espindola2011-01-011-0/+1
| | | | llvm-svn: 122658
* Make a bunch of symbols internal.Benjamin Kramer2010-12-301-18/+17
| | | | llvm-svn: 122642
* MC/Mach-O/Thumb: Set the thumb bit in the symbol table.Daniel Dunbar2010-12-291-2/+6
| | | | llvm-svn: 122630
* Correctly encode pcrel|indirect.Rafael Espindola2010-12-292-5/+3
| | | | llvm-svn: 122624
* Remove second return.Rafael Espindola2010-12-291-1/+0
| | | | llvm-svn: 122616
* Fix bug when trying to output uint16_t or uint32_t.Rafael Espindola2010-12-291-2/+9
| | | | llvm-svn: 122615
* Implement cfi_def_cfa. Also don't convert to dwarf reg numbers twice. LooksRafael Espindola2010-12-293-14/+59
| | | | | | like 6 is a fixed point of that and so the previous tests were OK :-) llvm-svn: 122614
* Implement cfi_def_cfa_register.Rafael Espindola2010-12-291-0/+8
| | | | llvm-svn: 122612
* Initial .cfi_offset implementation.Rafael Espindola2010-12-291-0/+7
| | | | llvm-svn: 122611
* Don't produce a "DW_CFA_advance_loc 0".Rafael Espindola2010-12-281-1/+2
| | | | llvm-svn: 122609
* Implement .cfi_remember_state and .cfi_restore_state.Rafael Espindola2010-12-283-44/+111
| | | | llvm-svn: 122602
* Cast away "comparison between signed and unsigned integer" warnings.Benjamin Kramer2010-12-281-1/+1
| | | | llvm-svn: 122598
* Fix warning about size potentially being used uninitializedDuncan Sands2010-12-281-1/+0
| | | | | | when doing a release build. llvm-svn: 122594
* Relax address updates in the eh_frame section.Rafael Espindola2010-12-283-22/+101
| | | | llvm-svn: 122591
* Start adding basic support for emitting the call frame instructions.Rafael Espindola2010-12-282-2/+13
| | | | llvm-svn: 122590
* Add support for .cfi_lsda.Rafael Espindola2010-12-274-52/+122
| | | | llvm-svn: 122584
* MC/Mach-O/Thumb: Select appropriate relocation types for Thumb.Daniel Dunbar2010-12-271-9/+11
| | | | llvm-svn: 122583
* Handle reloc_riprel_4byte_movq_load. Should make the bots happy.Rafael Espindola2010-12-271-0/+1
| | | | llvm-svn: 122579
* Add support for the same encodings of the personality function that gnu asRafael Espindola2010-12-276-31/+88
| | | | | | supports. llvm-svn: 122577
* Fix .cfi_personality on 32 bit systems.Rafael Espindola2010-12-261-1/+1
| | | | llvm-svn: 122570
* Add support for @note. Patch by Jörg Sonnenberger.Rafael Espindola2010-12-263-0/+5
| | | | llvm-svn: 122568
* Add basic support for .cfi_personality.Rafael Espindola2010-12-263-10/+50
| | | | llvm-svn: 122566
* Generalize a previous change, fixing PR8855 - an valid large immediateChris Lattner2010-12-251-6/+6
| | | | | | rejected by the mc assembler. llvm-svn: 122557
* Merge IsFixupFullyResolved and IsSymbolRefDifferenceFullyResolved. We nowRafael Espindola2010-12-245-213/+99
| | | | | | have a single point where targets test if a relocation is needed. llvm-svn: 122549
* MC/Mach-O/ARM: Start handling some Thumb branches.Daniel Dunbar2010-12-241-0/+14
| | | | llvm-svn: 122547
* In llvm-mc parse a Hash token as a full line comment. Allows handling ofKevin Enderby2010-12-241-2/+7
| | | | | | | preprocessed .s files and matches darwin gas. rdar://8798690 Also fix a comment on the next line of AsmParser.cpp after this new code. llvm-svn: 122531
* Add r122359 back now that the bug in MCDwarfLineAddrFragment fragment has beenRafael Espindola2010-12-221-19/+5
| | | | | | fixed. llvm-svn: 122448
* Assert that the AddrDelta expression is really constant and wrap it in a setRafael Espindola2010-12-222-2/+10
| | | | | | if we have a lame assembler. llvm-svn: 122446
* Rename NeedsSetToChangeDiffSize to HasAggressiveSymbolFolding which is a muchRafael Espindola2010-12-223-3/+5
| | | | | | better name and matches what is used in the MachO writer. llvm-svn: 122443
* MC/Mach-O/ARM: Don't try to use scattered relocs for BR24 fixups.Daniel Dunbar2010-12-221-1/+1
| | | | llvm-svn: 122441
* Revert r122359 while I debug PR8845.Rafael Espindola2010-12-221-5/+19
| | | | llvm-svn: 122427
* Fix another conditional expression mismatched enum type warning.Matt Beaumont-Gay2010-12-221-1/+2
| | | | llvm-svn: 122419
* MC/Mach-O/ARM: We always use the SECTDIFF reloc type on ARM, which isDaniel Dunbar2010-12-221-6/+1
| | | | | | esp. important given that the LOCAL_SECTDIFF enumeration got redefined. llvm-svn: 122412
* MC/Mach-O/ARM: Clone off an ARM version of RecordScatteredRelocation until I ↵Daniel Dunbar2010-12-221-4/+68
| | | | | | figure out how it is supposed to work. llvm-svn: 122410
OpenPOWER on IntegriCloud