Rafael Espindola 
							
						 
					 
					
						
						
							
						
						5d4918dbd1 
					 
					
						
						
							
							There are two reasons why we might want to use  
						
						 
						
						... 
						
						
						
						foo = a - b
.long foo
instead of just
.long a - b
First, on darwin9 64 bits the assembler produces the wrong result. Second,
if "a" is the end of the section all darwin assemblers (9, 10 and mc) will not
consider a - b to be a constant but will if the dummy foo is created.
Split how we handle these cases. The first one is something MC should take care
of. The second one has to be handled by the caller.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120889  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-12-04 03:21:47 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						32a006e606 
					 
					
						
						
							
							Try to resolve symbol differences early, and if successful create a plain  
						
						 
						
						... 
						
						
						
						data fragment. This reduces the time to assemble the test in 8711 from 60s to
54s.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120767  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-12-03 00:55:40 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Devang Patel 
							
						 
					 
					
						
						
							
						
						ee4854faf3 
					 
					
						
						
							
							Use set directive for StartMinusEndExpr.  
						
						 
						
						... 
						
						
						
						This is a fix for llvm-gcc-i386-darwin9 buildbot failure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120742  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-12-02 21:32:30 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						e23930543c 
					 
					
						
						
							
							Move EmitValueToOffset to the ObjectStreamer.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120691  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-12-02 05:59:38 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						dedb045c32 
					 
					
						
						
							
							Add EmitInstToFragment to the generic object streamer.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120690  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-12-02 05:44:06 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						6f95023a7f 
					 
					
						
						
							
							Move EmitValue to MCObjectStreamer.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120269  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-11-28 23:08:47 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						ea4afa91eb 
					 
					
						
						
							
							Fixed verson of r120245.  
						
						 
						
						... 
						
						
						
						Factor some duplicated code into MCObjectStreamer::EmitLabel.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120248  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-11-28 17:18:55 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						ba210243ef 
					 
					
						
						
							
							Revert previous patch while I debug the darwin bootstrap failure.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120246  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-11-28 16:22:59 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						f90a2de72c 
					 
					
						
						
							
							Factor some duplicated code into MCObjectStreamer::EmitLabel.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120245  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-11-28 15:54:36 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						3ff57094a7 
					 
					
						
						
							
							Add support for expressions in .sleb/.uleb directives.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118023  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-11-02 17:22:24 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						f89671d994 
					 
					
						
						
							
							Move EmitInstruction to MCObjectStreamer so that ELF and MachO can share it.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117925  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-11-01 16:27:31 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						484291c273 
					 
					
						
						
							
							Implement .weakref.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117911  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-11-01 14:28:48 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						59ff3c9134 
					 
					
						
						
							
							Avoid some Mach-O specific alignment being done on ELF.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114594  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-09-22 22:27:05 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Michael J. Spencer 
							
						 
					 
					
						
						
							
						
						8067adc271 
					 
					
						
						
							
							MC: Add WinCOFFStreamer implementation and merge common code from MachO  
						
						 
						
						... 
						
						
						
						into MCObjectStreamer.
Origonal Windows COFF implementation by Nathan Jedffords.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108678  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-19 06:13:10 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						83b467178a 
					 
					
						
						
							
							MC: Lift SwitchSection() and Finish() into MCObjectStreamer.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106141  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-06-16 20:04:25 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						8dc68ab931 
					 
					
						
						
							
							MC: Factor out an MCObjectStreamer class, which will be shared by the concrete  
						
						 
						
						... 
						
						
						
						object file format writers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106140  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-06-16 20:04:22 +00:00