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]

Re: [PATCH 3/8] i386: Update tests for -z separate-code


On Thu, Feb 15, 2018 at 6:26 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> "-z separate-code" generates:
>
> 0x00002080 00200000 00000000 00000000 00000000 . ..............
>
> There is a space ' ', instead of '.'. Update these tests to expect ".*".
>
>         * testsuite/ld-i386/pr19636-1a.d: Updated.
>         * testsuite/ld-i386/pr19636-1b.d: Likewise.
>         * testsuite/ld-i386/pr19636-1j.d: Likewise.
>         * testsuite/ld-i386/pr19636-1k.d: Likewise.
>         * testsuite/ld-i386/pr19636-2a.d: Likewise.
>         * testsuite/ld-i386/pr19636-2b.d: Likewise.
> ---
>  ld/testsuite/ld-i386/pr19636-1a.d | 2 +-
>  ld/testsuite/ld-i386/pr19636-1b.d | 2 +-
>  ld/testsuite/ld-i386/pr19636-1j.d | 2 +-
>  ld/testsuite/ld-i386/pr19636-1k.d | 2 +-
>  ld/testsuite/ld-i386/pr19636-2a.d | 2 +-
>  ld/testsuite/ld-i386/pr19636-2b.d | 2 +-
>  6 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/ld/testsuite/ld-i386/pr19636-1a.d b/ld/testsuite/ld-i386/pr19636-1a.d
> index e82ef0ef5d..83d60de219 100644
> --- a/ld/testsuite/ld-i386/pr19636-1a.d
> +++ b/ld/testsuite/ld-i386/pr19636-1a.d
> @@ -13,4 +13,4 @@ Hex dump of section '.got':
>    0x[0-9a-f]+ [0 ]+\.+
>
>  Hex dump of section '.got.plt':
> -  0x[0-9a-f]+ +[0-9a-f]+ +[0 ]+ .\.+
> +  0x[0-9a-f]+ +[0-9a-f]+ +[0 ]+ .*
> diff --git a/ld/testsuite/ld-i386/pr19636-1b.d b/ld/testsuite/ld-i386/pr19636-1b.d
> index bc67f9d3d4..8449216775 100644
> --- a/ld/testsuite/ld-i386/pr19636-1b.d
> +++ b/ld/testsuite/ld-i386/pr19636-1b.d
> @@ -16,4 +16,4 @@ Hex dump of section '.got':
>    0x[0-9a-f]+ [0 ]+\.+
>
>  Hex dump of section '.got.plt':
> -  0x[0-9a-f]+ +[0-9a-f]+ +[0 ]+ .\.+
> +  0x[0-9a-f]+ +[0-9a-f]+ +[0 ]+ .*
> diff --git a/ld/testsuite/ld-i386/pr19636-1j.d b/ld/testsuite/ld-i386/pr19636-1j.d
> index f7d5ee5460..e4a7b3c271 100644
> --- a/ld/testsuite/ld-i386/pr19636-1j.d
> +++ b/ld/testsuite/ld-i386/pr19636-1j.d
> @@ -10,4 +10,4 @@ Hex dump of section '.got':
>    0x[0-9a-f]+ [0 ]+\.+
>
>  Hex dump of section '.got.plt':
> -  0x[0-9a-f]+ +[0-9a-f]+ +[0 ]+ .\.+
> +  0x[0-9a-f]+ +[0-9a-f]+ +[0 ]+ .*
> diff --git a/ld/testsuite/ld-i386/pr19636-1k.d b/ld/testsuite/ld-i386/pr19636-1k.d
> index a1a54754ad..55d06f519f 100644
> --- a/ld/testsuite/ld-i386/pr19636-1k.d
> +++ b/ld/testsuite/ld-i386/pr19636-1k.d
> @@ -17,4 +17,4 @@ Hex dump of section '.got':
>    0x[0-9a-f]+ [0 ]+\.+
>
>  Hex dump of section '.got.plt':
> -  0x[0-9a-f]+ +[0-9a-f]+ +[0 ]+ .\.+
> +  0x[0-9a-f]+ +[0-9a-f]+ +[0 ]+ .*
> diff --git a/ld/testsuite/ld-i386/pr19636-2a.d b/ld/testsuite/ld-i386/pr19636-2a.d
> index 290a13aea0..a3eafecb3b 100644
> --- a/ld/testsuite/ld-i386/pr19636-2a.d
> +++ b/ld/testsuite/ld-i386/pr19636-2a.d
> @@ -16,4 +16,4 @@ Hex dump of section '.got':
>    0x[0-9a-f]+ [0 ]+\.+
>
>  Hex dump of section '.got.plt':
> -  0x[0-9a-f]+ +[0-9a-f]+ +[0 ]+ .\.+
> +  0x[0-9a-f]+ +[0-9a-f]+ +[0 ]+ .*
> diff --git a/ld/testsuite/ld-i386/pr19636-2b.d b/ld/testsuite/ld-i386/pr19636-2b.d
> index 35739c87b4..57965f2775 100644
> --- a/ld/testsuite/ld-i386/pr19636-2b.d
> +++ b/ld/testsuite/ld-i386/pr19636-2b.d
> @@ -17,4 +17,4 @@ Hex dump of section '.got':
>    0x[0-9a-f]+ [0 ]+\.+
>
>  Hex dump of section '.got.plt':
> -  0x[0-9a-f]+ +[0-9a-f]+ +[0 ]+ .\.+
> +  0x[0-9a-f]+ +[0-9a-f]+ +[0 ]+ .*
> --
> 2.14.3
>

I am checking this in.


-- 
H.J.


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