Jim Grosbach
							
						 
						
							 
							
							
							
							
								
							
							
								9e1994698d 
								
							 
						 
						
							
							
								
								Add fixup for Thumb1 BL/BLX instructions.  
							
							 
							
							... 
							
							
							
							llvm-svn: 121072 
							
						 
						
							2010-12-06 23:57:07 +00:00  
						
					 
				
					
						
							
							
								 
								Rafael Espindola
							
						 
						
							 
							
							
							
							
								
							
							
								0f30fec0bd 
								
							 
						 
						
							
							
								
								Remove the instruction fragment to data fragment lowering since it was causing  
							
							 
							
							... 
							
							
							
							freed data to be read. I will open a bug to track it being reenabled.
llvm-svn: 121028 
							
						 
						
							2010-12-06 19:08:48 +00:00  
						
					 
				
					
						
							
							
								 
								Benjamin Kramer
							
						 
						
							 
							
							
							
							
								
							
							
								eaa536a773 
								
							 
						 
						
							
							
								
								Remove unused variable.  
							
							 
							
							... 
							
							
							
							llvm-svn: 120836 
							
						 
						
							2010-12-03 19:55:37 +00:00  
						
					 
				
					
						
							
							
								 
								Jason W Kim
							
						 
						
							 
							
							
							
							
								
							
							
								d5e6e5459f 
								
							 
						 
						
							
							
								
								fix ARM::fixup_arm_branch, cleanup, and share more code between ELF and Darwin  
							
							 
							
							... 
							
							
							
							llvm-svn: 120832 
							
						 
						
							2010-12-03 19:40:23 +00:00  
						
					 
				
					
						
							
							
								 
								Jim Grosbach
							
						 
						
							 
							
							
							
							
								
							
							
								ce2bd8d05f 
								
							 
						 
						
							
							
								
								Add support for binary encoding of ARM 'adr' instructions referencing constant  
							
							 
							
							... 
							
							
							
							pool entries (LEApcrel pseudo). Ongoing saga of rdar://8542291.
llvm-svn: 120635 
							
						 
						
							2010-12-02 00:28:45 +00:00  
						
					 
				
					
						
							
							
								 
								Jason W Kim
							
						 
						
							 
							
							
							
							
								
							
							
								fc5c522864 
								
							 
						 
						
							
							
								
								fixing style nit: move class static to global static  
							
							 
							
							... 
							
							
							
							llvm-svn: 120619 
							
						 
						
							2010-12-01 22:46:50 +00:00  
						
					 
				
					
						
							
							
								 
								Owen Anderson
							
						 
						
							 
							
							
							
							
								
							
							
								943fb60b1f 
								
							 
						 
						
							
							
								
								Add correct encodings for STRD and LDRD, including fixup support.  Additionally, update these to unified syntax.  
							
							 
							
							... 
							
							
							
							llvm-svn: 120589 
							
						 
						
							2010-12-01 19:18:46 +00:00  
						
					 
				
					
						
							
							
								 
								Jason W Kim
							
						 
						
							 
							
							
							
							
								
							
							
								b5c9cc54d3 
								
							 
						 
						
							
							
								
								kill trailing space  
							
							 
							
							... 
							
							
							
							llvm-svn: 120586 
							
						 
						
							2010-12-01 19:07:22 +00:00  
						
					 
				
					
						
							
							
								 
								Jim Grosbach
							
						 
						
							 
							
							
							
							
								
							
							
								7f5b475852 
								
							 
						 
						
							
							
								
								10 bits, not 12.  
							
							 
							
							... 
							
							
							
							llvm-svn: 120584 
							
						 
						
							2010-12-01 18:51:32 +00:00  
						
					 
				
					
						
							
							
								 
								Bill Wendling
							
						 
						
							 
							
							
							
							
								
							
							
								901d4d07d8 
								
							 
						 
						
							
							
								
								Remove "comparison of integers of different signs" warning by making the  
							
							 
							
							... 
							
							
							
							variable unsigned.
llvm-svn: 120541 
							
						 
						
							2010-12-01 02:49:04 +00:00  
						
					 
				
					
						
							
							
								 
								Jason W Kim
							
						 
						
							 
							
							
							
							
								
							
							
								29805961d8 
								
							 
						 
						
							
							
								
								ARM/MC/ELF relocation "hello world" for movw/movt.  
							
							 
							
							... 
							
							
							
							Lifted adjustFixupValue() from Darwin for sharing w ELF.
Test added
TODO:
  refactor ELFObjectWriter::RecordRelocation more.
  Possibly share more code with Darwin?
  Lots more relocations...
llvm-svn: 120534 
							
						 
						
							2010-12-01 02:40:06 +00:00  
						
					 
				
					
						
							
							
								 
								Jim Grosbach
							
						 
						
							 
							
							
							
							
								
							
							
								2d3e5c1aec 
								
							 
						 
						
							
							
								
								Fix handling of ARM negative pc-relative fixups for loads and stores.  
							
							 
							
							... 
							
							
							
							llvm-svn: 120480 
							
						 
						
							2010-11-30 22:40:36 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								a5f50c16f7 
								
							 
						 
						
							
							
								
								MC/Mach-O: Switch to using MachOFormat.h.  
							
							 
							
							... 
							
							
							
							- I'm leaving MachO.h, because I believe it has external consumers, but I would really like to eliminate it (we have stylistic disagreements with one another).
llvm-svn: 120187 
							
						 
						
							2010-11-27 04:38:36 +00:00  
						
					 
				
					
						
							
							
								 
								Rafael Espindola
							
						 
						
							 
							
							
							
							
								
							
							
								bf4a4e4ad9 
								
							 
						 
						
							
							
								
								Remove the unused TheTarget member.  
							
							 
							
							... 
							
							
							
							llvm-svn: 120168 
							
						 
						
							2010-11-26 04:24:21 +00:00  
						
					 
				
					
						
							
							
								 
								Rafael Espindola
							
						 
						
							 
							
							
							
							
								
							
							
								7a2cd8b540 
								
							 
						 
						
							
							
								
								make isVirtualSection a virtual method on MCSection. Chris' suggestion.  
							
							 
							
							... 
							
							
							
							llvm-svn: 119547 
							
						 
						
							2010-11-17 20:03:54 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								9fdd10dbce 
								
							 
						 
						
							
							
								
								tidy up  
							
							 
							
							... 
							
							
							
							llvm-svn: 119462 
							
						 
						
							2010-11-17 05:41:32 +00:00  
						
					 
				
					
						
							
							
								 
								Daniel Dunbar
							
						 
						
							 
							
							
							
							
								
							
							
								fe0c28f4db 
								
							 
						 
						
							
							
								
								MC: Simplify Mach-O and ELF object writer implementations.  
							
							 
							
							... 
							
							
							
							- What was I thinking?????
llvm-svn: 118992 
							
						 
						
							2010-11-13 07:33:40 +00:00  
						
					 
				
					
						
							
							
								 
								Jim Grosbach
							
						 
						
							 
							
							
							
							
								
							
							
								20b6fd7d5d 
								
							 
						 
						
							
							
								
								Start of support for binary emit of 16-it Thumb instructions.  
							
							 
							
							... 
							
							
							
							llvm-svn: 118859 
							
						 
						
							2010-11-11 23:41:09 +00:00  
						
					 
				
					
						
							
							
								 
								Jim Grosbach
							
						 
						
							 
							
							
							
							
								
							
							
								9d6d77a9f4 
								
							 
						 
						
							
							
								
								Encoding of destination fixup for ARM branch and conditional branch  
							
							 
							
							... 
							
							
							
							instructions.
llvm-svn: 118801 
							
						 
						
							2010-11-11 18:04:49 +00:00  
						
					 
				
					
						
							
							
								 
								Jim Grosbach
							
						 
						
							 
							
							
							
							
								
							
							
								9b973490c9 
								
							 
						 
						
							
							
								
								ARM .word data fixups don't need an adjustment.  
							
							 
							
							... 
							
							
							
							llvm-svn: 118586 
							
						 
						
							2010-11-09 17:36:59 +00:00  
						
					 
				
					
						
							
							
								 
								Jim Grosbach
							
						 
						
							 
							
							
							
							
								
							
							
								9098714f8b 
								
							 
						 
						
							
							
								
								Add support for a few simple fixups to the ARM Darwin asm backend. This allows  
							
							 
							
							... 
							
							
							
							constant pool references and global variable refernces to resolve properly
for object file generation. For example,
int x;
void foo(unsigned a, unsigned *p) {
  p[a] = x;
}
can now be successfully compiled directly to an (ARM mode) object file.
llvm-svn: 118469 
							
						 
						
							2010-11-09 01:37:15 +00:00  
						
					 
				
					
						
							
							
								 
								Jim Grosbach
							
						 
						
							 
							
							
							
							
								
							
							
								2bab7570f5 
								
							 
						 
						
							
							
								
								Enable MachO writing for ARM/Darwin. Lots of stuff still doesn't work  
							
							 
							
							... 
							
							
							
							(relocations, e.g.), but this will allow simple things to flow through.
llvm-svn: 118289 
							
						 
						
							2010-11-05 18:50:35 +00:00  
						
					 
				
					
						
							
							
								 
								Jim Grosbach
							
						 
						
							 
							
							
							
							
								
							
							
								46c2acbcb4 
								
							 
						 
						
							
							
								
								Allow targets to specify the MachO CPUType/CPUSubtype information.  
							
							 
							
							... 
							
							
							
							llvm-svn: 118288 
							
						 
						
							2010-11-05 18:48:58 +00:00  
						
					 
				
					
						
							
							
								 
								Rafael Espindola
							
						 
						
							 
							
							
							
							
								
							
							
								0ed1543d4e 
								
							 
						 
						
							
							
								
								Add support for emitting ARM file attributes.  
							
							 
							
							... 
							
							
							
							llvm-svn: 117275 
							
						 
						
							2010-10-25 17:50:35 +00:00  
						
					 
				
					
						
							
							
								 
								Wesley Peck
							
						 
						
							 
							
							
							
							
								
							
							
								1851090515 
								
							 
						 
						
							
							
								
								Making the e_machine configurable by the target backend in ELFObjectWriter.  
							
							 
							
							... 
							
							
							
							llvm-svn: 117099 
							
						 
						
							2010-10-22 15:52:49 +00:00  
						
					 
				
					
						
							
							
								 
								Rafael Espindola
							
						 
						
							 
							
							
							
							
								
							
							
								4262a22225 
								
							 
						 
						
							
							
								
								Add a MCObjectFormat class so that code common to all targets that use a  
							
							 
							
							... 
							
							
							
							single object format can be shared.
This also adds support for
mov zed+(bar-foo), %eax
on ELF and COFF targets.
llvm-svn: 116675 
							
						 
						
							2010-10-16 18:23:53 +00:00  
						
					 
				
					
						
							
							
								 
								Jim Grosbach
							
						 
						
							 
							
							
							
							
								
							
							
								7e872969ce 
								
							 
						 
						
							
							
								
								Move getPointerSize() to the base class since it's not dependent on MachO  
							
							 
							
							... 
							
							
							
							vs. ELF
llvm-svn: 115180 
							
						 
						
							2010-09-30 17:45:51 +00:00  
						
					 
				
					
						
							
							
								 
								Jim Grosbach
							
						 
						
							 
							
							
							
							
								
							
							
								5a5ddc402e 
								
							 
						 
						
							
							
								
								Remove extraneous ';'  
							
							 
							
							... 
							
							
							
							llvm-svn: 115176 
							
						 
						
							2010-09-30 17:19:17 +00:00  
						
					 
				
					
						
							
							
								 
								Kevin Enderby
							
						 
						
							 
							
							
							
							
								
							
							
								bad267fa05 
								
							 
						 
						
							
							
								
								Adds getPointerSize() to the AsmBackend which will be needed by the final patch  
							
							 
							
							... 
							
							
							
							for the dwarf .loc support to emit dwarf line number tables.
llvm-svn: 115153 
							
						 
						
							2010-09-30 16:38:07 +00:00  
						
					 
				
					
						
							
							
								 
								Jason W Kim
							
						 
						
							 
							
							
							
							
								
							
							
								6c233c141e 
								
							 
						 
						
							
							
								
								Fix two tiny issues (ARM does not need COFF) and comment sanity.  
							
							 
							
							... 
							
							
							
							llvm-svn: 115147 
							
						 
						
							2010-09-30 14:58:19 +00:00  
						
					 
				
					
						
							
							
								 
								Jim Grosbach
							
						 
						
							 
							
							
							
							
								
							
							
								689651c767 
								
							 
						 
						
							
							
								
								trailing whitespace  
							
							 
							
							... 
							
							
							
							llvm-svn: 115136 
							
						 
						
							2010-09-30 03:21:00 +00:00  
						
					 
				
					
						
							
							
								 
								Jim Grosbach
							
						 
						
							 
							
							
							
							
								
							
							
								58bce99385 
								
							 
						 
						
							
							
								
								Remove misplaced ';'. Make buildbots happy, hopefully.  
							
							 
							
							... 
							
							
							
							llvm-svn: 115135 
							
						 
						
							2010-09-30 03:20:34 +00:00  
						
					 
				
					
						
							
							
								 
								Jason W Kim
							
						 
						
							 
							
							
							
							
								
							
							
								b32124545b 
								
							 
						 
						
							
							
								
								I added a new file ARMAsmBackend which stubs out in similar ways to  
							
							 
							
							... 
							
							
							
							the eqv X86 class.
For now, I split the ELFARMAsmBackend from the DarwinARMAsmBackend
(also mimicking X86)
Tested against -r115126
llvm-svn: 115129 
							
						 
						
							2010-09-30 02:17:26 +00:00