[PATCH] Add missing pr19827-nacl.rd for i386/x86-64 NaCl

H.J. Lu hjl.tools@gmail.com
Tue Apr 5 04:04:00 GMT 2016


On Mon, Apr 4, 2016 at 8:52 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
>         PR ld/19827
>         * testsuite/ld-i386/pr19827-nacl.rd: New file.
>         * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
> ---
>  ld/ChangeLog                           | 6 ++++++
>  ld/testsuite/ld-i386/pr19827-nacl.rd   | 5 +++++
>  ld/testsuite/ld-x86-64/pr19827-nacl.rd | 5 +++++
>  3 files changed, 16 insertions(+)
>  create mode 100644 ld/testsuite/ld-i386/pr19827-nacl.rd
>  create mode 100644 ld/testsuite/ld-x86-64/pr19827-nacl.rd
>
> diff --git a/ld/ChangeLog b/ld/ChangeLog
> index b4d3759..75ad861 100644
> --- a/ld/ChangeLog
> +++ b/ld/ChangeLog
> @@ -1,3 +1,9 @@
> +2016-04-04  H.J. Lu  <hongjiu.lu@intel.com>
> +
> +       PR ld/19827
> +       * testsuite/ld-i386/pr19827-nacl.rd: New file.
> +       * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
> +
>  2016-04-04  Nick Clifton  <nickc@redhat.com>
>
>         PR 19803
> diff --git a/ld/testsuite/ld-i386/pr19827-nacl.rd b/ld/testsuite/ld-i386/pr19827-nacl.rd
> new file mode 100644
> index 0000000..5d2a885
> --- /dev/null
> +++ b/ld/testsuite/ld-i386/pr19827-nacl.rd
> @@ -0,0 +1,5 @@
> +#readelf: -r --wide
> +
> +Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 1 entries:
> + Offset     Info    Type                Sym. Value  Symbol's Name
> +[0-9a-f]+ +[0-9a-f]+ +R_386_RELATIVE +
> diff --git a/ld/testsuite/ld-x86-64/pr19827-nacl.rd b/ld/testsuite/ld-x86-64/pr19827-nacl.rd
> new file mode 100644
> index 0000000..67eaacc
> --- /dev/null
> +++ b/ld/testsuite/ld-x86-64/pr19827-nacl.rd
> @@ -0,0 +1,5 @@
> +#readelf: -r --wide
> +
> +Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 1 entries:
> +    Offset             Info             Type               Symbol's Value  Symbol's Name \+ Addend
> +[0-9a-f]+ +[0-9a-f]+ +R_X86_64_RELATIVE +[0-9a-f]+
> --
> 2.5.5
>

Also backported to 2.26 branch.

-- 
H.J.



More information about the Binutils mailing list