Rafael Espindola
							
						 
						
							 
							
							
							
							
								
							
							
								70d6e0e0ff 
								
							 
						 
						
							
							
								
								Correctly produce R_X86_64_32 or R_X86_64_32S.  
							
							 
							
							... 
							
							
							
							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 
							
						 
						
							2010-09-30 03:11:42 +00:00  
						
					 
				
					
						
							
							
								 
								Rafael Espindola
							
						 
						
							 
							
							
							
							
								
							
							
								2ebaee9c75 
								
							 
						 
						
							
							
								
								Make it possible for the MCObjectWriter to decide if a given fixup is fully  
							
							 
							
							... 
							
							
							
							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 
							
						 
						
							2010-09-30 02:22:20 +00:00  
						
					 
				
					
						
							
							
								 
								Michael J. Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								86a6222469 
								
							 
						 
						
							
							
								
								MC-COFF: Fix symbol storage class for globals  
							
							 
							
							... 
							
							
							
							llvm-svn: 115020 
							
						 
						
							2010-09-29 03:13:41 +00:00  
						
					 
				
					
						
							
							
								 
								Michael J. Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								ce2e535b19 
								
							 
						 
						
							
							
								
								MC-COFF: Fix signed/unsigned comparison.  
							
							 
							
							... 
							
							
							
							llvm-svn: 114888 
							
						 
						
							2010-09-27 21:17:39 +00:00  
						
					 
				
					
						
							
							
								 
								Michael J. Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								d628377a2d 
								
							 
						 
						
							
							
								
								MC-COFF: Drop empty sections, and label symbols. Convert relocations  
							
							 
							
							... 
							
							
							
							targeted at symbols into relocations relative to the containing section.
Patch by Nathan Jeffords!
llvm-svn: 114823 
							
						 
						
							2010-09-27 08:58:26 +00:00  
						
					 
				
					
						
							
							
								 
								Michael J. Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								ccd28d0665 
								
							 
						 
						
							
							
								
								Fix COFF x86-64 relocations. PR7960.  
							
							 
							
							... 
							
							
							
							Multiple symbol reloc handling part of the patch by Cameron Esfahani.
llvm-svn: 111963 
							
						 
						
							2010-08-24 21:04:52 +00:00  
						
					 
				
					
						
							
							
								 
								Michael J. Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								377aa20e6e 
								
							 
						 
						
							
							
								
								MC: Add partial x86-64 support to COFF.  
							
							 
							
							... 
							
							
							
							llvm-svn: 111728 
							
						 
						
							2010-08-21 05:58:13 +00:00  
						
					 
				
					
						
							
							
								 
								Michael J. Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								54cfd42c33 
								
							 
						 
						
							
							
								
								MC: Fix symbol fragment offsets in COFF.  
							
							 
							
							... 
							
							
							
							Patch by Cameron Esfahani!
llvm-svn: 110104 
							
						 
						
							2010-08-03 05:02:46 +00:00  
						
					 
				
					
						
							
							
								 
								Michael J. Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								d32764c8a0 
								
							 
						 
						
							
							
								
								Revert "MC: Fix symbol fragment offsets in COFF."  
							
							 
							
							... 
							
							
							
							This reverts commit r110100
Wrong path caps.
llvm-svn: 110103 
							
						 
						
							2010-08-03 04:53:28 +00:00  
						
					 
				
					
						
							
							
								 
								Michael J. Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								a6cfbeb98c 
								
							 
						 
						
							
							
								
								MC: Add time travel support to COFF.  
							
							 
							
							... 
							
							
							
							llvm-svn: 110101 
							
						 
						
							2010-08-03 04:43:33 +00:00  
						
					 
				
					
						
							
							
								 
								Michael J. Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								cf3d8b4ec4 
								
							 
						 
						
							
							
								
								MC: Fix symbol fragment offsets in COFF.  
							
							 
							
							... 
							
							
							
							Patch by Cameron Esfahani!
llvm-svn: 110100 
							
						 
						
							2010-08-03 04:43:24 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								727be43a3d 
								
							 
						 
						
							
							
								
								Silence some -Asserts uninitialized variable warnings.  
							
							 
							
							... 
							
							
							
							llvm-svn: 109956 
							
						 
						
							2010-07-31 21:08:54 +00:00  
						
					 
				
					
						
							
							
								 
								Benjamin Kramer
							
						 
						
							 
							
							
							
							
								
							
							
								c2997dde85 
								
							 
						 
						
							
							
								
								COFFObjectWriter: Don't leak COFFSymbols and COFFSections.  
							
							 
							
							... 
							
							
							
							llvm-svn: 109745 
							
						 
						
							2010-07-29 11:57:59 +00:00  
						
					 
				
					
						
							
							
								 
								Douglas Gregor
							
						 
						
							 
							
							
							
							
								
							
							
								675b162512 
								
							 
						 
						
							
							
								
								Fix format-specifier warning  
							
							 
							
							... 
							
							
							
							llvm-svn: 109391 
							
						 
						
							2010-07-26 03:55:44 +00:00  
						
					 
				
					
						
							
							
								 
								Michael J. Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								c21293792e 
								
							 
						 
						
							
							
								
								MC: Fix whitespace error from last commit.  
							
							 
							
							... 
							
							
							
							A Visual C++ extension that removes trailing new lines? Seriously?
llvm-svn: 109390 
							
						 
						
							2010-07-26 03:01:28 +00:00  
						
					 
				
					
						
							
							
								 
								Michael J. Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								b5fc138547 
								
							 
						 
						
							
							
								
								MC: Add WinCOFFObjectWriter implementation.  
							
							 
							
							... 
							
							
							
							Origonal Windows COFF implementation by Nathan Jedffords.
llvm-svn: 109389 
							
						 
						
							2010-07-26 02:17:32 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2c52b7997c 
								
							 
						 
						
							
							
								
								introduce WinCOFFObjectWriter, patch by Michael Spencer!  
							
							 
							
							... 
							
							
							
							llvm-svn: 108103 
							
						 
						
							2010-07-11 22:07:02 +00:00