llvm-6502/test/MC/Mips
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
..
abicalls.ll Mips ELF: Mark object file as ABI compliant 2013-06-18 19:47:15 +00:00
do_switch.ll
eh-frame.s Change how we iterate over relocations on ELF. 2013-05-30 03:05:14 +00:00
elf_basic.s Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
elf_eflags.ll Mips ELF: Mark object file as ABI compliant 2013-06-18 19:47:15 +00:00
elf_st_other.ll Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
elf-bigendian.ll Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
elf-gprel-32-64.ll Change how we iterate over relocations on ELF. 2013-05-30 03:05:14 +00:00
elf-N64.ll Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
elf-objdump.s
elf-reginfo.ll Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
elf-relsym.ll Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
elf-tls.ll Change how we iterate over relocations on ELF. 2013-05-30 03:05:14 +00:00
expr1.s Mips assembler: Enable handling of nested expressions 2013-04-17 00:18:04 +00:00
higher_highest.ll Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
hilo-addressing.s Mips specific standalone assembler addressing mode %hi and %lo. 2013-02-21 02:09:31 +00:00
lea_64.ll
lit.local.cfg
micromips-alu-instructions.s [mips] Test for r179873. 2013-04-30 20:48:49 +00:00
micromips-loadstore-instructions.s Test case for r180241. 2013-04-25 02:22:07 +00:00
micromips-shift-instructions.s Test case for r180238. 2013-04-25 02:21:09 +00:00
mips64-alu-instructions.s Mips assembler: Add TwoOperandConstraint definitions 2013-05-16 20:24:27 +00:00
mips64-register-names.s
mips64extins.ll
mips64shift.ll
mips_directives.s Mips assembler: Improve set register alias handling 2013-05-28 22:21:05 +00:00
mips_gprel16.ll This patch produces the correct addend value for 2013-01-08 19:01:28 +00:00
mips-alu-instructions.s Mips assembler: Add TwoOperandConstraint definitions 2013-05-16 20:24:27 +00:00
mips-coprocessor-encodings.s This is a resubmittal. For some reason it broke the bots yesterday 2013-01-18 20:15:06 +00:00
mips-expansions.s Use object file specific section type for initial text section 2013-04-14 21:18:36 +00:00
mips-fpu-instructions.s Mips assembler: Explicit floating point condition register recognition. 2013-04-15 22:21:55 +00:00
mips-jump-instructions.s Mips assembler: Add branch macro definitions 2013-05-16 19:40:19 +00:00
mips-memory-instructions.s Use object file specific section type for initial text section 2013-04-14 21:18:36 +00:00
mips-register-names.s
mips-relocations.s Use object file specific section type for initial text section 2013-04-14 21:18:36 +00:00
multi-64bit-func.ll
nabi-regs.s Use object file specific section type for initial text section 2013-04-14 21:18:36 +00:00
pr11877.s
r-mips-got-disp.ll Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
set-at-directive.s Use object file specific section type for initial text section 2013-04-14 21:18:36 +00:00
sext_64_32.ll [mips] Stop reserving register AT and use register scavenger when a scratch 2012-11-03 00:05:43 +00:00
sym-offset.ll Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
xgot.ll Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00