aboutsummaryrefslogtreecommitdiffstats
path: root/travis
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2020-08-25 15:27:54 +0300
committerCyrill Gorcunov <gorcunov@gmail.com>2020-08-25 16:36:10 +0300
commit8142ab699d9ec866c2f7ecb28cb35c41e1f14230 (patch)
tree47516281075a259ff6a12e6f1f59f33c7a8653f2 /travis
parent4b3ac4eefd74ee7ee0b7c3bd837b78d37f12028c (diff)
downloadnasm-8142ab699d9ec866c2f7ecb28cb35c41e1f14230.tar.gz
nasm-8142ab699d9ec866c2f7ecb28cb35c41e1f14230.tar.xz
nasm-8142ab699d9ec866c2f7ecb28cb35c41e1f14230.zip
travis: add winalign
It is disabled by now -- we need to teach nasm-t to skip some parts of output (due to format specifics). Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'travis')
-rw-r--r--travis/test/winalign.asm45
-rw-r--r--travis/test/winalign.json14
-rw-r--r--travis/test/winalign.obj.tbin0 -> 642 bytes
3 files changed, 59 insertions, 0 deletions
diff --git a/travis/test/winalign.asm b/travis/test/winalign.asm
new file mode 100644
index 00000000..cad0a376
--- /dev/null
+++ b/travis/test/winalign.asm
@@ -0,0 +1,45 @@
+ section .pdata rdata align=2
+ dd 1
+ dd 2
+ dd 3
+
+ section .rdata align=16
+ dd 4
+ dd 5
+ dd 6
+
+ section ultra
+ dd 10
+ dd 11
+ dd 12
+
+ section infra rdata
+ dd 20
+ dd 21
+ dd 22
+
+ section omega rdata align=1
+ dd 90
+ dd 91
+ dd 92
+
+ section .xdata
+ dd 7
+ dd 8
+ dd 9
+
+ section ultra align=8
+ dd 13
+ dd 14
+ dd 15
+
+ section infra rdata align=1
+ dd 23
+ dd 24
+ dd 25
+
+ section omega rdata
+ sectalign 2
+ dd 93
+ dd 94
+ dd 95
diff --git a/travis/test/winalign.json b/travis/test/winalign.json
new file mode 100644
index 00000000..97ac1a83
--- /dev/null
+++ b/travis/test/winalign.json
@@ -0,0 +1,14 @@
+[
+ {
+ "description": "COFF alignment based on BR3392692",
+ "id": "winalign",
+ "format": "win64",
+ "source": "winalign.asm",
+ "error": "over",
+ "disable": "Unable to compare coff output",
+ "option": "-Ox",
+ "target": [
+ { "output": "winalign.obj" }
+ ]
+ }
+]
diff --git a/travis/test/winalign.obj.t b/travis/test/winalign.obj.t
new file mode 100644
index 00000000..b47b6dc2
--- /dev/null
+++ b/travis/test/winalign.obj.t
Binary files differ