From 8c9604b6a2c553bc1edc6d80b934b99112292e58 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 17 Sep 2018 14:51:47 +0930 Subject: [PATCH] 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. --- binutils/ChangeLog | 13 +++++++++++++ binutils/testsuite/binutils-all/strip-13mips64.s | 2 +- binutils/testsuite/binutils-all/strip-13rel.s | 2 +- binutils/testsuite/binutils-all/strip-13rela.s | 2 +- binutils/testsuite/binutils-all/strip-14mips64.s | 2 +- binutils/testsuite/binutils-all/strip-14rel.s | 2 +- binutils/testsuite/binutils-all/strip-14rela.s | 2 +- binutils/testsuite/binutils-all/strip-15mips64.s | 2 +- binutils/testsuite/binutils-all/strip-15rel.s | 2 +- binutils/testsuite/binutils-all/strip-15rela.s | 2 +- 10 files changed, 22 insertions(+), 9 deletions(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 5c75f969827..0de86868f1e 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,16 @@ +2018-09-17 Alan Modra + + * 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. + 2018-09-17 Nick Clifton * testsuite/binutils-all/compress.exp: Rename second "objcopy diff --git a/binutils/testsuite/binutils-all/strip-13mips64.s b/binutils/testsuite/binutils-all/strip-13mips64.s index ea652a47d76..c0ceccb79a8 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 f708f6f4323..15c3a6165ea 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 2c01ab2a99f..9effc52d100 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 723da8da35e..e1f5096e68e 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 b0ddc496b01..7c0ce2e08ab 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 414d3035f3c..d0277247c53 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 a15c3772ca6..c71b8e2d66c 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 1819a539e17..fa0feb1fdd0 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 7bcd85e2836..8eed15f72ee 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 -- 2.30.2