This is the mail archive of the binutils@sourceware.org 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]

Commit: Improve GAS testsuite results for various targets


Hi Guys,

  With a new branch coming up, I thought that it would be worthwhile
  spending a little time trying to improve the testsuite results for
  various targets.  This first patch fixes various simple GAS testsuite
  failures, either by correcting the problem, or skipping them or
  marking them as expected failures if there is no reasonable
  expectation of them passing.  Some failures do still remain, notably
  for MIPS based targets, and I hope to find time to look at these in
  the future.

  Here is a list of targets and the GAS tests affected:
  
    alpha-linuxecoff      forward expression, conditional listings, alpha elf-reloc-1,  alpha elf-reloc-2, alpha elf-reloc-3, alpha elf-reloc-4, alpha elf-reloc-5, alpha elf-reloc-6, alpha elf-reloc-7, alpha elf-reloc-8, alpha elf-tls-1, alpha elf-tls-2, alpha elf-tls-3, alpha elf-usepv-1, alpha elf-usepv-2   
    alpha-unknown-freebsd CFI on alpha 2, elf type list  
    alpha-unknown-osf4.0  forward expression, conditional listings   
    arm-epoc-pe           .equ redefinitions (2)  
    arm-nto               blx->bl convert under no -march/cpu
    ft32-elf              gas/all/none, DWARF2 1, DWARF2 2, gas/elf/warn-2.s, insn, lns-duplicate, lns-common-1    
    h8300-elf             difference between forward references 
    h8300-rtems           difference between forward references 
    hppa-linux-gnu        gas/all/none    
    hppa64-linux          gas/all/none    
    microblaze-elf        difference of two undefined symbols, forward references   
    mn10200-elf           difference between forward references 
    moxie-elf             lns-common-1,
    nds32le-elf           nds32 alu_1 instructions, nds32 alu_2 instructions, nds32 load-store immediate instructions, nds32 load-store instructions, nds32 usr-spe-reg instructions, nds32 sys-reg instructions,
    ns32k-netbsd          align2, macros dot, macros purge,
    powerpc-ibm-aix5.2.0  gas/ppc/textalign-xcoff-001, PowerPC Test 2, 32 bit
    rl78-elf              difference of two undefined symbols, .equ redefinitions (2), .equ redefinitions (3), conditional listings, .equ redefinitions (ELF), macros dot   
    sh-pe                 CFI on SH, cfi cfi-diag-1, CFI common 1, CFI common 2, CFI common 3, CFI common 4, CFI common 6, CFI common 7, aligned common D, section alignment, section alignment, section exclude
    tic4x-coff            .strings tests   
    tilepro-elf           gas/tilepro/t_constants    
    vax-netbsdelf         .equ redefinitions (ELF), macros dot, macros purge   
    x86_64-pc-cygwin      .equ redefinitions (3), x86-64 pcrel   
    xgate-elf             .equ redefinitions (ELF)  

Cheers
  Nick

binutils/ChangeLog
2016-06-15  Nick Clifton  <nickc@redhat.com>

	* readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20
	reloc.

gas/ChangeLog
2016-06-15  Nick Clifton  <nickc@redhat.com>

	* config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
	instruction size.
	* config/tc-mcore.c (md_assemble): Likewise.
	* config/tc-mn10200.c (md_assemble): Likewise.
	* config/tc-moxie.c (md_assemble): Likewise.
	* config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
	* testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
	exception targets.  Add alpha, hppa, microblaze and rl78 to list
	of exceptions.
	(forward): Add microblaze to list of exceptions.
	(fwdexp): Add alpha to list of exceptions.
	(redef2): Add arm-epoc-pe and rl78 to list of exceptions.
	(redef3): Add rl78 and x86_64 cygwin to list of exceptions.
	(do_930509a): Alpha sort list of exception targets.  Add h8300 and
	mn10200 to list of exceptions.
	(align2): Expect to fail for nds32.
	(cond): Add alpha and rl78 to list of exceptions.
	* testsuite/gas/all/none.d: Skip for ft32 and hppa.
	* testsuite/gas/all/string.d: Skip for tic4x.
	* testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
	target does not support ELF.
	* testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
	* testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
	* testsuite/gas/cfi/cfi.exp: Alpha sort list of targets.  Skip SH
	tests for sh-pe and sh-rtemscoff targets.
	* testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
	list of exceptions.
	(type): Run the noifunc version for alpha-freebsd and visium.
	* testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
	mn10200 or moxie targets.
	* testsuite/gas/ft32/insn.d: Update expected disassembly.
	* testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
	targets.
	* testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
	mcore and rx targets.
	* testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
	rl78 and vax.
	(purge): Expect to fail on the ns32k and vax.
	* testsuite/gas/nds32/alu-2.d: Update expected disassembly.
	* testsuite/gas/nds32/ls.d: Likewise.
	* testsuite/gas/nds32/sys-reg.d: Likewise.
	* testsuite/gas/nds32/usr-spe-reg.d: Likewise.
	* testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
	* testsuite/gas/pe/section-align-3.d: Likewise.
	* testsuite/gas/pe/section-exclude.d: Likewise.
	* testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
	data has been seen.
	* testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
	for variations in whitespace.
	* testsuite/gas/tilepro/t_constants.d: Pass once all the required
	data has been seen.
	* testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
	Installs a 32-bit value without generating warnings on 64-bit
	hosts.
	Use the new macro to replace the .word directives.

opcodes/ChangeLog
2016-06-15  Nick Clifton  <nickc@redhat.com>

	* nds32-dis.c (nds32_parse_audio_ext): Change printing of integer
	constants to match expected behaviour.
	(nds32_parse_opcode): Likewise.  Also for whitespace.

Attachment: gas.testsuite.patch.xz
Description: application/xz


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