Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Make it possible for the MCObjectWriter to decide if a given fixup is fully | Rafael Espindola | 2010-09-30 | 1 | -0/+118 | |
| | | | | | | | | | | | 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 | |||||
* | Remove unused argument. | Rafael Espindola | 2010-09-27 | 1 | -3/+3 | |
| | | | | llvm-svn: 114852 | |||||
* | MC/Mach-O/i386: Fix a crash in relocation handling. | Daniel Dunbar | 2010-09-17 | 1 | -1/+2 | |
| | | | | llvm-svn: 114176 | |||||
* | silence a vc2010 warning: " result of 32-bit shift implicitly converted to | Chris Lattner | 2010-08-16 | 1 | -1/+1 | |
| | | | | | | 64 bits (was 64-bit shift intended?)", pointed out by 'nobled' on llvmdev llvm-svn: 111148 | |||||
* | Revert "MC/MachO: Fix possible null pointer dereference." | Michael J. Spencer | 2010-08-10 | 1 | -1/+1 | |
| | | | | | | | | This reverts commit 110575. Target.isAbsolute() is true if SD would be null. llvm-svn: 110683 | |||||
* | MC/MachO: Fix possible null pointer dereference. | Michael J. Spencer | 2010-08-09 | 1 | -1/+1 | |
| | | | | | | Discovered by Microsoft Visual Studio 2010 Code Analysis. llvm-svn: 110575 | |||||
* | finish up support for callw: PR7195 | Chris Lattner | 2010-07-07 | 1 | -0/+2 | |
| | | | | llvm-svn: 107826 | |||||
* | The variable "Value" is carefully set to Layout.getSymbolAddress, | Duncan Sands | 2010-06-29 | 1 | -4/+0 | |
| | | | | | | but then not actually used - maybe a bug? Remove the variable. llvm-svn: 107137 | |||||
* | Get the addend correct for i386 pic. | Eric Christopher | 2010-06-22 | 1 | -1/+7 | |
| | | | | | | Thanks Daniel! llvm-svn: 106608 | |||||
* | Update comment. | Eric Christopher | 2010-06-17 | 1 | -1/+2 | |
| | | | | llvm-svn: 106191 | |||||
* | In progress on 32-bit addends. | Eric Christopher | 2010-06-16 | 1 | -1/+7 | |
| | | | | llvm-svn: 106154 | |||||
* | MC: Simplify MCAssembler::isSymbolLinkerVisible to only take an MCSymbol. | Daniel Dunbar | 2010-06-16 | 1 | -2/+2 | |
| | | | | llvm-svn: 106142 | |||||
* | Fix indentation. | Eric Christopher | 2010-06-16 | 1 | -4/+4 | |
| | | | | llvm-svn: 106072 | |||||
* | Some more work on mach-o TLV relocations. | Eric Christopher | 2010-06-15 | 1 | -0/+38 | |
| | | | | llvm-svn: 106062 | |||||
* | Rearrange conditionals so we don't get caught with the correct type as wrong. | Eric Christopher | 2010-05-27 | 1 | -3/+3 | |
| | | | | llvm-svn: 104793 | |||||
* | MC: Eliminate MCAsmFixup, replace with MCFixup. | Daniel Dunbar | 2010-05-26 | 1 | -4/+4 | |
| | | | | llvm-svn: 104699 | |||||
* | MC: Use accessors for access to MCAsmFixup. | Daniel Dunbar | 2010-05-26 | 1 | -12/+14 | |
| | | | | llvm-svn: 104697 | |||||
* | Start adding mach-o tls reloc support. | Eric Christopher | 2010-05-26 | 1 | -2/+8 | |
| | | | | llvm-svn: 104651 | |||||
* | Reduce string trashing. | Benjamin Kramer | 2010-05-20 | 1 | -2/+2 | |
| | | | | llvm-svn: 104223 | |||||
* | MC/Mach-O: Implement support for setting indirect symbol table offset in ↵ | Daniel Dunbar | 2010-05-18 | 1 | -3/+14 | |
| | | | | | | | | section header. Also, create symbol data for LHS of assignment, to match 'as' symbol ordering better. llvm-svn: 104033 | |||||
* | MC/Mach-O: Remove some FIXMEs. | Daniel Dunbar | 2010-05-18 | 1 | -7/+3 | |
| | | | | llvm-svn: 104032 | |||||
* | MC/Mach-O/x86_64: Darwin's special "signed_N" relocation types should only be | Daniel Dunbar | 2010-05-14 | 1 | -23/+23 | |
| | | | | | | used to replace a normal relocation, not a reference to a GOT entry. llvm-svn: 103789 | |||||
* | MC/Mach-O/x86_64: Fix PCrel adjustment for x86_64, which was using the fixup | Daniel Dunbar | 2010-05-11 | 1 | -1/+2 | |
| | | | | | | offset instead of the fixup address as intended. llvm-svn: 103527 | |||||
* | MC/Mach-O: As Kevin pointed out, 'Address' is really an offset -- rename to ↵ | Daniel Dunbar | 2010-05-11 | 1 | -11/+11 | |
| | | | | | | clarify. llvm-svn: 103526 | |||||
* | MC/Mach-O: Fix a crash on invalid. | Daniel Dunbar | 2010-05-11 | 1 | -1/+4 | |
| | | | | llvm-svn: 103525 | |||||
* | MC/Mach-O: Fix another mismatch with .weak_definition, we shouldn't use a | Daniel Dunbar | 2010-05-10 | 1 | -9/+15 | |
| | | | | | | scattered relocation entry with a .weak_definition. llvm-svn: 103443 | |||||
* | MC/Mach-O: Factor out doesSymbolRequireExternRelocation. | Daniel Dunbar | 2010-05-10 | 1 | -10/+20 | |
| | | | | llvm-svn: 103442 | |||||
* | Fix i386 relocations to Weak Definitions. The relocation entries should be | Kevin Enderby | 2010-05-07 | 1 | -1/+12 | |
| | | | | | | | external and the item to be relocated should not have the address of the symbol added in. llvm-svn: 103302 | |||||
* | MC/Mach-O: Mark absolute variable's appropriately, and add Mach-O support for | Daniel Dunbar | 2010-05-05 | 1 | -2/+2 | |
| | | | | | | | writing them. - <rdar://problem/7885351> integrated assembler broken for i386 objc code llvm-svn: 103112 | |||||
* | MC/Mach-O/x86_64: Relocations in debug sections should use local relocations | Daniel Dunbar | 2010-05-05 | 1 | -0/+11 | |
| | | | | | | | when possible. - <rdar://problem/7934873> llvm-svn: 103092 | |||||
* | Various MSVC warning fixes about truncated 64 bit shifts and const pointers ↵ | Benjamin Kramer | 2010-04-08 | 1 | -2/+2 | |
| | | | | | | passed to free. llvm-svn: 100767 | |||||
* | rename llvm::llvm_report_error -> llvm::report_fatal_error | Chris Lattner | 2010-04-07 | 1 | -10/+10 | |
| | | | | llvm-svn: 100709 | |||||
* | MC/Mach-O/x86_64: Support @GOTPCREL on symbols, even for non-PCrel relocations! | Daniel Dunbar | 2010-03-29 | 1 | -2/+9 | |
| | | | | llvm-svn: 99853 | |||||
* | MC/Mach-O: Switch to MCSectionData::getOrdinal. | Daniel Dunbar | 2010-03-25 | 1 | -18/+4 | |
| | | | | llvm-svn: 99504 | |||||
* | Fix -Asserts warning. | Daniel Dunbar | 2010-03-25 | 1 | -2/+1 | |
| | | | | llvm-svn: 99499 | |||||
* | MC: Route access to SectionData offset and file size through MCAsmLayout. | Daniel Dunbar | 2010-03-25 | 1 | -7/+11 | |
| | | | | llvm-svn: 99474 | |||||
* | MC: Route access to Fragment offset and effective size through MCAsmLayout. | Daniel Dunbar | 2010-03-25 | 1 | -4/+4 | |
| | | | | llvm-svn: 99473 | |||||
* | MC: Direct all {fragment,section,symbol} address access through the ↵ | Daniel Dunbar | 2010-03-24 | 1 | -36/+40 | |
| | | | | | | MCAsmLayout object. llvm-svn: 99380 | |||||
* | Add a FIXME. | Daniel Dunbar | 2010-03-22 | 1 | -0/+14 | |
| | | | | llvm-svn: 99228 | |||||
* | MC: Change MCObjectWriter::RecordRelocation to take an MCFragment (instead ↵ | Daniel Dunbar | 2010-03-22 | 1 | -12/+12 | |
| | | | | | | of a MCDataFragment). Object files should only need the generic MCFragment features. llvm-svn: 99205 | |||||
* | Better fix for r98994, MachObjectWriterImpl wasn't intended to be virtual. | Daniel Dunbar | 2010-03-20 | 1 | -8/+5 | |
| | | | | llvm-svn: 99031 | |||||
* | Fix -Wnon-virtual-dtor warning. | Rafael Espindola | 2010-03-19 | 1 | -0/+2 | |
| | | | | llvm-svn: 98994 | |||||
* | MC/Mach-O/x86_64: Add relocation support. | Daniel Dunbar | 2010-03-19 | 1 | -0/+213 | |
| | | | | | | | | - This is "extraordinarily" Darwin 'as' compatible. See the litany of FIXMEs littered about for more information. - There are a few cases which seem to clearly be 'as' bugs which I have left unsupported, and there is one cases where we diverge but should fix if it blocks diffing .o files (Darwin 'as' ends up widening a jump unnecessarily). - 403.gcc build, runs, and diffs equivalently to the 'as' built version now (using llvm-mc). However, it builds so slowly that I wouldn't recommend trying it quite yet. :) llvm-svn: 98974 | |||||
* | MC/Mach-O: Move to MachObjectWriter.{h,cpp}. | Daniel Dunbar | 2010-03-19 | 1 | -0/+897 | |
llvm-svn: 98952 |