From: Peter Johnson Date: Fri, 11 Jul 2003 03:10:44 +0000 (-0000) Subject: Add test for 64-bit ORG. X-Git-Tag: v0.3.0~6^2~48 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=36a1f84f797ba5c0469b84096f5030d87f99ebd1;p=yasm Add test for 64-bit ORG. svn path=/trunk/yasm/; revision=996 --- diff --git a/modules/objfmts/bin/tests/Makefile.inc b/modules/objfmts/bin/tests/Makefile.inc index f6425771..31896fa6 100644 --- a/modules/objfmts/bin/tests/Makefile.inc +++ b/modules/objfmts/bin/tests/Makefile.inc @@ -6,6 +6,9 @@ EXTRA_DIST += modules/objfmts/bin/tests/bin_test.sh EXTRA_DIST += modules/objfmts/bin/tests/abs.asm EXTRA_DIST += modules/objfmts/bin/tests/abs.hex EXTRA_DIST += modules/objfmts/bin/tests/abs.errwarn +EXTRA_DIST += modules/objfmts/bin/tests/bigorg.asm +EXTRA_DIST += modules/objfmts/bin/tests/bigorg.hex +EXTRA_DIST += modules/objfmts/bin/tests/bigorg.errwarn EXTRA_DIST += modules/objfmts/bin/tests/bintest.asm EXTRA_DIST += modules/objfmts/bin/tests/bintest.hex EXTRA_DIST += modules/objfmts/bin/tests/bintest.errwarn diff --git a/modules/objfmts/bin/tests/bigorg.asm b/modules/objfmts/bin/tests/bigorg.asm new file mode 100644 index 00000000..695c45bb --- /dev/null +++ b/modules/objfmts/bin/tests/bigorg.asm @@ -0,0 +1,7 @@ +[bits 64] +[org 0x000ffff100000000] +dd end-start +start: +mov rax, $ +mov rbx, $ +end: diff --git a/modules/objfmts/bin/tests/bigorg.errwarn b/modules/objfmts/bin/tests/bigorg.errwarn new file mode 100644 index 00000000..e69de29b diff --git a/modules/objfmts/bin/tests/bigorg.hex b/modules/objfmts/bin/tests/bigorg.hex new file mode 100644 index 00000000..43c4e628 --- /dev/null +++ b/modules/objfmts/bin/tests/bigorg.hex @@ -0,0 +1,24 @@ +14 +00 +00 +00 +48 +b8 +04 +00 +00 +00 +f1 +ff +0f +00 +48 +bb +0e +00 +00 +00 +f1 +ff +0f +00