bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/22737] [RX] rx_start_line wrongly modifies LTO data


From: nickc at redhat dot com
Subject: [Bug gas/22737] [RX] rx_start_line wrongly modifies LTO data
Date: Mon, 22 Jan 2018 13:31:18 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=22737

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #4 from Nick Clifton <nickc at redhat dot com> ---
Hi Oleg,

> >   * A testcase (to gas/testsuite/gas/rx/) to check that the
> >     patch continues to work.
> 
> I have no idea about the gas testsuite.  I need to feed it an .s file and
> then match the data in the resulting .o file.  Any examples how to do that?

Yes - just copy one from the same directory.  So for example have a look
at gas/testsuite/gas/rx/pr19665.s.  Create a similar file called pr22737.s
containing the .ascii directive mentioned in comment #1.

The look at pr19665.d (in the same directory) and use it as a template to
create pr22737.d.  Use the output from disassembling the assembled version
of pr22737.s as the body of pr22737.d, but remember that you are dealing with
regular expressions, so you may need to escape some of the characters.

Next edit rx.exp (also in the same direcctory) and add this line at the bottom:

  run_dump_test "pr22737"

Now the gas testsuite with your patched toolchain and make sure that the
new test runs and passes.  (ie: "cd gas ; make check").  That should be it.

Cheers
   Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]