]> granicus.if.org Git - yasm/commitdiff
Add test for 64-bit ORG.
authorPeter Johnson <peter@tortall.net>
Fri, 11 Jul 2003 03:10:44 +0000 (03:10 -0000)
committerPeter Johnson <peter@tortall.net>
Fri, 11 Jul 2003 03:10:44 +0000 (03:10 -0000)
svn path=/trunk/yasm/; revision=996

modules/objfmts/bin/tests/Makefile.inc
modules/objfmts/bin/tests/bigorg.asm [new file with mode: 0644]
modules/objfmts/bin/tests/bigorg.errwarn [new file with mode: 0644]
modules/objfmts/bin/tests/bigorg.hex [new file with mode: 0644]

index f6425771ae8f915b98e0c283ff7d275ee11f7ecf..31896fa642069ae540115cbd88fe403298196250 100644 (file)
@@ -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 (file)
index 0000000..695c45b
--- /dev/null
@@ -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 (file)
index 0000000..e69de29
diff --git a/modules/objfmts/bin/tests/bigorg.hex b/modules/objfmts/bin/tests/bigorg.hex
new file mode 100644 (file)
index 0000000..43c4e62
--- /dev/null
@@ -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