| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add asm parsing support w/ testcases for strex/ldrex family of instructions | Bruno Cardoso Lopes | 2011-03-24 | 2 | -1/+7 |
| | | | | | llvm-svn: 128236 | ||||
| * | Clean up assembly statement separator support. | Jim Grosbach | 2011-03-24 | 2 | -5/+15 |
| | | | | | | | | | The MC asm lexer wasn't honoring a non-default (anything but ';') statement separator. Fix that, and generalize a bit to support multi-character statement separators. llvm-svn: 128227 | ||||
| * | Fix a bug introduced by my patch yesterday: BL is a 4-byte instructions like ↵ | Owen Anderson | 2011-03-23 | 1 | -3/+2 |
| | | | | | | | BLX, rather than a 2-byte instruction like B. llvm-svn: 128169 | ||||
| * | RIT_ARM_ThumbBranch32Bit relocations are not used and should never be generated. | Owen Anderson | 2011-03-22 | 1 | -6/+2 |
| | | | | | | | | This fixes kimwitu++, bullet, and tramp3dv4 with the ARM integrated assembler. Fixes <rdar://problem/9165738>. llvm-svn: 128117 | ||||
| * | Add support for Thumb interworking addresses for symbol offsets that get ↵ | Owen Anderson | 2011-03-21 | 1 | -0/+5 |
| | | | | | | | | | constant folded very early. This fixes SPASS with -integrated-as. <rdar://problem/9165399> llvm-svn: 128037 | ||||
| * | We need to pass the TargetMachine object to the InstPrinter if we are printing | Bill Wendling | 2011-03-21 | 1 | -1/+2 |
| | | | | | | | | | | the alias of an InstAlias instead of the thing being aliased. Because we need to know the features that are valid for an InstAlias. This is part of a work-in-progress. llvm-svn: 127986 | ||||
| * | Write the section table and the section data in the same order that | Rafael Espindola | 2011-03-20 | 2 | -107/+225 |
| | | | | | | | | gun as does. This makes it a lot easier to compare the output of both as the addresses are now a lot closer. llvm-svn: 127972 | ||||
| * | Reapply 127939 since Daniel fixed the breakage. <rdar://problem/9012638> | Stuart Hastings | 2011-03-19 | 2 | -2/+7 |
| | | | | | llvm-svn: 127944 | ||||
| * | Revert 127939. <rdar://problem/9012638> | Stuart Hastings | 2011-03-19 | 2 | -7/+2 |
| | | | | | llvm-svn: 127943 | ||||
| * | Revise r126127 to address Daniel's comments. <rdar://problem/9012638> | Stuart Hastings | 2011-03-19 | 2 | -2/+7 |
| | | | | | llvm-svn: 127939 | ||||
| * | MC/Mach-O: Fix regression introduced in r126127, this assignment shouldn't have | Daniel Dunbar | 2011-03-17 | 1 | -1/+2 |
| | | | | | | | been removed. llvm-svn: 127812 | ||||
| * | Fix handling of @IDNTPOFF relocations, they need to get STT_TLS. | Joerg Sonnenberger | 2011-03-17 | 1 | -2/+5 |
| | | | | | | | While here, add VK_ARM_TPOFF and VK_ARM_GOTTPOFF, too. llvm-svn: 127780 | ||||
| * | Silence compiler warning about case values not being in the enumerated type | Duncan Sands | 2011-03-15 | 1 | -1/+1 |
| | | | | | | | MCFixupKind. This is the same technique that is used elsewhere in MC. llvm-svn: 127676 | ||||
| * | Fixed the comparison operator for the enhanced | Sean Callanan | 2011-03-12 | 1 | -7/+2 |
| | | | | | | | disassembler's disassembler map. llvm-svn: 127527 | ||||
| * | Add constructors to MCElfStreamer and MCObjectStreamer to take an extra ↵ | Jan Sjödin | 2011-03-09 | 2 | -0/+13 |
| | | | | | | | MCAssembler * argument. llvm-svn: 127343 | ||||
| * | Darwin 'as' silently ignores the '.ident' directive. | Jim Grosbach | 2011-03-08 | 1 | -0/+7 |
| | | | | | llvm-svn: 127258 | ||||
| * | Preliminary support for ARM frame save directives emission via MI flags. | Anton Korobeynikov | 2011-03-05 | 3 | -0/+54 |
| | | | | | | | | This is just very first approximation how the stuff should be done (e.g. ARM-only for now). More to follow. llvm-svn: 127101 | ||||
| * | Some first rudimentary support for ARM EHABI: print exception table in "text ↵ | Anton Korobeynikov | 2011-03-05 | 2 | -0/+56 |
| | | | | | | | mode". llvm-svn: 127099 | ||||
| * | Be nice to Xcore and the XMOS assembler and avoid quoting section names | Joerg Sonnenberger | 2011-03-04 | 1 | -12/+18 |
| | | | | | | | that contain only letters, digits and the characters "_" and ".". llvm-svn: 127028 | ||||
| * | Bug#9033: For the ELF assembler output, always quote the section name. | Joerg Sonnenberger | 2011-03-03 | 1 | -2/+16 |
| | | | | | llvm-svn: 126963 | ||||
| * | Split MCEELFStreamer and ELFObjectWriter into .h and .cpp files, so that ↵ | Jan Sjödin | 2011-03-03 | 4 | -480/+662 |
| | | | | | | | other components can use them. llvm-svn: 126942 | ||||
| * | PR9352: Always emit a relocation for weak symbols. Not emitting relocations | Eli Friedman | 2011-03-03 | 1 | -0/+19 |
| | | | | | | | | | for calls to weak symbols with a definition has the appearance of working with LLVM-generated code because weak symbol definitions are put in their own sections. llvm-svn: 126933 | ||||
| * | Fixes warnings emitted by Visual Studio 2010 compiler. | Oscar Fuentes | 2011-03-01 | 1 | -2/+2 |
| | | | | | | | Patch by Erik Olofsson! llvm-svn: 126796 | ||||
| * | Make all static functions become static class methods. Move shared ↵ | Jan Sjödin | 2011-02-28 | 5 | -138/+203 |
| | | | | | | | (duplicated) functions to new MCELF class. llvm-svn: 126686 | ||||
| * | Roll out r126425 and r126450 to see if it fixes the failures on the buildbots. | Cameron Zwarich | 2011-02-25 | 9 | -45/+0 |
| | | | | | llvm-svn: 126488 | ||||
| * | Restore r125595 (reverted in r126336) with modifications: | Joerg Sonnenberger | 2011-02-24 | 3 | -2/+25 |
| | | | | | | | | Introduce a variable in the AsmParserExtension whether [] is valid in an expression. If it is true, parse them like (). Enable this for ELF only. llvm-svn: 126443 | ||||
| * | Enable DebugInfo support for COFF object files. | Devang Patel | 2011-02-24 | 9 | -0/+45 |
| | | | | | | | Patch by Nathan Jeffords! llvm-svn: 126425 | ||||
| * | Plug some leaks in edis. | Benjamin Kramer | 2011-02-24 | 1 | -0/+4 |
| | | | | | | | | - Don't leak parsed operands during tokenization. - Don't leak printed insts in llvm-mc. llvm-svn: 126381 | ||||
| * | Revert r125595, which is an X86-only undocumented assembly syntax extension | Jim Grosbach | 2011-02-23 | 1 | -18/+0 |
| | | | | | | | | | | | enabled for all targets. Non-X86 targets should not have this behavior enabled by default. Joerg, if you would like to resubmit with the behavior conditionalized to be X86-ELF only, that's fine. llvm-svn: 126336 | ||||
| * | Put in the symbol table symbols only used in a .globl statement. | Rafael Espindola | 2011-02-23 | 1 | -1/+5 |
| | | | | | | | Fixes PR9292. llvm-svn: 126330 | ||||
| * | Fixed a bug in the enhanced disassembler that caused | Sean Callanan | 2011-02-23 | 1 | -3/+17 |
| | | | | | | | | | it to ignore valid uses of FS and GS as additional base registers in address computations. Added a test case for this. llvm-svn: 126302 | ||||
| * | Omit private_extern declarations of extern symbols; followup to | Stuart Hastings | 2011-02-23 | 2 | -0/+2 |
| | | | | | | | r124468. Patch by Rafael Avila de Espindola! llvm-svn: 126297 | ||||
| * | Bug#9172: Don't use static in file scope, use an attribute on the | Joerg Sonnenberger | 2011-02-22 | 1 | -5/+5 |
| | | | | | | | parser. llvm-svn: 126225 | ||||
| * | Handle FK_PCRel_1 and add a test case for this and FK_PCRel_4. | Joerg Sonnenberger | 2011-02-21 | 1 | -0/+4 |
| | | | | | llvm-svn: 126157 | ||||
| * | End the line if we return early. Radar 9012638. | Stuart Hastings | 2011-02-21 | 1 | -1/+3 |
| | | | | | llvm-svn: 126141 | ||||
| * | Fix to correctly support attribute((section("__DATA, __common"))). | Stuart Hastings | 2011-02-21 | 1 | -7/+8 |
| | | | | | | | Radar 9012638. llvm-svn: 126127 | ||||
| * | Use a vector of pairs to implement the section stack, not two | Joerg Sonnenberger | 2011-02-21 | 1 | -2/+2 |
| | | | | | | | independent vectors. llvm-svn: 126099 | ||||
| * | Add some limited support for labels in org directives. Hopefully enough to fix | Rafael Espindola | 2011-02-20 | 1 | -1/+17 |
| | | | | | | | PR9245. llvm-svn: 126091 | ||||
| * | Move library stuff out of the toplevel CMakeLists.txt file. | Oscar Fuentes | 2011-02-18 | 1 | -0/+3 |
| | | | | | llvm-svn: 125968 | ||||
| * | Gas is very inconsistent about when a relaxation/relocation is needed. Do | Rafael Espindola | 2011-02-16 | 4 | -47/+16 |
| | | | | | | | the right thing and stop trying to copy it. Fixes PR8944. llvm-svn: 125648 | ||||
| * | Add support for pushsection and popsection. Patch by Joerg Sonnenberger. | Rafael Espindola | 2011-02-16 | 9 | -42/+53 |
| | | | | | llvm-svn: 125629 | ||||
| * | Add support for parsing [expr]. | Roman Divacky | 2011-02-15 | 1 | -0/+18 |
| | | | | | | | This is submitted by Joerg Sonnenberger and fixes his PR8685. llvm-svn: 125595 | ||||
| * | Switch llvm to using comdats. For now always use groups with a single | Rafael Espindola | 2011-02-14 | 1 | -0/+4 |
| | | | | | | | section. llvm-svn: 125526 | ||||
| * | Move broken HasCommonSymbols to ELFWriter.cpp. | Rafael Espindola | 2011-02-14 | 1 | -11/+0 |
| | | | | | llvm-svn: 125490 | ||||
| * | More whitespace cleanup... | Jim Grosbach | 2011-02-11 | 2 | -41/+41 |
| | | | | | llvm-svn: 125388 | ||||
| * | Fix comparator used for looking up previously instantiated EDDisassemblers. | Shantonu Sen | 2011-02-09 | 1 | -2/+4 |
| | | | | | | | | | | Now, Syntax is only used as a tie-breaker if the Arch matches. Previously, a request for x86_64 disassembler followed by the i386 disassembler in a single process would return the cached x86_64 disassembler. Fixes <rdar://problem/8958982> llvm-svn: 125215 | ||||
| * | Support for .ifdef / .ifndef in the assembler parser. Patch by Joerg ↵ | Benjamin Kramer | 2011-02-08 | 1 | -1/+31 |
| | | | | | | | Sonnenberger. llvm-svn: 125120 | ||||
| * | Teach ARM/MC/ELF about gcc compatible reloc output to get past odd linkage | Jason W Kim | 2011-02-07 | 1 | -3/+45 |
| | | | | | | | | | | | | | | | | | | | failures with relocations. The code committed is a first cut at compatibility for emitted relocations in ELF .o. Why do this? because existing ARM tools like emitting relocs symbols as explicit relocations, not as section-offset relocs. Result is that with these changes, 1) relocs are now substantially identical what to gcc outputs. 2) larger apps (including many spec2k tests) compile, cross-link, and pass Added reminder fixme to tests for future conversion to .s form. llvm-svn: 124996 | ||||
| * | Teach ARM/MC/ELF about EF_ARM_EABI_VERSION. The magic number is set to | Jason W Kim | 2011-02-04 | 1 | -2/+15 |
| | | | | | | | | 5 to match the current doc. Added FIXME reminder Make it really configurable later. llvm-svn: 124899 | ||||
| * | Teach ARM/MC/ELF to handle R_ARM_JUMP24 relocation type for conditional jumps. | Jason W Kim | 2011-02-04 | 2 | -5/+10 |
| | | | | | | | | | | | | | | | | | (yes, this is different from R_ARM_CALL) - Adds a new method getARMBranchTargetOpValue() which handles the necessary distinction between the conditional and unconditional br/bl needed for ARM/ELF At least for ARM mode, the needed fixup for conditional versus unconditional br/bl is identical, but the ARM docs and existing ARM tools expect this reloc type... Added a few FIXME's for future naming fixups in ARMInstrInfo.td llvm-svn: 124895 | ||||

