aboutsummaryrefslogtreecommitdiff
path: root/libjava/java
diff options
context:
space:
mode:
authorGaius Mulley <gaiusmod2@gmail.com>2025-04-14 10:13:40 +0100
committerGaius Mulley <gaiusmod2@gmail.com>2025-04-14 10:13:40 +0100
commit9e0a98a47c98fd159a26de4433a3ed1d85afb8c3 (patch)
treec830d001150ab6dbd5025d074dd152527b37d54b /libjava/java
parent5a32e85810d33dc46b1b5fe2803ee787d40709d5 (diff)
downloadgcc-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')
0 files changed, 0 insertions, 0 deletions