| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix typo. | Daniel Dunbar | 2010-11-08 | 1 | -1/+1 |
| | | | | | llvm-svn: 118421 | ||||
| * | Set default flags for .rodata. | Rafael Espindola | 2010-11-08 | 1 | -1/+3 |
| | | | | | llvm-svn: 118395 | ||||
| * | Speed up AddSectionToTheEnd. It was walking all fragments in all sections. | Rafael Espindola | 2010-11-07 | 1 | -19/+4 |
| | | | | | | | | | | | This is really slow with we have 1000s of sections each with a corresponding relocation section. Also, it is only used by the ELF writer to add basic data, so there is no need to force a new layout pass. Should fix PR8563. llvm-svn: 118377 | ||||
| * | Relax dwarf line fragments. This fixes a crash in the included testcase. | Rafael Espindola | 2010-11-07 | 1 | -13/+18 |
| | | | | | llvm-svn: 118365 | ||||
| * | Add '.code 32' assembler directive to MC streamers. | Jim Grosbach | 2010-11-05 | 3 | -0/+3 |
| | | | | | llvm-svn: 118309 | ||||
| * | MC'ize the '.code 16' and '.thumb_func' ARM directives. | Jim Grosbach | 2010-11-05 | 6 | -2/+36 |
| | | | | | llvm-svn: 118301 | ||||
| * | Put class into an anonymous namespace. | Benjamin Kramer | 2010-11-05 | 1 | -0/+2 |
| | | | | | llvm-svn: 118294 | ||||
| * | Allow targets to specify the MachO CPUType/CPUSubtype information. | Jim Grosbach | 2010-11-05 | 1 | -7/+13 |
| | | | | | llvm-svn: 118288 | ||||
| * | syntaxunified directive is a no-op for MachO writing. | Jim Grosbach | 2010-11-05 | 1 | -0/+1 |
| | | | | | llvm-svn: 118287 | ||||
| * | Add 118023 back, but with proper spelling for .uleb128/.sleb128. | Rafael Espindola | 2010-11-04 | 1 | -2/+4 |
| | | | | | llvm-svn: 118254 | ||||
| * | Do relaxations with FT_Org fragments. Fixes the FIXME: | Rafael Espindola | 2010-11-02 | 1 | -18/+24 |
| | | | | | | | | | | // FIXME: We should compute this sooner, we don't want to recurse here, and // we would like to be more functional. In MCAssembler::ComputeFragmentSize. llvm-svn: 118080 | ||||
| * | Add support for expressions in .sleb/.uleb directives. | Rafael Espindola | 2010-11-02 | 8 | -87/+159 |
| | | | | | llvm-svn: 118023 | ||||
| * | 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 | 4 | -69/+46 |
| | | | | | llvm-svn: 117925 | ||||
| * | Add support for .value. | Rafael Espindola | 2010-11-01 | 1 | -0/+2 |
| | | | | | llvm-svn: 117922 | ||||
| * | Implement .weakref. | Rafael Espindola | 2010-11-01 | 8 | -2/+121 |
| | | | | | llvm-svn: 117911 | ||||
| * | Add support for files with more than 65280 sections. No testcase since | Rafael Espindola | 2010-10-31 | 1 | -42/+109 |
| | | | | | | | it would be a bit too big :-) llvm-svn: 117849 | ||||
| * | Be more strict on when we produce an undefined reference. In gas a file with | Rafael Espindola | 2010-10-29 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | just .type foo,@object will produce an undefined reference to foo. On the other hand, a file with just .weakref bar, foo will not. It is somewhat hard to support both in MC since both statements should create the symbols. It should be possible if we really need to by adding to the flags, but hopefully that is not necessary. With this patch we do not produce a undefined reference in any of those cases. The assembly file needs an actual use for the undefined reference to be present. This is in preparation for a patch implementing .weakref. llvm-svn: 117735 | ||||
| * | Improvements to .section parsing: | Rafael Espindola | 2010-10-28 | 1 | -10/+38 |
| | | | | | | | | | | | * If we have a M or a G, reject sections without the type * Only parse the flag specific arguments if we have M or G * Parse the corresponding arguments for M and G We ignore the G arguments and flag for now. llvm-svn: 117608 | ||||
| * | Add support for the .string directive. | Rafael Espindola | 2010-10-28 | 1 | -8/+10 |
| | | | | | llvm-svn: 117592 | ||||
| * | Defined weak symbols should have non-zero value. | Rafael Espindola | 2010-10-28 | 1 | -4/+3 |
| | | | | | llvm-svn: 117585 | ||||
| * | Fix relocations with renamed symbols. | Rafael Espindola | 2010-10-28 | 1 | -5/+6 |
| | | | | | llvm-svn: 117575 | ||||
| * | Aliases defined with .symver should copy the binding of the symbols they alias. | Rafael Espindola | 2010-10-28 | 1 | -6/+21 |
| | | | | | | | | Move the existing patching for undefined symbols so that all the patching is done in the same function. llvm-svn: 117570 | ||||
| * | Use the IDVal directly as there's no need to convert to std::string. | Roman Divacky | 2010-10-28 | 1 | -2/+2 |
| | | | | | | | Pointed out by Chris! llvm-svn: 117557 | ||||
| * | Implement .equ directive as a synonym to .set. | Roman Divacky | 2010-10-28 | 1 | -6/+6 |
| | | | | | llvm-svn: 117553 | ||||
| * | Implement R_X86_64_DTPOFF32. | Rafael Espindola | 2010-10-28 | 1 | -0/+3 |
| | | | | | llvm-svn: 117548 | ||||
| * | Implement TLSLD. | Rafael Espindola | 2010-10-28 | 2 | -0/+6 |
| | | | | | llvm-svn: 117547 | ||||
| * | Implement DTPOFF. | Rafael Espindola | 2010-10-28 | 2 | -0/+6 |
| | | | | | llvm-svn: 117546 | ||||
| * | Implement TLSLDM. | Rafael Espindola | 2010-10-28 | 2 | -0/+6 |
| | | | | | llvm-svn: 117544 | ||||
| * | Implement VK_GOTNTPOFF and switch RelocNeedsGOT to use VariantKind. | Rafael Espindola | 2010-10-28 | 2 | -15/+18 |
| | | | | | llvm-svn: 117543 | ||||
| * | Add support for R_386_TLS_GD, R_386_TLS_LE_32, R_386_TLS_IE and R_386_TLS_LE. | Rafael Espindola | 2010-10-27 | 1 | -0/+17 |
| | | | | | llvm-svn: 117494 | ||||
| * | Implement R_X86_64_GOTTPOFF, R_X86_64_TLSGD and R_X86_64_TPOFF32. | Rafael Espindola | 2010-10-27 | 1 | -0/+12 |
| | | | | | llvm-svn: 117481 | ||||
| * | Replace pointer arithmetic with StringRef::substr. | Benjamin Kramer | 2010-10-27 | 1 | -6/+5 |
| | | | | | llvm-svn: 117477 | ||||
| * | Set default type and flags for .init and .fini. | Rafael Espindola | 2010-10-27 | 1 | -1/+9 |
| | | | | | llvm-svn: 117471 | ||||
| * | Produce an error for an invalid use of .symver. | Rafael Espindola | 2010-10-27 | 1 | -0/+5 |
| | | | | | llvm-svn: 117462 | ||||
| * | Symbols defined as the difference of other two end up in the ABS section. | Rafael Espindola | 2010-10-27 | 1 | -5/+2 |
| | | | | | llvm-svn: 117451 | ||||
| * | Add support for the .symver directive. This is really ugly, but most of it is | Rafael Espindola | 2010-10-27 | 2 | -14/+86 |
| | | | | | | | contained in the ELF object writer. llvm-svn: 117448 | ||||
| * | Move more logic to isInSymtab and simplify. | Rafael Espindola | 2010-10-27 | 1 | -21/+19 |
| | | | | | llvm-svn: 117447 | ||||
| * | Add support for .ident. | Rafael Espindola | 2010-10-26 | 1 | -0/+32 |
| | | | | | llvm-svn: 117389 | ||||
| * | MC/AsmParser: Fix relative precedence of {+,-} and comparison ops. | Daniel Dunbar | 2010-10-25 | 1 | -12/+14 |
| | | | | | llvm-svn: 117299 | ||||
| * | MC/AsmLexer: Fix bug in source location for Slash token. | Daniel Dunbar | 2010-10-25 | 1 | -1/+1 |
| | | | | | llvm-svn: 117298 | ||||
| * | Add support for emitting ARM file attributes. | Rafael Espindola | 2010-10-25 | 1 | -3/+1 |
| | | | | | llvm-svn: 117275 | ||||
| * | Add X86::reloc_global_offset_table and use it to have a single place where | Rafael Espindola | 2010-10-24 | 1 | -4/+5 |
| | | | | | | | we check for _GLOBAL_OFFSET_TABLE_. llvm-svn: 117241 | ||||
| * | Make some symbols static, move classes into anonymous namespaces. | Benjamin Kramer | 2010-10-22 | 1 | -13/+10 |
| | | | | | llvm-svn: 117111 | ||||
| * | Making the e_machine configurable by the target backend in ELFObjectWriter. | Wesley Peck | 2010-10-22 | 1 | -5/+9 |
| | | | | | llvm-svn: 117099 | ||||
| * | Trailing whitespace. | Jim Grosbach | 2010-10-21 | 1 | -25/+25 |
| | | | | | llvm-svn: 117073 | ||||
| * | Fix Warnings. | Michael J. Spencer | 2010-10-21 | 1 | -1/+1 |
| | | | | | llvm-svn: 117062 | ||||
| * | Do not recurse into symbol refs that have a variant kind. This prevents us | Rafael Espindola | 2010-10-21 | 1 | -1/+1 |
| | | | | | | | from losing the variant when producing a relocation on an alias. llvm-svn: 117037 | ||||
| * | Remove remaining uses of ATTRIBUTE_UNUSED on variables, and delete three | Chandler Carruth | 2010-10-20 | 1 | -2/+0 |
| | | | | | | | #includes in the process. llvm-svn: 116919 | ||||
| * | Small cleanups and fixes in preparation for fixing _GLOBAL_OFFSET_TABLE_. | Rafael Espindola | 2010-10-19 | 1 | -7/+11 |
| | | | | | llvm-svn: 116848 | ||||

