2013-10-14 Chao-ying Fu <Chao-ying.Fu@imgtec.com>

* ld-mips-elf/attr-gnu-8-0.s, ld-mips-elf/attr-gnu-8-1.s,
	ld-mips-elf/attr-gnu-8-2.s,
	ld-mips-elf/attr-gnu-8-00.d, ld-mips-elf/attr-gnu-8-01.d,
	ld-mips-elf/attr-gnu-8-02.d, ld-mips-elf/attr-gnu-8-10.d,
	ld-mips-elf/attr-gnu-8-11.d, ld-mips-elf/attr-gnu-8-12.d,
	ld-mips-elf/attr-gnu-8-20.d, ld-mips-elf/attr-gnu-8-21.d,
	ld-mips-elf/attr-gnu-8-22.d: New.
	* ld-mips-elf/mips-elf.exp: Run new tests.
This commit is contained in:
Chao-ying Fu 2013-10-14 19:02:00 +00:00
parent 4edbb8e35a
commit 7c79037879
14 changed files with 94 additions and 0 deletions

View File

@ -1,3 +1,14 @@
2013-10-14 Chao-ying Fu <Chao-ying.Fu@imgtec.com>
* ld-mips-elf/attr-gnu-8-0.s, ld-mips-elf/attr-gnu-8-1.s,
ld-mips-elf/attr-gnu-8-2.s,
ld-mips-elf/attr-gnu-8-00.d, ld-mips-elf/attr-gnu-8-01.d,
ld-mips-elf/attr-gnu-8-02.d, ld-mips-elf/attr-gnu-8-10.d,
ld-mips-elf/attr-gnu-8-11.d, ld-mips-elf/attr-gnu-8-12.d,
ld-mips-elf/attr-gnu-8-20.d, ld-mips-elf/attr-gnu-8-21.d,
ld-mips-elf/attr-gnu-8-22.d: New.
* ld-mips-elf/mips-elf.exp: Run new tests.
2013-10-13 Richard Sandiford <rdsandiford@googlemail.com> 2013-10-13 Richard Sandiford <rdsandiford@googlemail.com>
* lib/ld-lib.exp (default_ld_compile): Add a -I option for the source * lib/ld-lib.exp (default_ld_compile): Add a -I option for the source

View File

@ -0,0 +1 @@
.gnu_attribute 8,0

View File

@ -0,0 +1,6 @@
#source: attr-gnu-8-0.s
#source: attr-gnu-8-0.s
#ld: -r
#readelf: -A
#target: mips*-*-*

View File

@ -0,0 +1,9 @@
#source: attr-gnu-8-0.s
#source: attr-gnu-8-1.s
#ld: -r
#readelf: -A
#target: mips*-*-*
Attribute Section: gnu
File Attributes
Tag_GNU_MIPS_ABI_MSA: 128-bit MSA

View File

@ -0,0 +1,9 @@
#source: attr-gnu-8-0.s
#source: attr-gnu-8-2.s
#ld: -r
#readelf: -A
#target: mips*-*-*
Attribute Section: gnu
File Attributes
Tag_GNU_MIPS_ABI_MSA: \?\?\? \(2\)

View File

@ -0,0 +1 @@
.gnu_attribute 8,1

View File

@ -0,0 +1,9 @@
#source: attr-gnu-8-1.s
#source: attr-gnu-8-0.s
#ld: -r
#readelf: -A
#target: mips*-*-*
Attribute Section: gnu
File Attributes
Tag_GNU_MIPS_ABI_MSA: 128-bit MSA

View File

@ -0,0 +1,9 @@
#source: attr-gnu-8-1.s
#source: attr-gnu-8-1.s
#ld: -r
#readelf: -A
#target: mips*-*-*
Attribute Section: gnu
File Attributes
Tag_GNU_MIPS_ABI_MSA: 128-bit MSA

View File

@ -0,0 +1,5 @@
#source: attr-gnu-8-1.s
#source: attr-gnu-8-2.s
#ld: -r
#warning: Warning: .* uses -mmsa \(set by .*\), .* uses unknown MSA ABI 2
#target: mips*-*-*

View File

@ -0,0 +1 @@
.gnu_attribute 8,2

View File

@ -0,0 +1,9 @@
#source: attr-gnu-8-2.s
#source: attr-gnu-8-0.s
#ld: -r
#readelf: -A
#target: mips*-*-*
Attribute Section: gnu
File Attributes
Tag_GNU_MIPS_ABI_MSA: \?\?\? \(2\)

View File

@ -0,0 +1,5 @@
#source: attr-gnu-8-2.s
#source: attr-gnu-8-1.s
#ld: -r
#warning: Warning: .* uses unknown MSA ABI 2 \(set by .*\), .* uses -mmsa
#target: mips*-*-*

View File

@ -0,0 +1,9 @@
#source: attr-gnu-8-2.s
#source: attr-gnu-8-2.s
#ld: -r
#readelf: -A
#target: mips*-*-*
Attribute Section: gnu
File Attributes
Tag_GNU_MIPS_ABI_MSA: \?\?\? \(2\)

View File

@ -827,3 +827,13 @@ if { $linux_gnu } {
n32 -1 1 umips n32 -1 1 umips
} }
} }
run_dump_test "attr-gnu-8-00"
run_dump_test "attr-gnu-8-01"
run_dump_test "attr-gnu-8-02"
run_dump_test "attr-gnu-8-10"
run_dump_test "attr-gnu-8-11"
run_dump_test "attr-gnu-8-12"
run_dump_test "attr-gnu-8-20"
run_dump_test "attr-gnu-8-21"
run_dump_test "attr-gnu-8-22"