8450266425 
								
							 
						 
						
							
							
								
								Ensure that clang -pthread creates the right macro. -D_POSIX_THREADS  
							
							... 
							
							
							
							seems to have been a C&P error from old GCC specs for OpenBSD.
llvm-svn: 292119 
							
						 
						
							2017-01-16 14:07:24 +00:00  
				
					
						
							
							
								 
						
							
								79557db932 
								
							 
						 
						
							
							
								
								Extend NetBSD/AArch64 to cover Big Endian as well.  
							
							... 
							
							
							
							llvm-svn: 291436 
							
						 
						
							2017-01-09 11:22:14 +00:00  
				
					
						
							
							
								 
						
							
								e27aec9f4a 
								
							 
						 
						
							
							
								
								Give FileCheck a hint on which ld to match. Under Windows, the preferred  
							
							... 
							
							
							
							match was the ld.elf_so that should be matched in a second step. Add one
of the ever-present-but-irrelevant-for-this-test arguments to the
pattern to force matching the right argument.
llvm-svn: 271893 
							
						 
						
							2016-06-06 13:13:12 +00:00  
				
					
						
							
							
								 
						
							
								b8650ad024 
								
							 
						 
						
							
							
								
								Add PIE magic for NetBSD. Add tests for the correct flags for  
							
							... 
							
							
							
							non-shared, PIE and shared output mode.
llvm-svn: 271801 
							
						 
						
							2016-06-04 20:03:26 +00:00  
				
					
						
							
							
								 
						
							
								059613cb68 
								
							 
						 
						
							
							
								
								Now that Sparc/Sparc64 backend is mostly usable, provide the same  
							
							... 
							
							
							
							linking defaults as other NetBSD targets, i.e. compiler_rt-in-libc and
libc++ as STL.
llvm-svn: 260616 
							
						 
						
							2016-02-11 23:18:36 +00:00  
				
					
						
							
							
								 
						
							
								ec353d3fc6 
								
							 
						 
						
							
							
								
								Reorganise CPU handling for Sparc. When using -mcpu=v9 and co, __sparcv8  
							
							... 
							
							
							
							is not defined for 32bit mode, but __sparcv9 is. Pass down the correct
-target-cpu flags to the backend, so that instruction restrictions are
applied correctly. Pass down the correct -A flag when not using IAS.
The latter is limited to NetBSD targets in this commit.
llvm-svn: 252545 
							
						 
						
							2015-11-09 23:39:45 +00:00  
				
					
						
							
							
								 
						
							
								1689d3f732 
								
							 
						 
						
							
							
								
								For the --be8 flag, check explicitly for pre-v7 / pre-v6m cores.  
							
							... 
							
							
							
							Those used the old Big Endian support on ARM and don't need flags.
Refactor the logic in a separate common function, which also looks at
-march. Add corresponding logic for the Linux toolchain.
llvm-svn: 227393 
							
						 
						
							2015-01-28 23:30:39 +00:00  
				
					
						
							
							
								 
						
							
								dceac987bd 
								
							 
						 
						
							
							
								
								For NetBSD/ARM-EB, link with --be8. Support for the older BE32 is  
							
							... 
							
							
							
							currently not planned.
llvm-svn: 227088 
							
						 
						
							2015-01-26 12:30:16 +00:00  
				
					
						
							
							
								 
						
							
								b704534233 
								
							 
						 
						
							
							
								
								Use the big endian emulations for NetBSD/arm in EB mode.  
							
							... 
							
							
							
							llvm-svn: 215670 
							
						 
						
							2014-08-14 19:12:41 +00:00  
				
					
						
							
							
								 
						
							
								dd13b30c29 
								
							 
						 
						
							
							
								
								For NetBSD, use the same settings for PPC64 as for PPC when it comes to  
							
							... 
							
							
							
							integrated assembler, libc++ and libgcc. Set emulation for ld for both
platforms for correct -m32 handling.
llvm-svn: 215551 
							
						 
						
							2014-08-13 14:17:32 +00:00  
				
					
						
							
							
								 
						
							
								17a80e49e7 
								
							 
						 
						
							
							
								
								Use the correct fallback directory for EABIHF targets on NetBSD/arm.  
							
							... 
							
							
							
							From Matt Thomas.
llvm-svn: 215292 
							
						 
						
							2014-08-09 19:01:52 +00:00  
				
					
						
							
							
								 
						
							
								323cea90da 
								
							 
						 
						
							
							
								
								NetBSD/aarch64 has no libgcc or libstdc++. Drop arm64 tests.  
							
							... 
							
							
							
							llvm-svn: 215291 
							
						 
						
							2014-08-09 18:28:36 +00:00  
				
					
						
							
							
								 
						
							
								c888757a2d 
								
							 
						 
						
							
							
								
								Now that PIC generation on PPC32 is supported, hook up linking support  
							
							... 
							
							
							
							for NetBSD.
llvm-svn: 213972 
							
						 
						
							2014-07-25 20:57:24 +00:00  
				
					
						
							
							
								 
						
							
								1ea6647838 
								
							 
						 
						
							
							
								
								Drop libgcc and default to libc++ for NetBSD/ARM on 6.99.40+.  
							
							... 
							
							
							
							Don't bother with keeping the old support for x86_64 in 6.99.23+, just
use a single range. Update test cases for the always-on --eh-frame-hdr.
llvm-svn: 208170 
							
						 
						
							2014-05-07 08:45:26 +00:00  
				
					
						
							
							
								 
						
							
								96061a6db1 
								
							 
						 
						
							
							
								
								[ARM64] Add ARM64 RUN lines to a bunch of tests that had AARCH64 RUN lines.  
							
							... 
							
							
							
							This covers all tests in tests/Driver and tests/Preprocessor, but there are some
failing tests in test/Sema that need looking into.
llvm-svn: 206464 
							
						 
						
							2014-04-17 12:51:36 +00:00  
				
					
						
							
							
								 
						
							
								8280abe47f 
								
							 
						 
						
							
							
								
								Handle -m32 for NetBSD/sparc64 correctly. Extend test case to also check  
							
							... 
							
							
							
							ARM, MIPS and i386 ABIs.
llvm-svn: 206416 
							
						 
						
							2014-04-16 20:44:17 +00:00  
				
					
						
							
							
								 
						
							
								52be0b4cf4 
								
							 
						 
						
							
							
								
								Always use --eh-frame-hdr on NetBSD, even for -static.  
							
							... 
							
							
							
							llvm-svn: 203742 
							
						 
						
							2014-03-13 00:42:01 +00:00  
				
					
						
							
							
								 
						
							
								695fdb3bc2 
								
							 
						 
						
							
							
								
								Default to ARMv5e for NetBSD/EABI, ARMv4 for APCS.  
							
							... 
							
							
							
							llvm-svn: 201894 
							
						 
						
							2014-02-21 21:53:33 +00:00  
				
					
						
							
							
								 
						
							
								ed3f0693cb 
								
							 
						 
						
							
							
								
								Hook up NetBSD/sparc and NetBSD/sparc64 as and ld invocations.  
							
							... 
							
							
							
							llvm-svn: 201730 
							
						 
						
							2014-02-19 22:40:18 +00:00  
				
					
						
							
							
								 
						
							
								83a33c0cd7 
								
							 
						 
						
							
							
								
								Use correct ld emulation for EABI hardware float triple on NetBSD.  
							
							... 
							
							
							
							llvm-svn: 200946 
							
						 
						
							2014-02-06 21:04:32 +00:00  
				
					
						
							
							
								 
						
							
								d5e2f094d4 
								
							 
						 
						
							
							
								
								Test cases for NetBSD/eARM  
							
							... 
							
							
							
							llvm-svn: 200709 
							
						 
						
							2014-02-03 17:46:52 +00:00  
				
					
						
							
							
								 
						
							
								9853439b5b 
								
							 
						 
						
							
							
								
								Hook up NetBSD/aarch64.  
							
							... 
							
							
							
							llvm-svn: 199124 
							
						 
						
							2014-01-13 18:25:15 +00:00  
				
					
						
							
							
								 
						
							
								d936911923 
								
							 
						 
						
							
							
								
								clang/test/Driver/netbsd.c*: Tweak path separators to be matched on win32 driver.  
							
							... 
							
							
							
							llvm-svn: 192676 
							
						 
						
							2013-10-15 06:36:47 +00:00  
				
					
						
							
							
								 
						
							
								033e5a21fa 
								
							 
						 
						
							
							
								
								Provide a dummy NetBSD tree and use --sysroot in the driver test.  
							
							... 
							
							
							
							llvm-svn: 192641 
							
						 
						
							2013-10-14 23:26:44 +00:00  
				
					
						
							
							
								 
						
							
								a443563ff0 
								
							 
						 
						
							
							
								
								For NetBSD/current on X86 do not use libgcc and default to libc++.  
							
							... 
							
							
							
							Adjust linkage to make more sense for older releases.
llvm-svn: 192615 
							
						 
						
							2013-10-14 20:13:05 +00:00