This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: check mips abi x linker emulation compatibility


On Mar 28, 2003, Alexandre Oliva <aoliva@redhat.com> wrote:

> Ok, here's a patch that fixes a typo in my earlier bfd patch, changes
> the assembler default ABI as you suggest, adjusting the assembler and
> the linker testsuite.  The assembler testsuite is currently very
> broken, because of a patch that Eric installed the other day, but I
> reverted his patch in my tree and, after the patch, got failures only
> in the empic tests, that have been broken for a while.  The linker
> testsuite was a bit trickier to fix: a number of tests seem to
> actually depend on o32 behavior, and a few of the flag-compatibility
> tests go further and actually rely on the no-abi default of the
> assembler, which doesn't hold for mips64-linux-gnu.  I'm thinking of
> simply disabling the 5 failing tests that depended on this behavior
> (perhaps only for mips64-linux-gnu?).  They are:

> Ok to install?

Ping?

> Index: bfd/ChangeLog
> from  Alexandre Oliva  <aoliva@redhat.com>

> 	* elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Improve
> 	error message for mixing different-endian files.  Check for ABI
> 	compatibility of input files with the selected emulation.

> Index: gas/ChangeLog
> from  Alexandre Oliva  <aoliva@redhat.com>

> 	* configure.in (MIPS_DEFAULT_ABI): AC_DEFINE.
> 	* config/tc-mips.c (mips_after_parse_args): Set mips_abi to it.
> 	* config.in, configure: Rebuilt.

> Index: gas/testsuite/ChangeLog
> from  Alexandre Oliva  <aoliva@redhat.com>

> 	* gas/mips/abs.d, gas/mips/add.d, gas/mips/and.d,
> 	gas/mips/beq.d, gas/mips/bge.d, gas/mips/bgeu.d,
> 	gas/mips/blt.d, gas/mips/bltu.d, gas/mips/branch-misc-1.d,
> 	gas/mips/break20.d, gas/mips/cp0sel-names-mips32.d,
> 	gas/mips/cp0sel-names-mips32r2.d,
> 	gas/mips/cp0sel-names-mips64.d,
> 	gas/mips/cp0sel-names-numeric.d, gas/mips/cp0sel-names-sb1.d,
> 	gas/mips/elf-jal.d, gas/mips/elf-rel.d, gas/mips/elf-rel2.d,
> 	gas/mips/elf-rel3.d, gas/mips/elf-rel4.d, gas/mips/elf-rel5.d,
> 	gas/mips/elf-rel6.d, gas/mips/elf-rel7.d,
> 	gas/mips/elf_arch_mips1.d, gas/mips/elf_arch_mips2.d,
> 	gas/mips/elf_arch_mips3.d, gas/mips/elf_arch_mips32.d,
> 	gas/mips/elf_arch_mips32r2.d, gas/mips/elf_arch_mips4.d,
> 	gas/mips/elf_arch_mips5.d, gas/mips/elf_arch_mips64.d,
> 	gas/mips/elf_ase_mips16.d, gas/mips/empic.d,
> 	gas/mips/empic2.d, gas/mips/empic3_e.d, gas/mips/empic3_g1.d,
> 	gas/mips/empic3_g2.d, gas/mips/hwr-names-mips32r2.d,
> 	gas/mips/hwr-names-numeric.d, gas/mips/jal-empic-elf-2.d,
> 	gas/mips/jal-empic-elf-3.d, gas/mips/jal-empic-elf.d,
> 	gas/mips/jal-svr4pic.d, gas/mips/jal-xgot.d, gas/mips/jal.d,
> 	gas/mips/la-empic.d, gas/mips/la-svr4pic.d,
> 	gas/mips/la-xgot.d, gas/mips/la.d, gas/mips/lb-empic.d,
> 	gas/mips/lb-svr4pic.d, gas/mips/lb-xgot-ilocks.d,
> 	gas/mips/lb-xgot.d, gas/mips/lb.d, gas/mips/ld-empic.d,
> 	gas/mips/ld-svr4pic.d, gas/mips/ld-xgot.d, gas/mips/ld.d,
> 	gas/mips/li.d, gas/mips/lif-empic.d, gas/mips/lif-svr4pic.d,
> 	gas/mips/lif-xgot.d, gas/mips/lifloat.d,
> 	gas/mips/mips-gp32-fp32-pic.d, gas/mips/mips-gp32-fp32.d,
> 	gas/mips/mips-gp32-fp64-pic.d, gas/mips/mips-gp32-fp64.d,
> 	gas/mips/mips-gp64-fp32-pic.d, gas/mips/mips-gp64-fp32.d,
> 	gas/mips/mips-gp64-fp64-pic.d, gas/mips/mips-gp64-fp64.d,
> 	gas/mips/mips.exp, gas/mips/mips16-e.d, gas/mips/mips16-f.d,
> 	gas/mips/mips32.d, gas/mips/mips32r2.d, gas/mips/mips4010.d,
> 	gas/mips/mips4650.d, gas/mips/mips64.d, gas/mips/mipsel16-e.d,
> 	gas/mips/mipsel16-f.d, gas/mips/rol-hw.d, gas/mips/rol.d,
> 	gas/mips/sb.d, gas/mips/sync.d, gas/mips/tempic.d,
> 	gas/mips/tmips16-e.d, gas/mips/tmips16-f.d,
> 	gas/mips/tmipsel16-e.d, gas/mips/tmipsel16-f.d,
> 	gas/mips/trunc.d, gas/mips/uld.d, gas/mips/ulh-empic.d,
> 	gas/mips/ulh-svr4pic.d, gas/mips/ulh-xgot.d, gas/mips/ulh.d,
> 	gas/mips/ulw.d, gas/mips/usd.d, gas/mips/ush.d,
> 	gas/mips/usw.d, gas/mips/vr4122.d: Added ABI specification.
> 	gas/vtable/vtable.exp: mips64*-*-linux* and mips*-*-irix6* are
> 	RELA.

> Index: ld/testsuite/ChangeLog
> from  Alexandre Oliva  <aoliva@redhat.com>

> 	* config/default.exp: Force default ABI and linker emulations to
> 	o32 in mips64*-linux-gnu*.
> 	* ld-elf/merge.d: Xfail on mips64*-linux-gnu*.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]