non-contiguous elf test

Christophe Lyon christophe.lyon@linaro.org
Wed Mar 18 12:40:17 GMT 2020


On Wed, 18 Mar 2020 at 11:11, Christophe Lyon
<christophe.lyon@linaro.org> wrote:
>
> On Wed, 18 Mar 2020 at 02:26, Alan Modra <amodra@gmail.com> wrote:
> >
> > On Tue, Mar 17, 2020 at 05:17:06PM +0100, Christophe Lyon wrote:
> > > Use '%F' format when printing error messages to exit cleanly rather
> > > than by calling abort().
> >
> > Please use "%F%P: " in place of just "%F", to comply with GNU
> > standards for error messages.  OK with that change.
> >
>
> OK, thanks!
>
> Pushed as 53215f214c61b850085196a8d69774eed026ecd9
>

I forgot to commit the related update of two testscases after the
change to the output message.
Pushed as aef397a1548908f82907854a6efc0cd4c0539904:

2020-03-18  Christophe Lyon  <christophe.lyon@linaro.org>

        * testsuite/ld-arm/non-contiguous-arm4.d: Fix expected output.
        * testsuite/ld-powerpc/non-contiguous-powerpc.d: Likewise.

Change-Id: I8870800177e1ff79cdd05af13613ec53ef95681f
---
 ld/ChangeLog                                     | 5 +++++
 ld/testsuite/ld-arm/non-contiguous-arm4.d        | 2 +-
 ld/testsuite/ld-powerpc/non-contiguous-powerpc.d | 2 +-
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ld/ChangeLog b/ld/ChangeLog
index f8ee247..050bb31 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,10 @@
 2020-03-18  Christophe Lyon  <christophe.lyon@linaro.org>

+       * testsuite/ld-arm/non-contiguous-arm4.d: Fix expected output.
+       * testsuite/ld-powerpc/non-contiguous-powerpc.d: Likewise.
+
+2020-03-18  Christophe Lyon  <christophe.lyon@linaro.org>
+
        * emultempl/xtensaelf.em: Emit a fatal error message
        instead of calling abort.
        * ldlang.c: Likewise.
diff --git a/ld/testsuite/ld-arm/non-contiguous-arm4.d
b/ld/testsuite/ld-arm/non-contiguous-arm4.d
index 28417c0..a55e8d6 100644
--- a/ld/testsuite/ld-arm/non-contiguous-arm4.d
+++ b/ld/testsuite/ld-arm/non-contiguous-arm4.d
@@ -1,4 +1,4 @@
 #name: non-contiguous-arm4
 #source: non-contiguous-arm.s
 #ld: --enable-non-contiguous-regions -T non-contiguous-arm4.ld
-# error: \AOutput section '.ramu' not large enough for the
linker-created stubs section '.code.3.__stub'.*\Z
+# error: \A.*Output section '.ramu' not large enough for the
linker-created stubs section '.code.3.__stub'.*\Z
diff --git a/ld/testsuite/ld-powerpc/non-contiguous-powerpc.d
b/ld/testsuite/ld-powerpc/non-contiguous-powerpc.d
index 858e353..c0618db 100644
--- a/ld/testsuite/ld-powerpc/non-contiguous-powerpc.d
+++ b/ld/testsuite/ld-powerpc/non-contiguous-powerpc.d
@@ -1,5 +1,5 @@
 #name: non-contiguous-powerpc
 #source: non-contiguous-powerpc.s
 #ld: --enable-non-contiguous-regions -T non-contiguous-powerpc.ld
-#error: \ARelaxation not supported with
--enable-non-contiguous-regions.*
+#error: \A.*Relaxation not supported with
--enable-non-contiguous-regions.*
 #skip: powerpc64*-*

> Christophe
>
> > --
> > Alan Modra
> > Australia Development Lab, IBM



More information about the Binutils mailing list