binutils-gdb/ld/testsuite/ld-mips-elf/attr-gnu-4-70.d
Maciej W. Rozycki 6c9a7fb62f MIPS/LD/testsuite: Accept any UNIX OS/ABI with GNU attribute tests
Remove failures with FreeBSD targets, e.g:

regexp_diff match failure
regexp "^  OS/ABI:                            UNIX - System V$"
line   "  OS/ABI:                            UNIX - FreeBSD"
FAIL: ld-mips-elf/attr-gnu-4-50

introduced with commit 351cdf24d2 ("[MIPS] Implement O32 FPXX, FP64
and FP64A ABI extensions").

	ld/
	* testsuite/ld-mips-elf/attr-gnu-4-10.d: Match any UNIX OS/ABI.
	* testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
	* testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
	* testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
2016-06-28 11:10:21 +01:00

42 lines
1.3 KiB
Makefile

#source: attr-gnu-4-7.s
#source: attr-gnu-4-0.s -mips32r2
#ld: -r
#readelf: -hA
ELF Header:
Magic: .*
Class: ELF32
Data: 2's complement,.*
Version: 1 \(current\)
OS/ABI: UNIX - .*
ABI Version: 3
Type: REL \(Relocatable file\)
Machine: MIPS R3000
Version: 0x1
Entry point address: 0x0
Start of program headers: 0 \(bytes into file\)
Start of section headers: ... \(bytes into file\)
Flags: 0x70001000, o32, mips32r2
Size of this header: 52 \(bytes\)
Size of program headers: 0 \(bytes\)
Number of program headers: 0
Size of section headers: 40 \(bytes\)
Number of section headers: 11
Section header string table index: 8
Attribute Section: gnu
File Attributes
Tag_GNU_MIPS_ABI_FP: Hard float compat \(32-bit CPU, 64-bit FPU\)
MIPS ABI Flags Version: 0
ISA: MIPS.*
GPR size: .*
CPR1 size: .*
CPR2 size: 0
FP ABI: Hard float compat \(32-bit CPU, 64-bit FPU\)
ISA Extension: None
ASEs:
None
FLAGS 1: 0000000.
FLAGS 2: 00000000