diff options
author | Gaius Mulley <gaiusmod2@gmail.com> | 2025-04-14 10:13:40 +0100 |
---|---|---|
committer | Gaius Mulley <gaiusmod2@gmail.com> | 2025-04-14 10:13:40 +0100 |
commit | 9e0a98a47c98fd159a26de4433a3ed1d85afb8c3 (patch) | |
tree | c830d001150ab6dbd5025d074dd152527b37d54b /libjava/java/util | |
parent | 5a32e85810d33dc46b1b5fe2803ee787d40709d5 (diff) | |
download | gcc-9e0a98a47c98fd159a26de4433a3ed1d85afb8c3.zip gcc-9e0a98a47c98fd159a26de4433a3ed1d85afb8c3.tar.gz gcc-9e0a98a47c98fd159a26de4433a3ed1d85afb8c3.tar.bz2 |
PR modula2/119779 ASM examples no longer work
This patch introduces four dejagnu tests matching four
documentation examples. Both asm examples are added and only built if
the x86_64 target is available. The other two are hello world using
libc and StrIO. The doc/gm2.texi asm examples are changed to
use eax rather than rax.
gcc/ChangeLog:
PR modula2/119779
* doc/gm2.texi (Interface to assembly language): Use eax
rather than rax in both examples.
gcc/testsuite/ChangeLog:
PR modula2/119779
* gm2.dg/doc/examples/pass/doc-examples-pass.exp: New test.
* gm2.dg/doc/examples/pass/exampleadd.mod: New test.
* gm2.dg/doc/examples/pass/exampleadd2.mod: New test.
* gm2.dg/doc/examples/pass/hello.mod: New test.
* gm2.dg/doc/examples/pass/hellopim.mod: New test.
Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
Diffstat (limited to 'libjava/java/util')
0 files changed, 0 insertions, 0 deletions