[PATCH] D18899: [mips][ias] Correct ELF eflags when Octeon is the target.

Simon Dardis via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 14 06:29:27 PDT 2016


sdardis added a comment.

With clang -target mipsel-unknown-linux -mcpu=octeon trival.s -fintegrated-as -c -o blah.o

objdump is giving me:

private flags = 808b0006: [no abi set] [mips64r2] [not32bitmode]  [PIC] [CPIC]

The ISA (64r2) and machine type (E_MIPS_MACH_OCTEON) flags seem to be coming out correct, and the EF_MIPS_CPIC / EF_MIPS_PIC are expected.

However GCC / as is giving me:

private flags = 808b0026: [ABI=N32] [mips64r2] [not 32bitmode] [PIC] [CPIC]

The Is the missing ABI information a separate issue?


http://reviews.llvm.org/D18899





More information about the llvm-commits mailing list