[Patch AArch64] Fix fallout with testing on big endian AArch64.

Ramana Radhakrishnan ramrad01@arm.com
Mon Apr 8 09:37:00 GMT 2013
Hi,

The tests recently added don't test cleanly for aarch64_be-none-elf.

Committed as obvious.

regards
Ramana

2013-04-08  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

	* ld-aarch64/gc-tls-relocs.d: Handle big endian format.
	* ld-aarch64/gc-got-relocs.d: Likewise.

-------------- next part --------------
diff --git a/ld/testsuite/ld-aarch64/gc-got-relocs.d b/ld/testsuite/ld-aarch64/gc-got-relocs.d
index c636fbf..0944b06 100644
--- a/ld/testsuite/ld-aarch64/gc-got-relocs.d
+++ b/ld/testsuite/ld-aarch64/gc-got-relocs.d
@@ -9,7 +9,7 @@
 # After gc-section removal we are cheking that symbol does not exit
 # got section is empty and text section contains only start function.
 
-.*:     file format elf64-littleaarch64
+.*:     file format elf64-(little|big)aarch64
 
 SYMBOL TABLE:
 0+8000 l    d  \.text	0+ \.text
diff --git a/ld/testsuite/ld-aarch64/gc-tls-relocs.d b/ld/testsuite/ld-aarch64/gc-tls-relocs.d
index 50d23e5..d6c8740 100644
--- a/ld/testsuite/ld-aarch64/gc-tls-relocs.d
+++ b/ld/testsuite/ld-aarch64/gc-tls-relocs.d
@@ -10,7 +10,7 @@
 # After gc-section removal we are cheking that symbols does not exit
 # got section is empty and text section contains only start function.
 
-.*:     file format elf64-littleaarch64
+.*:     file format elf64-(little|big)aarch64
 
 SYMBOL TABLE:
 0+8000 l    d  \.text	0+ \.text


More information about the Binutils mailing list