| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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 | ||||
| * | Do not sign extend floating-point values in the asm parser. | Bob Wilson | 2011-02-03 | 1 | -1/+1 |
| | | | | | llvm-svn: 124831 | ||||
| * | Fix bogus assert condition noticed by Csaba Raduly. | Evan Cheng | 2011-02-01 | 1 | -2/+2 |
| | | | | | llvm-svn: 124645 | ||||
| * | Enumerate .code16/32/64 instead of checking .code prefix. This | Roman Divacky | 2011-01-31 | 1 | -1/+1 |
| | | | | | | | unbreaks some ARM tests. llvm-svn: 124608 | ||||
| * | Error on all .code* directives instead of just .code16 as they | Roman Divacky | 2011-01-31 | 1 | -2/+2 |
| | | | | | | | all lead to a silent miscompilation of code. llvm-svn: 124603 | ||||
| * | Error on .code16 instead of producing wrong (32bit) code. | Roman Divacky | 2011-01-28 | 1 | -0/+3 |
| | | | | | llvm-svn: 124498 | ||||
| * | Add support for parsing .float | Roman Divacky | 2011-01-28 | 1 | -1/+1 |
| | | | | | llvm-svn: 124485 | ||||
| * | PR8951: Support for .equiv in integrated assembler, patch by Jörg Sonnenberger! | Nico Weber | 2011-01-28 | 1 | -8/+12 |
| | | | | | llvm-svn: 124467 | ||||
| * | Add support for specifying register name in cfi-register/offset/def | Roman Divacky | 2011-01-27 | 1 | -3/+23 |
| | | | | | | | as well as register number. llvm-svn: 124379 | ||||
| * | Add support for parsing a Real value. It stores the Real value as its binary | Bill Wendling | 2011-01-25 | 1 | -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 Espindola | 2011-01-24 | 1 | -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 Espindola | 2011-01-23 | 3 | -12/+26 |
| | | | | | llvm-svn: 124077 | ||||
| * | Add support for lowercase variants. | Rafael Espindola | 2011-01-23 | 1 | -0/+14 |
| | | | | | llvm-svn: 124071 | ||||
| * | Delay the creation of eh_frame so that the user can change the defaults. | Rafael Espindola | 2011-01-23 | 2 | -0/+3 |
| | | | | | | | Add support for SHT_X86_64_UNWIND. llvm-svn: 124059 | ||||
| * | Remove more duplicated code. | Rafael Espindola | 2011-01-23 | 4 | -61/+61 |
| | | | | | llvm-svn: 124056 | ||||
| * | Remove duplicated code. | Rafael Espindola | 2011-01-23 | 4 | -30/+34 |
| | | | | | llvm-svn: 124054 | ||||
| * | Make sure to propogate the error code when we fail to parse a modifier. | Jim Grosbach | 2011-01-19 | 1 | -1/+1 |
| | | | | | llvm-svn: 123857 | ||||
| * | Use common style for .cfi directives | Anton Korobeynikov | 2011-01-14 | 1 | -7/+7 |
| | | | | | llvm-svn: 123472 | ||||
| * | Completed :lower16: / :upper16: support for movw / movt pairs on Darwin. | Evan Cheng | 2011-01-14 | 2 | -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 Cheng | 2011-01-13 | 1 | -1/+3 |
| | | | | | llvm-svn: 123411 | ||||
| * | Relax an assertion. On archs like ARM, an immediate field may be scattered. ↵ | Evan Cheng | 2011-01-13 | 1 | -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 step | Evan Cheng | 2011-01-13 | 2 | -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 Kim | 2011-01-13 | 1 | -21/+40 |
| | | | | | llvm-svn: 123347 | ||||
| * | 1. Support ELF pcrel relocations for movw/movt: | Jason W Kim | 2011-01-12 | 1 | -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 | ||||

