9b0b781395 
								
							 
						 
						
							
							
								
								PowerPC: Fix eh_frame relocation for PIC  
							
							... 
							
							
							
							This patch fixes the PPC eh_frame definitions for the personality and 
frame unwinding for PIC objects. It makes PIC build correctly creates
relative relocations in the '.rela.eh_frame' segments and thus avoiding
a text relocation that generates a DT_TEXTREL segments in link phase.
llvm-svn: 171506 
							
						 
						
							2013-01-04 19:08:13 +00:00  
				
					
						
							
							
								 
						
							
								c0fa867c7b 
								
							 
						 
						
							
							
								
								Add section information for the DWARF5 split debug proposal  
							
							... 
							
							
							
							string offset section.
llvm-svn: 171474 
							
						 
						
							2013-01-04 17:59:22 +00:00  
				
					
						
							
							
								 
						
							
								ed0881b2a6 
								
							 
						 
						
							
							
								
								Use the new script to sort the includes of every file under lib.  
							
							... 
							
							
							
							Sooooo many of these had incorrect or strange main module includes.
I have manually inspected all of these, and fixed the main module
include to be the nearest plausible thing I could find. If you own or
care about any of these source files, I encourage you to take some time
and check that these edits were sensible. I can't have broken anything
(I strictly added headers, and reordered them, never removed), but they
may not be the headers you'd really like to identify as containing the
API being implemented.
Many forward declarations and missing includes were added to a header
files to allow them to parse cleanly when included first. The main
module rule does in fact have its merits. =]
llvm-svn: 169131 
							
						 
						
							2012-12-03 16:50:05 +00:00  
				
					
						
							
							
								 
						
							
								3c23009117 
								
							 
						 
						
							
							
								
								Add the rest of the experimental fission sections to MC.  
							
							... 
							
							
							
							llvm-svn: 168986 
							
						 
						
							2012-11-30 06:47:06 +00:00  
				
					
						
							
							
								 
						
							
								c3b434b76c 
								
							 
						 
						
							
							
								
								Add brief support for the fission .debug_info.dwo section for  
							
							... 
							
							
							
							ELF output.
llvm-svn: 168764 
							
						 
						
							2012-11-28 02:49:38 +00:00  
				
					
						
							
							
								 
						
							
								27ed8ec126 
								
							 
						 
						
							
							
								
								Add comments.  
							
							... 
							
							
							
							llvm-svn: 168763 
							
						 
						
							2012-11-28 02:49:34 +00:00  
				
					
						
							
							
								 
						
							
								a0ad67dad8 
								
							 
						 
						
							
							
								
								Add names for the accelerator table sections so that they can  
							
							... 
							
							
							
							be emitted if they're wanted on elf platforms.
llvm-svn: 165432 
							
						 
						
							2012-10-08 21:41:30 +00:00  
				
					
						
							
							
								 
						
							
								feb805fcf2 
								
							 
						 
						
							
							
								
								Support for generating ELF objects on Windows.  
							
							... 
							
							
							
							This adds 'elf' as a recognized target triple environment value and overrides the default generated object format on Windows platforms if that value is present.  This patch also enables MCJIT tests on Windows using the new environment value.
llvm-svn: 165030 
							
						 
						
							2012-10-02 18:38:34 +00:00  
				
					
						
							
							
								 
						
							
								37d73002d4 
								
							 
						 
						
							
							
								
								Emit dtors into proper section while compiling in vcpp-compatible mode.  
							
							... 
							
							
							
							Patch by Kai!
llvm-svn: 164476 
							
						 
						
							2012-09-23 15:53:47 +00:00  
				
					
						
							
							
								 
						
							
								cc8c539300 
								
							 
						 
						
							
							
								
								Fix for .pdata and .xdata section attributes on COFF.  
							
							... 
							
							
							
							Patch by kai@redstar.de  !
llvm-svn: 161487 
							
						 
						
							2012-08-08 12:46:46 +00:00  
				
					
						
							
							
								 
						
							
								dc1e36e9f5 
								
							 
						 
						
							
							
								
								Tidy up. Trailing whitespace.  
							
							... 
							
							
							
							llvm-svn: 156602 
							
						 
						
							2012-05-11 01:41:30 +00:00  
				
					
						
							
							
								 
						
							
								bbec87205d 
								
							 
						 
						
							
							
								
								Use the correct section types on Solaris for unwind data on both x86 and x86-64.  
							
							... 
							
							
							
							Patch by Dmitri Shubin!
llvm-svn: 154391 
							
						 
						
							2012-04-10 11:44:33 +00:00  
				
					
						
							
							
								 
						
							
								b560d079df 
								
							 
						 
						
							
							
								
								Emit global ctors into .CRT$XCU instead of .ctors on Win32. Patch by Joe Groff!  
							
							... 
							
							
							
							llvm-svn: 151289 
							
						 
						
							2012-02-23 21:56:08 +00:00  
				
					
						
							
							
								 
						
							
								07f8d3e4e9 
								
							 
						 
						
							
							
								
								Generate the correct EH frame section types on Solaris, this time without breaking other platforms...  
							
							... 
							
							
							
							llvm-svn: 150819 
							
						 
						
							2012-02-17 17:31:15 +00:00  
				
					
						
							
							
								 
						
							
								85dd309e85 
								
							 
						 
						
							
							
								
								Revert r150814.  It turns out that there is a good reason for this after all...  
							
							... 
							
							
							
							llvm-svn: 150818 
							
						 
						
							2012-02-17 16:51:02 +00:00  
				
					
						
							
							
								 
						
							
								38e25ab513 
								
							 
						 
						
							
							
								
								Don't lazily allocate eh_frame.  We're not lazily allocating things like the LSDA, which are only used when the eh frame is used, so this lazy allocation doesn't really make sense.  
							
							... 
							
							
							
							Fix the type of eh_frame on Solaris so that Sun ld doesn't fail to combine them (thus making it impossible for the unwind library to find them and breaking exceptions).
llvm-svn: 150814 
							
						 
						
							2012-02-17 16:32:07 +00:00  
				
					
						
							
							
								 
						
							
								c6b4017ce2 
								
							 
						 
						
							
							
								
								Add support for implicit TLS model used with MS VC runtime.  
							
							... 
							
							
							
							Patch by Kai Nacke!
llvm-svn: 150307 
							
						 
						
							2012-02-11 17:26:53 +00:00  
				
					
						
							
							
								 
						
							
								7722a2d4e3 
								
							 
						 
						
							
							
								
								Properly emit ctors / dtors with priorities into desired sections  
							
							... 
							
							
							
							and let linker handle the rest.
This finally fixes PR5329
llvm-svn: 148990 
							
						 
						
							2012-01-25 22:24:19 +00:00  
				
					
						
							
							
								 
						
							
								965e0c6de2 
								
							 
						 
						
							
							
								
								Emit the ctors in the proper order on ARM/EABI.  
							
							... 
							
							
							
							Maybe some targets should use this as well.
Patch by Evgeniy Stepanov!
llvm-svn: 145781 
							
						 
						
							2011-12-03 23:49:37 +00:00  
				
					
						
							
							
								 
						
							
								0dde349df1 
								
							 
						 
						
							
							
								
								Tidy up. 80 columns.  
							
							... 
							
							
							
							llvm-svn: 144649 
							
						 
						
							2011-11-15 16:46:22 +00:00  
				
					
						
							
							
								 
						
							
								5223a57533 
								
							 
						 
						
							
							
								
								Remove the pubnames section, no one consumes it.  
							
							... 
							
							
							
							llvm-svn: 144169 
							
						 
						
							2011-11-09 05:24:07 +00:00  
				
					
						
							
							
								 
						
							
								4996c70034 
								
							 
						 
						
							
							
								
								Add the support code to enable the dwarf accelerator tables. Upcoming patches  
							
							... 
							
							
							
							to fix the types section (all types, not just global types), and testcases.
The code to do the final emission is disabled by default.
llvm-svn: 143923 
							
						 
						
							2011-11-07 09:24:32 +00:00  
				
					
						
							
							
								 
						
							
								1a62d78325 
								
							 
						 
						
							
							
								
								On an ELF system, ".debug_str" is mergeable and contains null terminated strings  
							
							... 
							
							
							
							composed of one byte characters.
llvm-svn: 143044 
							
						 
						
							2011-10-26 18:44:32 +00:00  
				
					
						
							
							
								 
						
							
								7113f221e2 
								
							 
						 
						
							
							
								
								Fix grammar, noticed by Duncan.  
							
							... 
							
							
							
							llvm-svn: 138764 
							
						 
						
							2011-08-29 21:03:12 +00:00  
				
					
						
							
							
								 
						
							
								ebab735788 
								
							 
						 
						
							
							
								
								Initialize CompactUnwindSection so that other targets won't use an uninitialized value.  
							
							... 
							
							
							
							llvm-svn: 138752 
							
						 
						
							2011-08-29 18:25:59 +00:00  
				
					
						
							
							
								 
						
							
								c3035d6657 
								
							 
						 
						
							
							
								
								X86 is the only target that uses coff format. This should fixes test failures running on Windows, Cygwin, or MingW hosts.  
							
							... 
							
							
							
							llvm-svn: 135639 
							
						 
						
							2011-07-20 23:53:54 +00:00  
				
					
						
							
							
								 
						
							
								bbf3b0de8b 
								
							 
						 
						
							
							
								
								Goodbye TargetAsmInfo. This eliminate last bit of CodeGen and Target in llvm-mc.  
							
							... 
							
							
							
							There is still a bit more refactoring left to do in Targets. But we are now very
close to fixing all the layering issues in MC.
llvm-svn: 135611 
							
						 
						
							2011-07-20 19:50:42 +00:00  
				
					
						
							
							
								 
						
							
								acb9ed4077 
								
							 
						 
						
							
							
								
								Initialize the EHFrameSection pointer to zero.  
							
							... 
							
							
							
							This should fix the spurious buildbot errors.
llvm-svn: 135594 
							
						 
						
							2011-07-20 18:13:23 +00:00  
				
					
						
							
							
								 
						
							
								76792992d6 
								
							 
						 
						
							
							
								
								Add MCObjectFileInfo and sink the MCSections initialization code from  
							
							... 
							
							
							
							TargetLoweringObjectFileImpl down to MCObjectFileInfo.
TargetAsmInfo is done to one last method. It's *almost* gone!
llvm-svn: 135569 
							
						 
						
							2011-07-20 05:58:47 +00:00