PATCH] x86: Update PR gas/26263 linker tests

H.J. Lu hjl.tools@gmail.com
Mon Jul 20 11:57:52 GMT 2020


On Sun, Jul 19, 2020 at 7:16 PM Alan Modra <amodra@gmail.com> wrote:
>
> On Sun, Jul 19, 2020 at 06:48:43AM -0700, H.J. Lu via Binutils wrote:
> >       PR gas/26263
> >       * testsuite/ld-i386/i386.exp: Run PR gas/26263 test.
> >       * testsuite/ld-x86-64/x86-64.exp: Likewise.
> >       * testsuite/ld-i386/pr26263.d: New file.
> >       * testsuite/ld-x86-64/pr26263.d: Likewise.
> >       * testsuite/ld-x86-64/pr26263.s: Likewise.
>
> Fails on i686-pc-elf
>
> regexp_diff match failure
> regexp "^0+1000 <printk>:$"
> line   "000000cd <printk>:"
> regexp_diff match failure
> regexp "^0+1001 <foo>:$"
> line   "000000ce <foo>:"
> regexp_diff match failure
> regexp "^ +[a-f0-9]+:   e8 fa ff ff ff          call   1000 <printk>$"
> line   "  ce:   e8 fa ff ff ff          call   cd <printk>"
> regexp_diff match failure
> regexp "^ +[a-f0-9]+:   e8 f5 ff ff ff          call   1000 <printk>$"
> line   "  d3:   e8 f5 ff ff ff          call   cd <printk>"
>

I am checking in this and backporting to 2.35 branch.

-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-x86-Update-PR-gas-26263-linker-tests.patch
Type: text/x-patch
Size: 3108 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20200720/6ff45979/attachment.bin>


More information about the Binutils mailing list