aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2020-10-15 00:07:03 +0300
committerCyrill Gorcunov <gorcunov@gmail.com>2020-10-15 00:07:03 +0300
commit247e8ef15113503875cde7a0818cef97f6a184c1 (patch)
treed64a31ab5327e50972af2736bc66fd5573a7efcc
parent407fe40f668f94f1ba676934b852b801db2c93c7 (diff)
downloadnasm-247e8ef15113503875cde7a0818cef97f6a184c1.tar.gz
nasm-247e8ef15113503875cde7a0818cef97f6a184c1.tar.xz
nasm-247e8ef15113503875cde7a0818cef97f6a184c1.zip
travis: add coffalign
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
-rw-r--r--travis/test/coffalign.asm17
-rw-r--r--travis/test/coffalign.json12
-rw-r--r--travis/test/coffalign.obj.tbin0 -> 295 bytes
3 files changed, 29 insertions, 0 deletions
diff --git a/travis/test/coffalign.asm b/travis/test/coffalign.asm
new file mode 100644
index 00000000..621cfc83
--- /dev/null
+++ b/travis/test/coffalign.asm
@@ -0,0 +1,17 @@
+ section .text align=64
+foo:
+ nop
+ nop
+ nop
+ ret
+
+ section .data align=64
+bar:
+ db 0, 1, 2
+
+ section .text align=32
+baz:
+ nop
+ nop
+ nop
+ ret
diff --git a/travis/test/coffalign.json b/travis/test/coffalign.json
new file mode 100644
index 00000000..fd40b930
--- /dev/null
+++ b/travis/test/coffalign.json
@@ -0,0 +1,12 @@
+[
+ {
+ "description": "Test coff alignment",
+ "id": "coffalign",
+ "format": "win64",
+ "source": "coffalign.asm",
+ "option": "-Ox",
+ "target": [
+ { "output": "coffalign.obj" }
+ ]
+ }
+]
diff --git a/travis/test/coffalign.obj.t b/travis/test/coffalign.obj.t
new file mode 100644
index 00000000..dcc5e51a
--- /dev/null
+++ b/travis/test/coffalign.obj.t
Binary files differ