| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Changes EvaluateAsAbsolute() to return the "current value" of the expression | Kevin Enderby | 2010-09-30 | 1 | -1/+16 |
| | | | | | | | | | if we are given a Layout object, even in cases when the value is not fixed. This will be needed by the final patch for the dwarf .loc support to size a new MCDwarf fragment needed to build and emit dwarf line number tables. llvm-svn: 115155 | ||||
| * | Silence a GCC warning about not handling all flags in this switch, we | Chandler Carruth | 2010-09-30 | 1 | -2/+2 |
| | | | | | | | specifically assert on unexpected flags. llvm-svn: 115143 | ||||
| * | Move logic of determining ELF entsize from the .s printer to initialization | Jan Wen Voung | 2010-09-30 | 2 | -12/+15 |
| | | | | | | | | time. That way, the EntrySize field is initialized for other code paths, namely, the .ll -> .o code path. llvm-svn: 115141 | ||||
| * | Correctly produce R_X86_64_32 or R_X86_64_32S. | Rafael Espindola | 2010-09-30 | 3 | -8/+12 |
| | | | | | | | | | | | | | | With this patch in movq $foo, foo(%rip) foo: .long foo We produce a R_X86_64_32S for the first relocation and R_X86_64_32 for the second one. llvm-svn: 115134 | ||||
| * | Tiny patch for proof-of-concept cleanup of ARMAsmPrinter::EmitStartOfAsmFile() | Jason W Kim | 2010-09-30 | 2 | -0/+2 |
| | | | | | | | | Small test for sanity check of resulting ARM .s file. Tested against -r115129. llvm-svn: 115133 | ||||
| * | Have ELFAsmParser.cpp use the already parsed "Size" (entry size) when | Jan Wen Voung | 2010-09-30 | 1 | -1/+2 |
| | | | | | | | constructing a section. Test for a few cases also included. llvm-svn: 115132 | ||||
| * | Make it possible for the MCObjectWriter to decide if a given fixup is fully | Rafael Espindola | 2010-09-30 | 4 | -132/+208 |
| | | | | | | | | | | | | resolved or not. Different object files have different restrictions and different native assemblers have different idiosyncrasies we want to emulate for now. Move the existing MachO logic to the new place and implement an ELF one that gets fixups to globals right. llvm-svn: 115131 | ||||
| * | Test commit - Deleted some whitespace at the end of a line. | Jan Wen Voung | 2010-09-30 | 1 | -1/+1 |
| | | | | | llvm-svn: 115122 | ||||
| * | Move "local commons" to the end of .bss to match the gnu as behavior. | Rafael Espindola | 2010-09-29 | 1 | -9/+29 |
| | | | | | llvm-svn: 115037 | ||||
| * | MC-COFF: Fix symbol storage class for globals | Michael J. Spencer | 2010-09-29 | 1 | -1/+1 |
| | | | | | llvm-svn: 115020 | ||||
| * | change the protocol TargetAsmPArser::MatchInstruction method to take an | Chris Lattner | 2010-09-29 | 1 | -9/+3 |
| | | | | | | | | MCStreamer to emit into instead of an MCInst to fill in. This allows the matcher extra flexibility and is more convenient. llvm-svn: 115014 | ||||
| * | On elf, undefined symbols can start with .L. | Rafael Espindola | 2010-09-28 | 1 | -1/+4 |
| | | | | | llvm-svn: 114958 | ||||
| * | Write relocations in the end of the file. This matches what gas does and | Rafael Espindola | 2010-09-27 | 1 | -2/+1 |
| | | | | | | | makes files easier to diff. llvm-svn: 114898 | ||||
| * | Make sure .text doesn't produce extra alignment. | Rafael Espindola | 2010-09-27 | 1 | -9/+3 |
| | | | | | llvm-svn: 114895 | ||||
| * | Factor symbol value computation into a function. | Rafael Espindola | 2010-09-27 | 1 | -9/+17 |
| | | | | | llvm-svn: 114891 | ||||
| * | MC-COFF: Fix signed/unsigned comparison. | Michael J. Spencer | 2010-09-27 | 1 | -2/+2 |
| | | | | | llvm-svn: 114888 | ||||
| * | MC/AsmParser: Handle exponents in floating point literals. | Daniel Dunbar | 2010-09-27 | 1 | -9/+30 |
| | | | | | llvm-svn: 114861 | ||||
| * | Remove unused argument. | Rafael Espindola | 2010-09-27 | 2 | -7/+6 |
| | | | | | llvm-svn: 114852 | ||||
| * | Push twines deeper into SourceMgr's error handling methods. | Benjamin Kramer | 2010-09-27 | 1 | -9/+6 |
| | | | | | llvm-svn: 114847 | ||||
| * | MC-COFF: Drop empty sections, and label symbols. Convert relocations | Michael J. Spencer | 2010-09-27 | 1 | -82/+163 |
| | | | | | | | | | targeted at symbols into relocations relative to the containing section. Patch by Nathan Jeffords! llvm-svn: 114823 | ||||
| * | Move ELF to HasReliableSymbolDifference=true. Also take the opportunity to put | Rafael Espindola | 2010-09-25 | 2 | -11/+72 |
| | | | | | | | symbols defined in merge sections in independent atoms. llvm-svn: 114786 | ||||
| * | Reapply 114678 and 114667. Reverting them did not fix the bot: | Rafael Espindola | 2010-09-24 | 1 | -2/+5 |
| | | | | | | | http://google1.osuosl.org:8011/builders/llvm-gcc-i386-linux-selfhost/builds/69 llvm-svn: 114761 | ||||
| * | Revert 114678 and 114667 to see if | Rafael Espindola | 2010-09-24 | 1 | -5/+2 |
| | | | | | | | | | http://google1.osuosl.org:8011/builders/llvm-gcc-i386-linux-selfhost gets happy. llvm-svn: 114742 | ||||
| * | MC/AsmParser: Handle a missed case of floating literals in the lexer. | Daniel Dunbar | 2010-09-24 | 1 | -1/+1 |
| | | | | | llvm-svn: 114733 | ||||
| * | MC/AsmParser: Support .single and .double for embedding floating point literals. | Daniel Dunbar | 2010-09-24 | 1 | -0/+56 |
| | | | | | | | | - I believe more modern 'gas' supports a more enhanced set of arithmetic on them, but for now the only thing we can do is emit them as data. llvm-svn: 114719 | ||||
| * | MC/Lexer: Add 'Real' token type for floating point literals. | Daniel Dunbar | 2010-09-24 | 1 | -5/+24 |
| | | | | | llvm-svn: 114718 | ||||
| * | MC: Add missing ')' in diagnostic. | Daniel Dunbar | 2010-09-24 | 1 | -1/+1 |
| | | | | | llvm-svn: 114717 | ||||
| * | Correctly handle weak undefined symbols. Before we would get a invalid binding | Rafael Espindola | 2010-09-23 | 1 | -5/+20 |
| | | | | | | | (2 == STB_WEAK | STB_GLOBAL). llvm-svn: 114690 | ||||
| * | Correctly compute the offset of the symbol. Forgot these bits from the | Rafael Espindola | 2010-09-23 | 1 | -1/+4 |
| | | | | | | | last commit. llvm-svn: 114678 | ||||
| * | Represent relocations against local symbols as relocations against the section | Rafael Espindola | 2010-09-23 | 1 | -1/+1 |
| | | | | | | | | | | they are in. Both ways should be equivalent, but gas produces relocations against the section. Roman wrote the patch, I added the test. llvm-svn: 114667 | ||||
| * | Fix the FIXME. | Rafael Espindola | 2010-09-23 | 1 | -1/+1 |
| | | | | | llvm-svn: 114639 | ||||
| * | Fixed a crash in the enhanced disassembler where | Sean Callanan | 2010-09-23 | 1 | -0/+2 |
| | | | | | | | | because of the lack of a newline, AsmToken::Eof was being found instead of AsmToken::EndOfStatement. llvm-svn: 114621 | ||||
| * | Add support for ELF PLT references for ARM MC asm printing. Adding a | Jim Grosbach | 2010-09-22 | 1 | -3/+6 |
| | | | | | | | | | new VariantKind to the MCSymbolExpr seems like overkill, but I'm not sure there's a more straightforward way to get the printing difference captured. (i.e., x86 uses @PLT, ARM uses (PLT)). llvm-svn: 114613 | ||||
| * | Avoid some Mach-O specific alignment being done on ELF. | Rafael Espindola | 2010-09-22 | 5 | -23/+28 |
| | | | | | llvm-svn: 114594 | ||||
| * | allow target-specific label suffixes, patch by Yuri Gribov! | Chris Lattner | 2010-09-22 | 2 | -1/+2 |
| | | | | | llvm-svn: 114592 | ||||
| * | Fix typo and add a FIXME. | Rafael Espindola | 2010-09-22 | 1 | -1/+2 |
| | | | | | llvm-svn: 114570 | ||||
| * | grammar tweakage | Jim Grosbach | 2010-09-22 | 1 | -2/+2 |
| | | | | | llvm-svn: 114561 | ||||
| * | remove trailing whitespace | Jim Grosbach | 2010-09-22 | 1 | -31/+31 |
| | | | | | llvm-svn: 114560 | ||||
| * | Correctly align bss. | Rafael Espindola | 2010-09-22 | 1 | -0/+6 |
| | | | | | llvm-svn: 114556 | ||||
| * | fix rdar://8456417 - llvm-mc can't do basic math | Chris Lattner | 2010-09-22 | 1 | -21/+22 |
| | | | | | llvm-svn: 114532 | ||||
| * | Revert unrelated change that was accidentally included in the previous commit. | Rafael Espindola | 2010-09-21 | 1 | -4/+1 |
| | | | | | llvm-svn: 114383 | ||||
| * | Implement support for .local and its "interesting" interactions with .comm. | Rafael Espindola | 2010-09-21 | 3 | -11/+36 |
| | | | | | llvm-svn: 114382 | ||||
| * | Produce a R_X86_64_32 when the value is >=0. | Rafael Espindola | 2010-09-20 | 1 | -2/+5 |
| | | | | | llvm-svn: 114339 | ||||
| * | Make sure the STT_FILE symbol is the first one in the symbol table. | Rafael Espindola | 2010-09-18 | 1 | -0/+13 |
| | | | | | llvm-svn: 114285 | ||||
| * | Avoid relocations in a common case. | Rafael Espindola | 2010-09-17 | 1 | -1/+10 |
| | | | | | llvm-svn: 114229 | ||||
| * | Fix an MSVC warning. | Daniel Dunbar | 2010-09-17 | 1 | -0/+3 |
| | | | | | llvm-svn: 114184 | ||||
| * | MC/Mach-O/i386: Fix a crash in relocation handling. | Daniel Dunbar | 2010-09-17 | 1 | -1/+2 |
| | | | | | llvm-svn: 114176 | ||||
| * | MC/AsmParser: Add support for 'a + 4@GOTPCREL' and friends, by reconsing the | Daniel Dunbar | 2010-09-17 | 1 | -2/+81 |
| | | | | | | | | | | expression to include the modifier. - Gross, but this a corner case we don't expect to see often in practice, but it is worth accepting. - Also improves diagnostics on invalid modifiers. llvm-svn: 114154 | ||||
| * | Print the address of sections as 0 and create the metadata sections in the | Rafael Espindola | 2010-09-16 | 1 | -33/+24 |
| | | | | | | | same order as gnu as. llvm-svn: 114109 | ||||
| * | Make sure that names like .note.GNU-stack are accepted as valid section names. | Rafael Espindola | 2010-09-16 | 1 | -2/+37 |
| | | | | | llvm-svn: 114091 | ||||

