diff options
Diffstat (limited to 'test-suite/standalone/sassy/tests/quick-elf.scm')
-rw-r--r-- | test-suite/standalone/sassy/tests/quick-elf.scm | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test-suite/standalone/sassy/tests/quick-elf.scm b/test-suite/standalone/sassy/tests/quick-elf.scm new file mode 100644 index 000000000..e75df1303 --- /dev/null +++ b/test-suite/standalone/sassy/tests/quick-elf.scm @@ -0,0 +1,17 @@ +(sassy-make-elf + "tests/quick-elf-new.o" + (sassy + '((text + (foo (begin + (push ebp) + (mov ebp esp) + (get-got) + (lea eax (gotoff quux 4)) + (mov ecx (got qadr)) + (call (plt wizo)) + (jmp wizo)))) + (import qadr wizo) + (export got-name) + (data (quux (dwords 100 200))) + (data (pointer (dwords (sym quux))))))) +
\ No newline at end of file |