e7b64dcc1e 
								
							 
						 
						
							
							
								
								Start adding mach-o tls reloc support.  
							
							... 
							
							
							
							llvm-svn: 104651 
							
						 
						
							2010-05-26 00:02:12 +00:00  
				
					
						
							
							
								 
						
							
								7c3e230cd1 
								
							 
						 
						
							
							
								
								Reduce string trashing.  
							
							... 
							
							
							
							llvm-svn: 104223 
							
						 
						
							2010-05-20 14:14:22 +00:00  
				
					
						
							
							
								 
						
							
								d5563f420a 
								
							 
						 
						
							
							
								
								MC/Mach-O: Implement support for setting indirect symbol table offset in section header.  
							
							... 
							
							
							
							Also, create symbol data for LHS of assignment, to match 'as' symbol ordering better.
llvm-svn: 104033 
							
						 
						
							2010-05-18 17:28:24 +00:00  
				
					
						
							
							
								 
						
							
								f16c12d7a1 
								
							 
						 
						
							
							
								
								MC/Mach-O: Remove some FIXMEs.  
							
							... 
							
							
							
							llvm-svn: 104032 
							
						 
						
							2010-05-18 17:28:20 +00:00  
				
					
						
							
							
								 
						
							
								2493ddfe42 
								
							 
						 
						
							
							
								
								MC/Mach-O/x86_64: Darwin's special "signed_N" relocation types should only be  
							
							... 
							
							
							
							used to replace a normal relocation, not a reference to a GOT entry.
llvm-svn: 103789 
							
						 
						
							2010-05-14 18:53:40 +00:00  
				
					
						
							
							
								 
						
							
								53ce0e12d8 
								
							 
						 
						
							
							
								
								MC/Mach-O/x86_64: Fix PCrel adjustment for x86_64, which was using the fixup  
							
							... 
							
							
							
							offset instead of the fixup address as intended.
llvm-svn: 103527 
							
						 
						
							2010-05-11 23:53:11 +00:00  
				
					
						
							
							
								 
						
							
								7c6f0e3827 
								
							 
						 
						
							
							
								
								MC/Mach-O: As Kevin pointed out, 'Address' is really an offset -- rename to clarify.  
							
							... 
							
							
							
							llvm-svn: 103526 
							
						 
						
							2010-05-11 23:53:07 +00:00  
				
					
						
							
							
								 
						
							
								795baa1972 
								
							 
						 
						
							
							
								
								MC/Mach-O: Fix a crash on invalid.  
							
							... 
							
							
							
							llvm-svn: 103525 
							
						 
						
							2010-05-11 23:53:05 +00:00  
				
					
						
							
							
								 
						
							
								75778984f9 
								
							 
						 
						
							
							
								
								MC/Mach-O: Fix another mismatch with .weak_definition, we shouldn't use a  
							
							... 
							
							
							
							scattered relocation entry with a .weak_definition.
llvm-svn: 103443 
							
						 
						
							2010-05-10 23:15:20 +00:00  
				
					
						
							
							
								 
						
							
								7de3106a89 
								
							 
						 
						
							
							
								
								MC/Mach-O: Factor out doesSymbolRequireExternRelocation.  
							
							... 
							
							
							
							llvm-svn: 103442 
							
						 
						
							2010-05-10 23:15:13 +00:00  
				
					
						
							
							
								 
						
							
								51bed9c870 
								
							 
						 
						
							
							
								
								Fix i386 relocations to Weak Definitions.  The relocation entries should be  
							
							... 
							
							
							
							external and the item to be relocated should not have the address of the
symbol added in.
llvm-svn: 103302 
							
						 
						
							2010-05-07 21:44:23 +00:00  
				
					
						
							
							
								 
						
							
								f3a53baf00 
								
							 
						 
						
							
							
								
								MC/Mach-O: Mark absolute variable's appropriately, and add Mach-O support for  
							
							... 
							
							
							
							writing them.
 - <rdar://problem/7885351> integrated assembler broken for i386 objc code
llvm-svn: 103112 
							
						 
						
							2010-05-05 19:01:05 +00:00  
				
					
						
							
							
								 
						
							
								027fa5f31c 
								
							 
						 
						
							
							
								
								MC/Mach-O/x86_64: Relocations in debug sections should use local relocations  
							
							... 
							
							
							
							when possible.
 - <rdar://problem/7934873>
llvm-svn: 103092 
							
						 
						
							2010-05-05 17:22:39 +00:00  
				
					
						
							
							
								 
						
							
								53dd088b58 
								
							 
						 
						
							
							
								
								Various MSVC warning fixes about truncated 64 bit shifts and const pointers passed to free.  
							
							... 
							
							
							
							llvm-svn: 100767 
							
						 
						
							2010-04-08 15:25:57 +00:00  
				
					
						
							
							
								 
						
							
								2104b8d36e 
								
							 
						 
						
							
							
								
								rename llvm::llvm_report_error -> llvm::report_fatal_error  
							
							... 
							
							
							
							llvm-svn: 100709 
							
						 
						
							2010-04-07 22:58:41 +00:00  
				
					
						
							
							
								 
						
							
								c95156262d 
								
							 
						 
						
							
							
								
								MC/Mach-O/x86_64: Support @GOTPCREL on symbols, even for non-PCrel relocations!  
							
							... 
							
							
							
							llvm-svn: 99853 
							
						 
						
							2010-03-29 23:56:40 +00:00  
				
					
						
							
							
								 
						
							
								951459740c 
								
							 
						 
						
							
							
								
								MC/Mach-O: Switch to MCSectionData::getOrdinal.  
							
							... 
							
							
							
							llvm-svn: 99504 
							
						 
						
							2010-03-25 08:08:54 +00:00  
				
					
						
							
							
								 
						
							
								eaa792f0d9 
								
							 
						 
						
							
							
								
								Fix -Asserts warning.  
							
							... 
							
							
							
							llvm-svn: 99499 
							
						 
						
							2010-03-25 07:10:05 +00:00  
				
					
						
							
							
								 
						
							
								5b07334c0d 
								
							 
						 
						
							
							
								
								MC: Route access to SectionData offset and file size through MCAsmLayout.  
							
							... 
							
							
							
							llvm-svn: 99474 
							
						 
						
							2010-03-25 02:00:07 +00:00  
				
					
						
							
							
								 
						
							
								2522dd1c49 
								
							 
						 
						
							
							
								
								MC: Route access to Fragment offset and effective size through MCAsmLayout.  
							
							... 
							
							
							
							llvm-svn: 99473 
							
						 
						
							2010-03-25 02:00:02 +00:00  
				
					
						
							
							
								 
						
							
								7c969558d9 
								
							 
						 
						
							
							
								
								MC: Direct all {fragment,section,symbol} address access through the MCAsmLayout object.  
							
							... 
							
							
							
							llvm-svn: 99380 
							
						 
						
							2010-03-24 03:43:40 +00:00  
				
					
						
							
							
								 
						
							
								a75f01a905 
								
							 
						 
						
							
							
								
								Add a FIXME.  
							
							... 
							
							
							
							llvm-svn: 99228 
							
						 
						
							2010-03-22 23:16:43 +00:00  
				
					
						
							
							
								 
						
							
								a0ab4bf989 
								
							 
						 
						
							
							
								
								MC: Change MCObjectWriter::RecordRelocation to take an MCFragment (instead of a MCDataFragment). Object files should only need the generic MCFragment features.  
							
							... 
							
							
							
							llvm-svn: 99205 
							
						 
						
							2010-03-22 20:35:50 +00:00  
				
					
						
							
							
								 
						
							
								5ea5fab22b 
								
							 
						 
						
							
							
								
								Better fix for r98994, MachObjectWriterImpl wasn't intended to be virtual.  
							
							... 
							
							
							
							llvm-svn: 99031 
							
						 
						
							2010-03-20 01:58:40 +00:00  
				
					
						
							
							
								 
						
							
								07b4f8cd4b 
								
							 
						 
						
							
							
								
								Fix -Wnon-virtual-dtor warning.  
							
							... 
							
							
							
							llvm-svn: 98994 
							
						 
						
							2010-03-19 21:26:46 +00:00  
				
					
						
							
							
								 
						
							
								1a81ad3559 
								
							 
						 
						
							
							
								
								MC/Mach-O/x86_64: Add relocation support.  
							
							... 
							
							
							
							- 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 
							
						 
						
							2010-03-19 18:07:55 +00:00  
				
					
						
							
							
								 
						
							
								79e0e5a631 
								
							 
						 
						
							
							
								
								MC/Mach-O: Move to MachObjectWriter.{h,cpp}.  
							
							... 
							
							
							
							llvm-svn: 98952 
							
						 
						
							2010-03-19 10:43:15 +00:00