| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | GCC uses a different encoding of pointers in the FDE when using | Rafael Espindola | 2011-05-01 | 1 | -1/+1 | |
| | | | | | | | -fno-dwarf2-cfi-asm. Implement the same behavior. llvm-svn: 130637 | |||||
| * | 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 | |||||
| * | Split MCEELFStreamer and ELFObjectWriter into .h and .cpp files, so that ↵ | Jan Sjödin | 2011-03-03 | 1 | -117/+2 | |
| | | | | | | | other components can use them. llvm-svn: 126942 | |||||
| * | Make all static functions become static class methods. Move shared ↵ | Jan Sjödin | 2011-02-28 | 1 | -49/+18 | |
| | | | | | | | (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 | 1 | -4/+0 | |
| | | | | | llvm-svn: 126488 | |||||
| * | Enable DebugInfo support for COFF object files. | Devang Patel | 2011-02-24 | 1 | -0/+4 | |
| | | | | | | | Patch by Nathan Jeffords! llvm-svn: 126425 | |||||
| * | Add support for pushsection and popsection. Patch by Joerg Sonnenberger. | Rafael Espindola | 2011-02-16 | 1 | -4/+4 | |
| | | | | | llvm-svn: 125629 | |||||
| * | Add support for the --noexecstack option. | Rafael Espindola | 2011-01-23 | 1 | -2/+4 | |
| | | | | | llvm-svn: 124077 | |||||
| * | Remove more duplicated code. | Rafael Espindola | 2011-01-23 | 1 | -8/+8 | |
| | | | | | llvm-svn: 124056 | |||||
| * | Remove duplicated code. | Rafael Espindola | 2011-01-23 | 1 | -4/+4 | |
| | | | | | llvm-svn: 124054 | |||||
| * | Add basic support for .cfi_personality. | Rafael Espindola | 2010-12-26 | 1 | -1/+1 | |
| | | | | | llvm-svn: 122566 | |||||
| * | 1. ARM/MC/ELF: A few more ELF relocs for .o | Jason W Kim | 2010-12-16 | 1 | -3/+12 | |
| | | | | | | | | 2. Fixed EmitLocalCommonSymbol for ELF (Yes, they exist. :) Test added. llvm-svn: 121951 | |||||
| * | Fixed version of 121434 with no new memory leaks. | Rafael Espindola | 2010-12-10 | 1 | -8/+3 | |
| | | | | | llvm-svn: 121471 | |||||
| * | Revert my previous patch to make the valgrind bots happy. | Rafael Espindola | 2010-12-10 | 1 | -3/+8 | |
| | | | | | llvm-svn: 121461 | |||||
| * | Initial support for the cfi directives. This is just enough to get | Rafael Espindola | 2010-12-09 | 1 | -8/+3 | |
| | | | | | | | | | | | | f: .cfi_startproc nop .cfi_endproc assembled (on ELF). llvm-svn: 121434 | |||||
| * | Sorry for such a large commit. The summary is that only MachO cares about the | Rafael Espindola | 2010-12-07 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | actuall addresses in a .o file, so it is better to let the MachO writer compute it. This is good for two reasons. First, areas that shouldn't care about addresses now don't have access to it. Second, the layout of each section is independent. I should use this in a subsequent commit to speed it up. Most of the patch is just removing the section address computation. The two interesting parts are the change on how we handle padding in the end of sections and how MachO can get the address of a-b when a and b are in different sections. Since now the expression evaluation normally doesn't know the section address, it will think that a-b needs relocation and let the MachO writer know. Once it has computed the section addresses, it calls back the expression evaluation with the section addresses to resolve these expressions. The remaining problem is the handling of padding. Currently it will create a special alignment fragment at the end. Since that fragment doesn't update the alignment of the section, it needs the real address to be computed. Since now the layout will not compute a-b with a and b in different sections, the only effect that the special alignment fragment has is update the address size of the section. This can also be done by the MachO writer. llvm-svn: 121076 | |||||
| * | Try to resolve symbol differences early, and if successful create a plain | Rafael Espindola | 2010-12-03 | 1 | -4/+1 | |
| | | | | | | | | data fragment. This reduces the time to assemble the test in 8711 from 60s to 54s. llvm-svn: 120767 | |||||
| * | Move EmitValueToOffset to the ObjectStreamer. | Rafael Espindola | 2010-12-02 | 1 | -9/+0 | |
| | | | | | llvm-svn: 120691 | |||||
| * | Add EmitInstToFragment to the generic object streamer. | Rafael Espindola | 2010-12-02 | 1 | -16/+4 | |
| | | | | | llvm-svn: 120690 | |||||
| * | Move EmitValue to MCObjectStreamer. | Rafael Espindola | 2010-11-28 | 1 | -20/+0 | |
| | | | | | llvm-svn: 120269 | |||||
| * | Fixed verson of r120245. | Rafael Espindola | 2010-11-28 | 1 | -13/+2 | |
| | | | | | | | Factor some duplicated code into MCObjectStreamer::EmitLabel. llvm-svn: 120248 | |||||
| * | Revert previous patch while I debug the darwin bootstrap failure. | Rafael Espindola | 2010-11-28 | 1 | -2/+15 | |
| | | | | | llvm-svn: 120246 | |||||
| * | Factor some duplicated code into MCObjectStreamer::EmitLabel. | Rafael Espindola | 2010-11-28 | 1 | -15/+2 | |
| | | | | | llvm-svn: 120245 | |||||
| * | Avoid code duplication in the many unsupported EmitGPRel32Value implementations. | Rafael Espindola | 2010-11-28 | 1 | -3/+0 | |
| | | | | | llvm-svn: 120243 | |||||
| * | Define generic 1, 2 and 4 byte pc relative relocations. They are common | Rafael Espindola | 2010-11-28 | 1 | -1/+1 | |
| | | | | | | | and at least the 4 byte one will be needed to implement the .cfi_* directives. llvm-svn: 120240 | |||||
| * | Fix and add tests for all cases in x86 and x86_64 where gnu as implicitly | Rafael Espindola | 2010-11-24 | 1 | -5/+13 | |
| | | | | | | | sets the type of a symbol to STT_TLS. llvm-svn: 120100 | |||||
| * | If a symbol is used as tls, mark it as tls even if not declare as so. Probably | Rafael Espindola | 2010-11-24 | 1 | -0/+40 | |
| | | | | | | | fixes PR8659. llvm-svn: 120076 | |||||
| * | Added support for the Mach-O .symbol_resolver directive. rdar://8673046 | Kevin Enderby | 2010-11-19 | 1 | -0/+1 | |
| | | | | | llvm-svn: 119816 | |||||
| * | Change some methods in MCDwarf.cpp to be able to handle an arbitrary | Rafael Espindola | 2010-11-19 | 1 | -1/+4 | |
| | | | | | | | | | | | | | MCStreamer instead of just MCObjectStreamer. Address changes cannot be as efficient as we have to use DW_LNE_set_addres, but at least most of the logic is shared. This will be used so that, with CodeGen still using EmitDwarfLocDirective, llvm-gcc is able to produce debug_line sections without needing an assembler that supports .loc. llvm-svn: 119777 | |||||
| * | Add .loc methods to the streamer. | Rafael Espindola | 2010-11-16 | 1 | -3/+0 | |
| | | | | | | | | Next: Add support for the !HasDotLocAndDotFile case to the MCAsmStreamer and then switch codegen to use it. llvm-svn: 119384 | |||||
| * | Change MCExpr::EvaluateAsRelocatableImpl of variables to return the original | Rafael Espindola | 2010-11-15 | 1 | -53/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | variable if recursing fails to simplify it. Factor AliasedSymbol to be a method of MCSymbol. Update MCAssembler::EvaluateFixup to match the change in EvaluateAsRelocatableImpl. Remove the WeakRefExpr hack, as the object writer now sees the weakref with no extra effort needed. Nothing else is using MCTargetExpr, but keep it for now. Now that the ELF writer sees relocations with aliases, handle .weak foo2 foo2: .weak bar2 .set bar2,foo2 .quad bar2 the same way gas does and produce a relocation with bar2. llvm-svn: 119152 | |||||
| * | Fix another case of a .comm directive without a corresponding .type | Rafael Espindola | 2010-11-14 | 1 | -1/+2 | |
| | | | | | | | directive. llvm-svn: 119073 | |||||
| * | Fix the type of a symbol created with .comm and no corresponding .type. | Rafael Espindola | 2010-11-14 | 1 | -0/+1 | |
| | | | | | llvm-svn: 119060 | |||||
| * | Handle a peculiar comdat case: Creating a section with an undefined | Rafael Espindola | 2010-11-14 | 1 | -0/+8 | |
| | | | | | | | | signature symbol causes a local symbol to be created unless there is some other use of the symbol. llvm-svn: 119026 | |||||
| * | Fix warning. | Rafael Espindola | 2010-11-14 | 1 | -0/+4 | |
| | | | | | llvm-svn: 119021 | |||||
| * | Mark labels declared in tls sections as STT_TLS. This matches the behavior of | Rafael Espindola | 2010-11-11 | 1 | -32/+37 | |
| | | | | | | | gas. llvm-svn: 118818 | |||||
| * | Add '.code 32' assembler directive to MC streamers. | Jim Grosbach | 2010-11-05 | 1 | -0/+1 | |
| | | | | | llvm-svn: 118309 | |||||
| * | MC'ize the '.code 16' and '.thumb_func' ARM directives. | Jim Grosbach | 2010-11-05 | 1 | -1/+7 | |
| | | | | | llvm-svn: 118301 | |||||
| * | Put class into an anonymous namespace. | Benjamin Kramer | 2010-11-05 | 1 | -0/+2 | |
| | | | | | llvm-svn: 118294 | |||||
| * | Write the line info to .debug_line. | Rafael Espindola | 2010-11-01 | 1 | -0/+9 | |
| | | | | | llvm-svn: 117930 | |||||
| * | Move EmitInstruction to MCObjectStreamer so that ELF and MachO can share it. | Rafael Espindola | 2010-11-01 | 1 | -32/+3 | |
| | | | | | llvm-svn: 117925 | |||||
| * | Implement .weakref. | Rafael Espindola | 2010-11-01 | 1 | -0/+60 | |
| | | | | | llvm-svn: 117911 | |||||
| * | Make sure weak symbols are listed after the local ones. | Rafael Espindola | 2010-10-06 | 1 | -0/+1 | |
| | | | | | llvm-svn: 115795 | |||||
| * | On ELF we need to know which symbols are used in relocations to decide if | Rafael Espindola | 2010-10-05 | 1 | -51/+0 | |
| | | | | | | | | they should be in the symbol table or not. Instead of "guessing", just compute the symbol table after the relocations are known. llvm-svn: 115619 | |||||
| * | Tiny patch for proof-of-concept cleanup of ARMAsmPrinter::EmitStartOfAsmFile() | Jason W Kim | 2010-09-30 | 1 | -0/+1 | |
| | | | | | | | | Small test for sanity check of resulting ARM .s file. Tested against -r115129. llvm-svn: 115133 | |||||
| * | 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 | |||||
| * | Move ELF to HasReliableSymbolDifference=true. Also take the opportunity to put | Rafael Espindola | 2010-09-25 | 1 | -4/+57 | |
| | | | | | | | symbols defined in merge sections in independent atoms. llvm-svn: 114786 | |||||
| * | Avoid some Mach-O specific alignment being done on ELF. | Rafael Espindola | 2010-09-22 | 1 | -1/+1 | |
| | | | | | llvm-svn: 114594 | |||||
| * | Correctly align bss. | Rafael Espindola | 2010-09-22 | 1 | -0/+6 | |
| | | | | | llvm-svn: 114556 | |||||
| * | Implement support for .local and its "interesting" interactions with .comm. | Rafael Espindola | 2010-09-21 | 1 | -6/+23 | |
| | | | | | llvm-svn: 114382 | |||||

