llvm-6502/test
Jack Carter 571dd98ea4 Mips ELF: Mark object file as ABI compliant
When producing objects that are abi compliant we are 
marking neither the object file nor the assembly file
correctly and thus generate warnings. 

We need to set the EF_CPIC flag in the ELF header when
generating direct object.

Note that the warning is only generated when compiling without PIC.

When compiling with clang the warning will be suppressed by supplying:

 -Wa,-mno-shared -Wa,-call_nonpic

Also the following directive should also be added:

	.option	pic0

when compiling without PIC,  This eliminates the need for supplying:

  -mno-shared -call_nonpic

on the assembler command line.

Patch by Douglas Gilmore


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184220 91177308-0d34-0410-b5e6-96231b3b80d8
2013-06-18 19:47:15 +00:00
..
Analysis
Archive Remove the LLVM specific archive index. 2013-06-14 23:25:53 +00:00
Assembler
Bindings/Ocaml
Bitcode
BugPoint
CodeGen Reenable, improve, and add MI-Sched unit tests. 2013-06-17 21:45:16 +00:00
DebugInfo Fix frame pointer debug information test 2013-06-14 19:55:26 +00:00
ExecutionEngine
Feature
FileCheck
Instrumentation
Integer
JitListener
Linker
MC Mips ELF: Mark object file as ABI compliant 2013-06-18 19:47:15 +00:00
Object Basic support for parsing Mach-O universal binaries in LLVMObject library 2013-06-18 15:03:28 +00:00
Other Add a testcase for r184074. 2013-06-17 14:00:41 +00:00
TableGen
tools readobj: Dump PE/COFF optional records. 2013-06-12 19:10:33 +00:00
Transforms Fix for a regression caused by the LoopVectorizer when 2013-06-17 18:49:06 +00:00
Unit
Verifier
YAMLParser
CMakeLists.txt
lit.cfg Remove the LLVM specific archive index. 2013-06-14 23:25:53 +00:00
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh