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]

Adjust some strip testcases to silence h8300 warnings


	* testsuite/binutils-all/strip-13mips64.s: Add section flags
	for reloc section.
	* testsuite/binutils-all/strip-13rel.s: Likewise.
	* testsuite/binutils-all/strip-13rela.s: Likewise.
	* testsuite/binutils-all/strip-14mips64.s: Likewise.
	* testsuite/binutils-all/strip-14rel.s: Likewise.
	* testsuite/binutils-all/strip-14rela.s: Likewise.
	* testsuite/binutils-all/strip-15mips64.s: Likewise.
	* testsuite/binutils-all/strip-15rel.s: Likewise.
	* testsuite/binutils-all/strip-15rela.s: Likewise.

diff --git a/binutils/testsuite/binutils-all/strip-13mips64.s b/binutils/testsuite/binutils-all/strip-13mips64.s
index ea652a47d7..c0ceccb79a 100644
--- a/binutils/testsuite/binutils-all/strip-13mips64.s
+++ b/binutils/testsuite/binutils-all/strip-13mips64.s
@@ -2,7 +2,7 @@
 foo:
 	.dc.l    0x12345678
 
-	.section .rela.text
+	.section .rela.text,""
 	.dc.a	 0
 	.dc.l    0
 	.dc.b    0, 0, 0, RELOC
diff --git a/binutils/testsuite/binutils-all/strip-13rel.s b/binutils/testsuite/binutils-all/strip-13rel.s
index f708f6f432..15c3a6165e 100644
--- a/binutils/testsuite/binutils-all/strip-13rel.s
+++ b/binutils/testsuite/binutils-all/strip-13rel.s
@@ -2,7 +2,7 @@
 foo:
 	.dc.l    0x12345678
 
-	.section .rel.text
+	.section .rel.text,""
  .ifdef ELF64
 	.8byte	0
 	.8byte	RELOC
diff --git a/binutils/testsuite/binutils-all/strip-13rela.s b/binutils/testsuite/binutils-all/strip-13rela.s
index 2c01ab2a99..9effc52d10 100644
--- a/binutils/testsuite/binutils-all/strip-13rela.s
+++ b/binutils/testsuite/binutils-all/strip-13rela.s
@@ -2,7 +2,7 @@
 foo:
 	.dc.l    0x12345678
 
-	.section .rela.text
+	.section .rela.text,""
  .ifdef ELF64
 	.8byte	0
 	.8byte	RELOC
diff --git a/binutils/testsuite/binutils-all/strip-14mips64.s b/binutils/testsuite/binutils-all/strip-14mips64.s
index 723da8da35..e1f5096e68 100644
--- a/binutils/testsuite/binutils-all/strip-14mips64.s
+++ b/binutils/testsuite/binutils-all/strip-14mips64.s
@@ -2,7 +2,7 @@
 foo:
 	.dc.l    0x12345678
 
-	.section .rela.text
+	.section .rela.text,""
 	.dc.a	 0
 	.dc.l    0x000ffff0
 	.dc.b    0, 0, 0, RELOC
diff --git a/binutils/testsuite/binutils-all/strip-14rel.s b/binutils/testsuite/binutils-all/strip-14rel.s
index b0ddc496b0..7c0ce2e08a 100644
--- a/binutils/testsuite/binutils-all/strip-14rel.s
+++ b/binutils/testsuite/binutils-all/strip-14rel.s
@@ -2,7 +2,7 @@
 foo:
 	.dc.l    0x12345678
 
-	.section .rel.text
+	.section .rel.text,""
 	.ifdef	 ELF64
 
 	.dc.a	 0
diff --git a/binutils/testsuite/binutils-all/strip-14rela.s b/binutils/testsuite/binutils-all/strip-14rela.s
index 414d3035f3..d0277247c5 100644
--- a/binutils/testsuite/binutils-all/strip-14rela.s
+++ b/binutils/testsuite/binutils-all/strip-14rela.s
@@ -2,7 +2,7 @@
 foo:
 	.dc.l    0x12345678
 
-	.section .rela.text
+	.section .rela.text,""
 	.ifdef	 ELF64
 
 	.dc.a	 0
diff --git a/binutils/testsuite/binutils-all/strip-15mips64.s b/binutils/testsuite/binutils-all/strip-15mips64.s
index a15c3772ca..c71b8e2d66 100644
--- a/binutils/testsuite/binutils-all/strip-15mips64.s
+++ b/binutils/testsuite/binutils-all/strip-15mips64.s
@@ -2,7 +2,7 @@
 foo:
 	.dc.l    0x12345678
 
-	.section .rela.text
+	.section .rela.text,""
 	.dc.a	 0
 	.dc.l    0x00000000
 	.dc.b    0, 0, 0, RELOC
diff --git a/binutils/testsuite/binutils-all/strip-15rel.s b/binutils/testsuite/binutils-all/strip-15rel.s
index 1819a539e1..fa0feb1fdd 100644
--- a/binutils/testsuite/binutils-all/strip-15rel.s
+++ b/binutils/testsuite/binutils-all/strip-15rel.s
@@ -2,7 +2,7 @@
 foo:
 	.dc.l    0x12345678
 
-	.section .rel.text
+	.section .rel.text,""
 	.ifdef	 ELF64
 
 	.dc.a	 0
diff --git a/binutils/testsuite/binutils-all/strip-15rela.s b/binutils/testsuite/binutils-all/strip-15rela.s
index 7bcd85e283..8eed15f72e 100644
--- a/binutils/testsuite/binutils-all/strip-15rela.s
+++ b/binutils/testsuite/binutils-all/strip-15rela.s
@@ -2,7 +2,7 @@
 foo:
 	.dc.l    0x12345678
 
-	.section .rela.text
+	.section .rela.text,""
 	.ifdef	 ELF64
 
 	.dc.a	 0

-- 
Alan Modra
Australia Development Lab, IBM


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