b05ef7377a 
								
							 
						 
						
							
							
								
								Fix the type of a symbol created with .comm and no corresponding .type.  
							
							... 
							
							
							
							llvm-svn: 119060 
							
						 
						
							2010-11-14 19:40:55 +00:00  
				
					
						
							
							
								 
						
							
								7d0ba3464e 
								
							 
						 
						
							
							
								
								Handle a peculiar comdat case: Creating a section with an undefined  
							
							... 
							
							
							
							signature symbol causes a local symbol to be created unless there is
some other use of the symbol.
llvm-svn: 119026 
							
						 
						
							2010-11-14 04:17:37 +00:00  
				
					
						
							
							
								 
						
							
								eba9022652 
								
							 
						 
						
							
							
								
								Fix warning.  
							
							... 
							
							
							
							llvm-svn: 119021 
							
						 
						
							2010-11-14 01:34:31 +00:00  
				
					
						
							
							
								 
						
							
								84d031870c 
								
							 
						 
						
							
							
								
								Mark labels declared in tls sections as STT_TLS. This matches the behavior of  
							
							... 
							
							
							
							gas.
llvm-svn: 118818 
							
						 
						
							2010-11-11 19:04:55 +00:00  
				
					
						
							
							
								 
						
							
								cbdf7efe1c 
								
							 
						 
						
							
							
								
								Add '.code 32' assembler directive to MC streamers.  
							
							... 
							
							
							
							llvm-svn: 118309 
							
						 
						
							2010-11-05 22:40:09 +00:00  
				
					
						
							
							
								 
						
							
								5a2c68d308 
								
							 
						 
						
							
							
								
								MC'ize the '.code 16' and '.thumb_func' ARM directives.  
							
							... 
							
							
							
							llvm-svn: 118301 
							
						 
						
							2010-11-05 22:08:08 +00:00  
				
					
						
							
							
								 
						
							
								80bb80f5fc 
								
							 
						 
						
							
							
								
								Put class into an anonymous namespace.  
							
							... 
							
							
							
							llvm-svn: 118294 
							
						 
						
							2010-11-05 19:56:38 +00:00  
				
					
						
							
							
								 
						
							
								13ddd6d410 
								
							 
						 
						
							
							
								
								Write the line info to .debug_line.  
							
							... 
							
							
							
							llvm-svn: 117930 
							
						 
						
							2010-11-01 17:07:14 +00:00  
				
					
						
							
							
								 
						
							
								72b5488680 
								
							 
						 
						
							
							
								
								Move EmitInstruction to MCObjectStreamer so that ELF and MachO can share it.  
							
							... 
							
							
							
							llvm-svn: 117925 
							
						 
						
							2010-11-01 16:27:31 +00:00  
				
					
						
							
							
								 
						
							
								1614597873 
								
							 
						 
						
							
							
								
								Implement .weakref.  
							
							... 
							
							
							
							llvm-svn: 117911 
							
						 
						
							2010-11-01 14:28:48 +00:00  
				
					
						
							
							
								 
						
							
								83b2a3337f 
								
							 
						 
						
							
							
								
								Make sure weak symbols are listed after the local ones.  
							
							... 
							
							
							
							llvm-svn: 115795 
							
						 
						
							2010-10-06 16:47:31 +00:00  
				
					
						
							
							
								 
						
							
								bce26a1ee0 
								
							 
						 
						
							
							
								
								On ELF we need to know which symbols are used in relocations to decide if  
							
							... 
							
							
							
							they should be in the symbol table or not. Instead of "guessing", just compute
the symbol table after the relocations are known.
llvm-svn: 115619 
							
						 
						
							2010-10-05 15:11:03 +00:00  
				
					
						
							
							
								 
						
							
								645f6c2bef 
								
							 
						 
						
							
							
								
								Tiny patch for proof-of-concept cleanup of ARMAsmPrinter::EmitStartOfAsmFile()  
							
							... 
							
							
							
							Small test for sanity check of resulting ARM .s file.
Tested against -r115129.
llvm-svn: 115133 
							
						 
						
							2010-09-30 02:45:56 +00:00  
				
					
						
							
							
								 
						
							
								53f0bf194a 
								
							 
						 
						
							
							
								
								Move "local commons" to the end of .bss to match the gnu as behavior.  
							
							... 
							
							
							
							llvm-svn: 115037 
							
						 
						
							2010-09-29 14:52:01 +00:00  
				
					
						
							
							
								 
						
							
								75d65b9a03 
								
							 
						 
						
							
							
								
								Move ELF to HasReliableSymbolDifference=true. Also take the opportunity to put  
							
							... 
							
							
							
							symbols defined in merge sections in independent atoms.
llvm-svn: 114786 
							
						 
						
							2010-09-25 05:42:19 +00:00  
				
					
						
							
							
								 
						
							
								dee12d8110 
								
							 
						 
						
							
							
								
								Avoid some Mach-O specific alignment being done on ELF.  
							
							... 
							
							
							
							llvm-svn: 114594 
							
						 
						
							2010-09-22 22:27:05 +00:00  
				
					
						
							
							
								 
						
							
								9bac6cb544 
								
							 
						 
						
							
							
								
								Correctly align bss.  
							
							... 
							
							
							
							llvm-svn: 114556 
							
						 
						
							2010-09-22 17:43:04 +00:00  
				
					
						
							
							
								 
						
							
								f0591c1642 
								
							 
						 
						
							
							
								
								Implement support for .local and its "interesting" interactions with .comm.  
							
							... 
							
							
							
							llvm-svn: 114382 
							
						 
						
							2010-09-21 00:24:38 +00:00  
				
					
						
							
							
								 
						
							
								f667d929ce 
								
							 
						 
						
							
							
								
								Add a InitSections method to the streamer interface.  
							
							... 
							
							
							
							The ELF implementation now creates text, data and bss to match the gnu as
behavior.
The text streamer still has the old MachO specific behavior since
the testsuite checks that it will error when a directive is given
before a setting the current section for example.
A nice benefit is that -n is not required anymore when producing
ELF files.
llvm-svn: 114027 
							
						 
						
							2010-09-15 21:48:40 +00:00  
				
					
						
							
							
								 
						
							
								9fd2ed9243 
								
							 
						 
						
							
							
								
								Factoring and potential bug fix. The elf "flags" cannot be used as masks.  
							
							... 
							
							
							
							For example, setting STT_OBJECT (1) and STT_FUNC (2), should not produce
a STT_SECTION (3).
llvm-svn: 113759 
							
						 
						
							2010-09-13 17:39:45 +00:00  
				
					
						
							
							
								 
						
							
								2ef1a589c5 
								
							 
						 
						
							
							
								
								ELF_STB_Local is 0 so setting and checking it must be done specially  
							
							... 
							
							
							
							llvm-svn: 113375 
							
						 
						
							2010-09-08 18:08:40 +00:00  
				
					
						
							
							
								 
						
							
								5af02b0360 
								
							 
						 
						
							
							
								
								Allow MCSA_WeakRef in ELF. Patch by Roman Divacky.  
							
							... 
							
							
							
							llvm-svn: 112834 
							
						 
						
							2010-09-02 17:18:32 +00:00  
				
					
						
							
							
								 
						
							
								6ebea89316 
								
							 
						 
						
							
							
								
								Mark all common symbols external. This is not exactly correct but it lets apps  
							
							... 
							
							
							
							link for now and can be adjusted later. Patch by Roman Divacky.
llvm-svn: 112471 
							
						 
						
							2010-08-30 11:56:55 +00:00  
				
					
						
							
							
								 
						
							
								1f6012479f 
								
							 
						 
						
							
							
								
								MCELF: Port EmitInstruction changes from MachO streamer. Patch by Roman Divacky.  
							
							... 
							
							
							
							llvm-svn: 112260 
							
						 
						
							2010-08-27 10:40:51 +00:00  
				
					
						
							
							
								 
						
							
								b20b5249d2 
								
							 
						 
						
							
							
								
								Fix a few warnings in and detabify MCELFStreamer and ELFObjectWriter.  
							
							... 
							
							
							
							llvm-svn: 111175 
							
						 
						
							2010-08-16 19:15:06 +00:00  
				
					
						
							
							
								 
						
							
								6c1ad4835e 
								
							 
						 
						
							
							
								
								Add ELF ObjectWriter and Streamer support.  
							
							... 
							
							
							
							I forgot to add these files in commit 111172.
llvm-svn: 111174 
							
						 
						
							2010-08-16 18:57:57 +00:00