id stringlengths 22 129 | text stringlengths 60 19.5k | arch stringclasses 9
values | syntax stringclasses 5
values | kind stringclasses 4
values | repo stringclasses 32
values | path stringlengths 7 108 | license stringclasses 10
values | commit stringlengths 40 40 | source_host stringclasses 1
value | category stringclasses 15
values | source_url stringlengths 85 192 | line_start int64 1 5.48k | line_end int64 4 5.5k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
yasm/yasm:modules/objfmts/elf/tests/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/elf/tests/elf_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/elf_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/elfcond.asm
EXTRA_DIST += modules/objfmts/elf/tests/elfcond.hex
EXTRA_DIST += modules/objfmts/elf/tests/elfcond.errwarn
EXTRA_DIST += modules/objfmts/elf/tests/elfsectalign... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/Makefile.inc | BSD-2-Clause | f126112f2ebf6344d0ee09d31285a171e33ad37f | github | assembler | https://github.com/yasm/yasm/blob/f126112f2ebf6344d0ee09d31285a171e33ad37f/modules/objfmts/elf/tests/Makefile.inc | 1 | 57 |
yasm/yasm:modules/objfmts/elf/tests/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/elf/tests/elf_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/elf_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/elfcond.asm
EXTRA_DIST += modules/objfmts/elf/tests/elfcond.hex
EXTRA_DIST += modules/objfmts/elf/tests/elfcond.errwarn
EXTRA_DIST += modules/objfmts/elf/tests/elfsectalign... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/Makefile.inc | BSD-2-Clause | 93096b120ed9644adf14c288c4b06a3ddc1f691c | github | assembler | https://github.com/yasm/yasm/blob/93096b120ed9644adf14c288c4b06a3ddc1f691c/modules/objfmts/elf/tests/Makefile.inc | 1 | 54 |
yasm/yasm:modules/objfmts/elf/tests/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/elf/tests/elf_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/elf_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/elfsectalign.asm
EXTRA_DIST += modules/objfmts/elf/tests/elfsectalign.hex
EXTRA_DIST += modules/objfmts/elf/tests/elfsectalign.errwarn
EXTRA_DIST += modules/objfmts/elf/tes... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/Makefile.inc | BSD-2-Clause | 36ff44b3ac13613805ac5680570bede242694d1b | github | assembler | https://github.com/yasm/yasm/blob/36ff44b3ac13613805ac5680570bede242694d1b/modules/objfmts/elf/tests/Makefile.inc | 1 | 51 |
yasm/yasm:modules/objfmts/elf/tests/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/elf/tests/elf_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/elf_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/elfsectalign.asm
EXTRA_DIST += modules/objfmts/elf/tests/elfsectalign.hex
EXTRA_DIST += modules/objfmts/elf/tests/elfsectalign.errwarn
EXTRA_DIST += modules/objfmts/elf/tes... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/Makefile.inc | BSD-2-Clause | 4e94bf43a026f0bcef3e444adfbad6014493ce2d | github | assembler | https://github.com/yasm/yasm/blob/4e94bf43a026f0bcef3e444adfbad6014493ce2d/modules/objfmts/elf/tests/Makefile.inc | 1 | 49 |
yasm/yasm:modules/objfmts/elf/tests/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/elf/tests/elf_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/elf_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/elfsectalign.asm
EXTRA_DIST += modules/objfmts/elf/tests/elfsectalign.hex
EXTRA_DIST += modules/objfmts/elf/tests/elfsectalign.errwarn
EXTRA_DIST += modules/objfmts/elf/tes... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/Makefile.inc | BSD-2-Clause | 2e2fc30f468400c4bb66c5b6fe632db0a6d5b05c | github | assembler | https://github.com/yasm/yasm/blob/2e2fc30f468400c4bb66c5b6fe632db0a6d5b05c/modules/objfmts/elf/tests/Makefile.inc | 1 | 46 |
yasm/yasm:modules/objfmts/elf/tests/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/elf/tests/elf_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/elf_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/elfsectalign.asm
EXTRA_DIST += modules/objfmts/elf/tests/elfsectalign.hex
EXTRA_DIST += modules/objfmts/elf/tests/elfsectalign.errwarn
EXTRA_DIST += modules/objfmts/elf/tes... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/Makefile.inc | BSD-2-Clause | 3cc450d3ea88c4e22cd16b2459bef8c7b3f124ef | github | assembler | https://github.com/yasm/yasm/blob/3cc450d3ea88c4e22cd16b2459bef8c7b3f124ef/modules/objfmts/elf/tests/Makefile.inc | 1 | 43 |
yasm/yasm:modules/objfmts/elf/tests/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/elf/tests/elf_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/elf_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/elfsectalign.asm
EXTRA_DIST += modules/objfmts/elf/tests/elfsectalign.hex
EXTRA_DIST += modules/objfmts/elf/tests/elfsectalign.errwarn
EXTRA_DIST += modules/objfmts/elf/tes... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/Makefile.inc | BSD-2-Clause | 23e53d41ce27f8a03901d9cb2b63b0c7f36f8a75 | github | assembler | https://github.com/yasm/yasm/blob/23e53d41ce27f8a03901d9cb2b63b0c7f36f8a75/modules/objfmts/elf/tests/Makefile.inc | 1 | 40 |
yasm/yasm:modules/objfmts/elf/tests/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/elf/tests/elf_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/elf_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/elfsectalign.asm
EXTRA_DIST += modules/objfmts/elf/tests/elfsectalign.hex
EXTRA_DIST += modules/objfmts/elf/tests/elfsectalign.errwarn
EXTRA_DIST += modules/objfmts/elf/tes... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/Makefile.inc | BSD-2-Clause | 7f8d2c0cca344dd486c1cb093ef6c21e3acc5b05 | github | assembler | https://github.com/yasm/yasm/blob/7f8d2c0cca344dd486c1cb093ef6c21e3acc5b05/modules/objfmts/elf/tests/Makefile.inc | 1 | 37 |
yasm/yasm:modules/objfmts/elf/tests/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/elf/tests/elf_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/elf_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/elfsectalign.asm
EXTRA_DIST += modules/objfmts/elf/tests/elfsectalign.hex
EXTRA_DIST += modules/objfmts/elf/tests/elfsectalign.errwarn
EXTRA_DIST += modules/objfmts/elf/tes... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/Makefile.inc | BSD-2-Clause | 1a86c340266f98dbcb03cee8de382431d916fde9 | github | assembler | https://github.com/yasm/yasm/blob/1a86c340266f98dbcb03cee8de382431d916fde9/modules/objfmts/elf/tests/Makefile.inc | 1 | 36 |
yasm/yasm:modules/objfmts/elf/tests/Makefile.inc:1 | # $IdPath$
TESTS += modules/objfmts/elf/tests/elf_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/elf_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/elfsectalign.asm
EXTRA_DIST += modules/objfmts/elf/tests/elfsectalign.hex
EXTRA_DIST += modules/objfmts/elf/tests/elfsectalign.errwarn
EXTRA_DIST += modules/objfmts/elf... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/Makefile.inc | BSD-2-Clause | 2b7a5219797e083d1824bb01c3a72ea96654da5a | github | assembler | https://github.com/yasm/yasm/blob/2b7a5219797e083d1824bb01c3a72ea96654da5a/modules/objfmts/elf/tests/Makefile.inc | 1 | 36 |
yasm/yasm:modules/objfmts/elf/tests/Makefile.inc:1 | # $IdPath$
TESTS += modules/objfmts/elf/tests/elf_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/elf_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/elfsectalign.asm
EXTRA_DIST += modules/objfmts/elf/tests/elfsectalign.hex
EXTRA_DIST += modules/objfmts/elf/tests/elfsectalign.errwarn
EXTRA_DIST += modules/objfmts/elf... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/Makefile.inc | BSD-2-Clause | 1934989ab1c3857d2aa63d8925821e45e8237043 | github | assembler | https://github.com/yasm/yasm/blob/1934989ab1c3857d2aa63d8925821e45e8237043/modules/objfmts/elf/tests/Makefile.inc | 1 | 33 |
yasm/yasm:modules/objfmts/elf/tests/Makefile.inc:1 | # $IdPath$
TESTS += modules/objfmts/elf/tests/elf_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/elf_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/elfsectalign.asm
EXTRA_DIST += modules/objfmts/elf/tests/elfsectalign.hex
EXTRA_DIST += modules/objfmts/elf/tests/elfsectalign.errwarn
EXTRA_DIST += modules/objfmts/elf... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/Makefile.inc | BSD-2-Clause | 55ecdad6ebb377adebccdf473adfcf358e9549b8 | github | assembler | https://github.com/yasm/yasm/blob/55ecdad6ebb377adebccdf473adfcf358e9549b8/modules/objfmts/elf/tests/Makefile.inc | 1 | 30 |
yasm/yasm:modules/objfmts/elf/tests/Makefile.inc:1 | # $IdPath$
TESTS += modules/objfmts/elf/tests/elf_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/elf_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/elftest.c
EXTRA_DIST += modules/objfmts/elf/tests/elftest.asm
EXTRA_DIST += modules/objfmts/elf/tests/elftest.hex
EXTRA_DIST += modules/objfmts/elf/tests/elftest.errwar... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/Makefile.inc | BSD-2-Clause | 654455dcefa5a771d77dbde54e229216f0c6ca3b | github | assembler | https://github.com/yasm/yasm/blob/654455dcefa5a771d77dbde54e229216f0c6ca3b/modules/objfmts/elf/tests/Makefile.inc | 1 | 27 |
yasm/yasm:modules/objfmts/elf/tests/Makefile.inc:1 | # $IdPath$
TESTS += modules/objfmts/elf/tests/elf_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/elf_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/elftest.c
EXTRA_DIST += modules/objfmts/elf/tests/elftest.asm
EXTRA_DIST += modules/objfmts/elf/tests/elftest.hex
EXTRA_DIST += modules/objfmts/elf/tests/elftest.errwar... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/Makefile.inc | BSD-2-Clause | 52ce9f32e153476bdd83ae40d7f71b906d11ed10 | github | assembler | https://github.com/yasm/yasm/blob/52ce9f32e153476bdd83ae40d7f71b906d11ed10/modules/objfmts/elf/tests/Makefile.inc | 1 | 23 |
yasm/yasm:modules/objfmts/elf/tests/Makefile.inc:1 | # $IdPath$
TESTS += modules/objfmts/elf/tests/elf_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/elf_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/elftest.c
EXTRA_DIST += modules/objfmts/elf/tests/elftest.asm
EXTRA_DIST += modules/objfmts/elf/tests/elftest.hex
EXTRA_DIST += modules/objfmts/elf/tests/elftest.errwar... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/Makefile.inc | BSD-2-Clause | 2c6d4e60dcc71c8e985fca96428104fa3993cd80 | github | assembler | https://github.com/yasm/yasm/blob/2c6d4e60dcc71c8e985fca96428104fa3993cd80/modules/objfmts/elf/tests/Makefile.inc | 1 | 21 |
yasm/yasm:modules/objfmts/elf/tests/Makefile.inc:1 | # $IdPath$
TESTS += modules/objfmts/elf/tests/elf_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/elf_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/elftest.c
EXTRA_DIST += modules/objfmts/elf/tests/elftest.asm
EXTRA_DIST += modules/objfmts/elf/tests/elftest.hex
EXTRA_DIST += modules/objfmts/elf/tests/elftest.errwar... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/Makefile.inc | BSD-2-Clause | 7adc41bfaba54a9d1fe82cfa59d7fc90da7defb4 | github | assembler | https://github.com/yasm/yasm/blob/7adc41bfaba54a9d1fe82cfa59d7fc90da7defb4/modules/objfmts/elf/tests/Makefile.inc | 1 | 18 |
yasm/yasm:modules/objfmts/elf/tests/Makefile.inc:1 | # $IdPath$
TESTS += modules/objfmts/elf/tests/elf_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/elf_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/elftest.c
EXTRA_DIST += modules/objfmts/elf/tests/elftest.asm
EXTRA_DIST += modules/objfmts/elf/tests/elftest.hex
EXTRA_DIST += modules/objfmts/elf/tests/elftest.errwar... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/Makefile.inc | BSD-2-Clause | 35a8a32f15d92876a12b94fdf193394092cc9b97 | github | assembler | https://github.com/yasm/yasm/blob/35a8a32f15d92876a12b94fdf193394092cc9b97/modules/objfmts/elf/tests/Makefile.inc | 1 | 15 |
yasm/yasm:modules/objfmts/elf/tests/amd64/Makefile.inc:1 | TESTS += modules/objfmts/elf/tests/amd64/elf_amd64_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/amd64/elf_amd64_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/amd64/elf-rip.asm
EXTRA_DIST += modules/objfmts/elf/tests/amd64/elf-rip.hex
EXTRA_DIST += modules/objfmts/elf/tests/amd64/elfso64.asm
EXTRA_DIST += modules/... | x86_64 | gas-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/amd64/Makefile.inc | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/amd64/Makefile.inc | 1 | 11 |
yasm/yasm:modules/objfmts/elf/tests/amd64/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/elf/tests/amd64/elf_amd64_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/amd64/elf_amd64_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/amd64/elf-rip.asm
EXTRA_DIST += modules/objfmts/elf/tests/amd64/elf-rip.hex
EXTRA_DIST += modules/objfmts/elf/tests/amd64/elfso64.asm
EXTRA_DIST += ... | x86_64 | gas-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/amd64/Makefile.inc | BSD-2-Clause | de38127f1c626d7ea46aedc45723b9ae7f79d082 | github | assembler | https://github.com/yasm/yasm/blob/de38127f1c626d7ea46aedc45723b9ae7f79d082/modules/objfmts/elf/tests/amd64/Makefile.inc | 1 | 13 |
yasm/yasm:modules/objfmts/elf/tests/amd64/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/elf/tests/amd64/elf_amd64_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/amd64/elf_amd64_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/amd64/elf-rip.asm
EXTRA_DIST += modules/objfmts/elf/tests/amd64/elf-rip.hex
EXTRA_DIST += modules/objfmts/elf/tests/amd64/elfso64.asm
EXTRA_DIST += ... | x86_64 | gas-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/amd64/Makefile.inc | BSD-2-Clause | 4d78c310b52cb039ac366983780ac91c4d728fb3 | github | assembler | https://github.com/yasm/yasm/blob/4d78c310b52cb039ac366983780ac91c4d728fb3/modules/objfmts/elf/tests/amd64/Makefile.inc | 1 | 11 |
yasm/yasm:modules/objfmts/elf/tests/amd64/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/elf/tests/amd64/elf_amd64_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/amd64/elf_amd64_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/amd64/elf-rip.asm
EXTRA_DIST += modules/objfmts/elf/tests/amd64/elf-rip.hex
EXTRA_DIST += modules/objfmts/elf/tests/amd64/elfso64.asm
EXTRA_DIST += ... | x86_64 | gas-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/amd64/Makefile.inc | BSD-2-Clause | 6aaa48cce1faf013699f1878a47a37c6c94c9c8b | github | assembler | https://github.com/yasm/yasm/blob/6aaa48cce1faf013699f1878a47a37c6c94c9c8b/modules/objfmts/elf/tests/amd64/Makefile.inc | 1 | 9 |
yasm/yasm:modules/objfmts/elf/tests/amd64/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/elf/tests/amd64/elf_amd64_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/amd64/elf_amd64_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/amd64/elf-rip.asm
EXTRA_DIST += modules/objfmts/elf/tests/amd64/elf-rip.hex
EXTRA_DIST += modules/objfmts/elf/tests/amd64/elf-rip.errwarn
EXTRA_DIST... | x86_64 | gas-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/amd64/Makefile.inc | BSD-2-Clause | 23e53d41ce27f8a03901d9cb2b63b0c7f36f8a75 | github | assembler | https://github.com/yasm/yasm/blob/23e53d41ce27f8a03901d9cb2b63b0c7f36f8a75/modules/objfmts/elf/tests/amd64/Makefile.inc | 1 | 11 |
yasm/yasm:modules/objfmts/elf/tests/amd64/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/elf/tests/amd64/elf_amd64_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/amd64/elf_amd64_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/amd64/elf-rip.asm
EXTRA_DIST += modules/objfmts/elf/tests/amd64/elf-rip.hex
EXTRA_DIST += modules/objfmts/elf/tests/amd64/elf-rip.errwarn | x86_64 | gas-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/amd64/Makefile.inc | BSD-2-Clause | 1a86c340266f98dbcb03cee8de382431d916fde9 | github | assembler | https://github.com/yasm/yasm/blob/1a86c340266f98dbcb03cee8de382431d916fde9/modules/objfmts/elf/tests/amd64/Makefile.inc | 1 | 8 |
yasm/yasm:modules/objfmts/elf/tests/amd64/Makefile.inc:1 | # $IdPath$
TESTS += modules/objfmts/elf/tests/amd64/elf_amd64_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/amd64/elf_amd64_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/amd64/elf-rip.asm
EXTRA_DIST += modules/objfmts/elf/tests/amd64/elf-rip.hex
EXTRA_DIST += modules/objfmts/elf/tests/amd64/elf-rip.errwarn | x86_64 | gas-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/amd64/Makefile.inc | BSD-2-Clause | 654455dcefa5a771d77dbde54e229216f0c6ca3b | github | assembler | https://github.com/yasm/yasm/blob/654455dcefa5a771d77dbde54e229216f0c6ca3b/modules/objfmts/elf/tests/amd64/Makefile.inc | 1 | 8 |
yasm/yasm:modules/objfmts/elf/tests/amd64/elfso64.asm:1 | ; This code is UNTESTED, and almost certainly DOES NOT WORK!
; Do NOT use this as an example of how to write AMD64 shared libraries!
; This code is simply to test the AMD64 ELF WRT relocations.
; This file should test the following:
; [1] Define and export a global text-section symbol
; [2] Define and export a global ... | x86_64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/amd64/elfso64.asm | BSD-2-Clause | 23e53d41ce27f8a03901d9cb2b63b0c7f36f8a75 | github | assembler | https://github.com/yasm/yasm/blob/23e53d41ce27f8a03901d9cb2b63b0c7f36f8a75/modules/objfmts/elf/tests/amd64/elfso64.asm | 1 | 60 |
yasm/yasm:modules/objfmts/elf/tests/amd64/elfso64.asm:2 | mov rax,[rbp+8]
mov rcx,[rbp+12]
.label rol rax,1 ; [4] [8]
loop .label ; [9] [12]
mov rsp,rbp
pop rbp
ret
; prototype: void greet(void);
greet push rbx ; we'll use RBX for GOT, so save it
mov rbx,[integer wrt ..gotpcrel wrt rip]
mov rax,[rbx] ; [14]
inc rax
mov rbx,[_GLOBAL_OFFSET_TA... | x86_64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/amd64/elfso64.asm | BSD-2-Clause | 23e53d41ce27f8a03901d9cb2b63b0c7f36f8a75 | github | assembler | https://github.com/yasm/yasm/blob/23e53d41ce27f8a03901d9cb2b63b0c7f36f8a75/modules/objfmts/elf/tests/amd64/elfso64.asm | 41 | 90 |
yasm/yasm:modules/objfmts/elf/tests/amd64/elfso64.asm:3 | textptr dd greet wrt ..sym ; [15]
selfptr dd selfptr wrt ..sym ; [16]
SECTION .bss
; an integer
integer resd 1 ; [3]
; a local integer
localint resd 1 ; [6] | x86_64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/amd64/elfso64.asm | BSD-2-Clause | 23e53d41ce27f8a03901d9cb2b63b0c7f36f8a75 | github | assembler | https://github.com/yasm/yasm/blob/23e53d41ce27f8a03901d9cb2b63b0c7f36f8a75/modules/objfmts/elf/tests/amd64/elfso64.asm | 81 | 90 |
yasm/yasm:modules/objfmts/elf/tests/curpos-err.asm:1 | global bar
global foo
section .bar
bar:
dd foo-$
dd baz-$
call foo
call baz
foo:
section .data
baz:
dd foo-$
dd $-foo ; illegal
dd baz-$
dd $-baz
dd foo+4-$ ; with constant
dd $-baz+foo+4-$ ; both local and cross-segment (legal)
dd baz+foo+4-$-$ ; ditto, slightly different
dd (bar-$)+(foo-$) ; illegal (too many cros... | sparc | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/curpos-err.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/curpos-err.asm | 1 | 27 |
yasm/yasm:modules/objfmts/elf/tests/curpos.asm:1 | global bar
global foo
section .bar
bar:
dd foo-$
dd baz-$
call foo
call baz
foo:
section .data
baz:
dd foo-$
;dd $-foo ; illegal
dd baz-$
dd $-baz
dd foo+4-$ ; with constant
dd $-baz+foo+4-$ ; both local and cross-segment (legal)
dd baz+foo+4-$-$ ; ditto, slightly different
;dd (bar-$)+(foo-$) ; illegal (too many cr... | sparc | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/curpos.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/curpos.asm | 1 | 27 |
yasm/yasm:modules/objfmts/elf/tests/elfabssect.asm:1 | %line 1+1 elfabssect.asm
[absolute 0]
%line 1+0 elfabssect.asm
teststruc:
%line 2+1 elfabssect.asm
.testlabel resw 1
teststruc_size:
%line 3+0 elfabssect.asm
[section .text]
;global teststruc
global teststruc.testlabel
global teststruc_size | riscv | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/elfabssect.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/elfabssect.asm | 1 | 12 |
yasm/yasm:modules/objfmts/elf/tests/elfabssect.asm:1 | %line 1+1 elfabssect.asm
[absolute 0]
%line 1+0 elfabssect.asm
teststruc:
%line 2+1 elfabssect.asm
.testlabel resw 1
teststruc_size:
%line 3+0 elfabssect.asm
[section .text] | riscv | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/elfabssect.asm | BSD-2-Clause | 2b7a5219797e083d1824bb01c3a72ea96654da5a | github | assembler | https://github.com/yasm/yasm/blob/2b7a5219797e083d1824bb01c3a72ea96654da5a/modules/objfmts/elf/tests/elfabssect.asm | 1 | 9 |
yasm/yasm:modules/objfmts/elf/tests/elfequabs.asm:1 | global label
absolute 5000h
label:
section .text
global absval
absval equ 1000h
jmp absval
jmp label | unknown | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/elfequabs.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/elfequabs.asm | 1 | 10 |
yasm/yasm:modules/objfmts/elf/tests/elfglobal.asm:1 | ; Note: you should be able to link elfreloc.o with elfglobal.o to make a
; program that calls function with eax=constant, thus exiting err=0
GLOBAL constant
GLOBAL function
constant EQU 48
function:
sub eax, constant
ret | arm64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/elfglobal.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/elfglobal.asm | 1 | 10 |
yasm/yasm:modules/objfmts/elf/tests/elfglobext.asm:1 | [bits 32]
[global hashlookup:function]
[global hashtable2:data]
[global hashtable:data (hashtable.end-hashtable)]
[common dwordarray 128:4]
[section .text]
hashlookup
[section .data]
hashtable2
db 5
hashtable
db 1,2,3
.end | arm | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/elfglobext.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/elfglobext.asm | 1 | 16 |
yasm/yasm:modules/objfmts/elf/tests/elfmanysym.asm:1 | struc PPC_CPU_State
dummy:
gpr:
fpr:
cr:
fpscr:
xer:
xer_ca:
lr:
ctr:
msr:
pvr:
ibatu:
ibatl:
ibat_bl17:
dbatu:
dbatl:
dbat_bl17:
sdr1:
sr:
dar:
dsisr:
sprg:
srr0:
srr1:
decr:
ear:
pir:
tb:
hid:
pc:
npc:
current_opc:
exception_pending:
dec_exception:
ext_exception:
s... | arm64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/elfmanysym.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/elfmanysym.asm | 1 | 60 |
yasm/yasm:modules/objfmts/elf/tests/elfmanysym.asm:2 | npc:
current_opc:
exception_pending:
dec_exception:
ext_exception:
stop_exception:
singlestep_ignore:
align1:
align2:
align3:
pagetable_base:
pagetable_hashmask:
reserve:
have_reservation:
tlb_last:
tlb_pa:
tlb_va:
effective_code_page:
physical_code_page:
pdec:
ptb:
temp:
temp2:
x87cw:
pc_o... | arm64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/elfmanysym.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/elfmanysym.asm | 41 | 100 |
yasm/yasm:modules/objfmts/elf/tests/elfmanysym.asm:3 | tlb_data_0_phys
tlb_data_8_phys
tlb_code_0_hits
tlb_data_0_hits
tlb_data_8_hits
tlb_code_0_misses
tlb_data_0_misses
tlb_data_8_misses
nativeReg
nativeRegState
nativeFlags
nativeFlagsState
nativeCarryState
clientReg
nativeRegsList
LRUreg
MRUreg
LRUpage
MRUpage
freeFragmentsList
freeClientPa... | arm64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/elfmanysym.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/elfmanysym.asm | 81 | 140 |
yasm/yasm:modules/objfmts/elf/tests/elfmanysym.asm:4 | extern io_mem_read64_glue
extern io_mem_write64_glue
extern io_mem_read128_glue
extern io_mem_write128_glue
extern io_mem_read128_native_glue
extern io_mem_write128_native_glue
global ppc_effective_to_physical_code, ppc_effective_to_physical_data
global ppc_write_effective_byte_asm
global ppc_write_effective_half_asm
g... | arm64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/elfmanysym.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/elfmanysym.asm | 121 | 180 |
yasm/yasm:modules/objfmts/elf/tests/elfmanysym.asm:5 | %macro pg_table_lookup 3
%%invalid:
%endmacro
protection_fault_0_code:
protection_fault_0_data:
protection_fault_8_data:
%macro tlb_lookup 2
%%tlb_lookup_failed:
%endmacro
ppc_effective_to_physical_code_ret:
ppc_effective_to_physical_code:
tlb_lookup 0, code
bat_lookup i, 0, 0, code
bat_lookup i, 1, 0, code
bat... | arm64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/elfmanysym.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/elfmanysym.asm | 161 | 220 |
yasm/yasm:modules/objfmts/elf/tests/elfmanysym.asm:6 | .noexec:
ppc_effective_to_physical_data_read_ret:
ppc_effective_to_physical_data_read:
tlb_lookup 0, data
bat_lookup d, 0, 0, data
bat_lookup d, 1, 0, data
bat_lookup d, 2, 0, data
bat_lookup d, 3, 0, data
pg_table_lookup 0, 0, data
pg_table_lookup 0, 0, data
pg_table_lookup 0, 0, data
pg_table_lookup 0, 0, ... | arm64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/elfmanysym.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/elfmanysym.asm | 201 | 260 |
yasm/yasm:modules/objfmts/elf/tests/elfmanysym.asm:7 | pg_table_lookup 0, 8, data
pg_table_lookup 0, 8, data
pg_table_lookup 0, 8, data
pg_table_lookup 0, 8, data
pg_table_lookup 0, 8, data
pg_table_lookup (1<<6), 8, data
pg_table_lookup (1<<6), 8, data
pg_table_lookup (1<<6), 8, data
pg_table_lookup (1<<6), 8, data
pg_table_lookup (1<<6), 8, data
pg_table_looku... | arm64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/elfmanysym.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/elfmanysym.asm | 241 | 300 |
yasm/yasm:modules/objfmts/elf/tests/elfmanysym.asm:8 | .overlapped_mmio_1:
.overlapped_mmio_1_loop:
.overlapped_mmio_2:
.overlapped_mmio_2_loop:
ppc_write_effective_qword_asm:
.mmio:
ppc_write_effective_qword_sse_asm:
.mmio:
ppc_read_effective_byte_asm:
.mmio:
ppc_read_effective_half_z_asm:
.mmio:
.overlap:
.loop1:
.mmio1:
.mmio2:
ppc_read_effective_half_s_asm:
.mmio:
.... | arm64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/elfmanysym.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/elfmanysym.asm | 281 | 340 |
yasm/yasm:modules/objfmts/elf/tests/elfmanysym.asm:9 | .loop2:
.overlapped_mmio_1:
.overlapped_mmio_1_loop:
.overlapped_mmio_2:
.overlapped_mmio_2_loop:
ppc_read_effective_qword_asm:
.mmio:
ppc_read_effective_qword_sse_asm:
.mmio:
ppc_opc_stswi_asm:
.loop:
.ok1:
.back:
.mmio:
ppc_opc_lswi_asm:
.loop:
.ok1:
.back:
.loop2:
.ret:
.mmio:
ppc_opc_icbi_asm:
.destroy:
.ok: | arm64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/elfmanysym.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/elfmanysym.asm | 321 | 346 |
yasm/yasm:modules/objfmts/elf/tests/elfreloc-ext.asm:1 | EXTERN variable
mov eax, variable
mov ax, variable
mov al, variable | arm | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/elfreloc-ext.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/elfreloc-ext.asm | 1 | 4 |
yasm/yasm:modules/objfmts/elf/tests/elfreloc.asm:1 | EXTERN constant
EXTERN function
GLOBAL main
main:
mov eax, constant
call function
ret | arm64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/elfreloc.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/elfreloc.asm | 1 | 8 |
yasm/yasm:modules/objfmts/elf/tests/elfreloc.asm:1 | EXTERN constant
EXTERN function
main:
mov eax, constant
call function
ret | arm64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/elfreloc.asm | BSD-2-Clause | 7adc41bfaba54a9d1fe82cfa59d7fc90da7defb4 | github | assembler | https://github.com/yasm/yasm/blob/7adc41bfaba54a9d1fe82cfa59d7fc90da7defb4/modules/objfmts/elf/tests/elfreloc.asm | 1 | 7 |
yasm/yasm:modules/objfmts/elf/tests/elftest.asm:1 | ; test source file for assembling to ELF
; copied from cofftest.asm; s/_//g s/coff/elf/g
; build with (under Linux, for example):
; yasm -f elf elftest.asm
; gcc -o elftest elftest.c elftest.o
; This file should test the following:
; [1] Define and export a global text-section symbol
; [2] Define and export a ... | arm64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/elftest.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/elftest.asm | 1 | 60 |
yasm/yasm:modules/objfmts/elf/tests/elftest.asm:2 | mov ebp,esp
mov eax,[ebp+8]
mov ecx,[ebp+12]
.label rol eax,1 ; [4] [8]
loop .label ; [9] [12]
mov esp,ebp
pop ebp
ret
; prototype: void greet(void);
greet mov eax,[integer] ; [14]
inc eax
mov [localint],eax ; [14]
push dword [commvar]
mov eax,[localptr] ; [13]
push dword [eax]
... | arm64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/elftest.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/elftest.asm | 41 | 83 |
yasm/yasm:modules/objfmts/elf/tests/elftimes.asm:1 | [section .text]
mov eax, eax
mov ebx, ebx
[section .data]
times 0x1 mov eax, eax
mov ebx, ebx
[section .foo]
times 0x10 mov eax, eax
mov ebx, ebx
[section .bar]
times 0x10 mov eax, eax
times 0x10 mov ebx, ebx | arm64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/elftimes.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/elftimes.asm | 1 | 12 |
yasm/yasm:modules/objfmts/elf/tests/elftypesize.asm:1 | weak weaksym
weaksym:
weaksym2:
weak weaksym2
global a
type a function
size a 500
a:
type b object
b:
global b
type c function
c:
global d
d:
type d object
e:
global e
type e object
f:
type f object
g:
global g
h: | unknown | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/elftypesize.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/elftypesize.asm | 1 | 33 |
yasm/yasm:modules/objfmts/elf/tests/elfvisibility.asm:1 | [section .text]
[global ghidden:hidden]
[global ginternal:internal]
[global gprotected:protected]
[global gtoomany:hidden internal]
ghidden:
ginternal:
gprotected:
gtoomany: | unknown | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/elfvisibility.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/elfvisibility.asm | 1 | 11 |
yasm/yasm:modules/objfmts/elf/tests/elfvisibility.asm:1 | [section .text]
global ghidden:hidden
global ginternal:internal
global gprotected:protected
global gtoomany:hidden internal
ghidden:
ginternal:
gprotected:
gtoomany: | unknown | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/elfvisibility.asm | BSD-2-Clause | decb27eaa2b0e2777276077d88eacef5cc0ceb28 | github | assembler | https://github.com/yasm/yasm/blob/decb27eaa2b0e2777276077d88eacef5cc0ceb28/modules/objfmts/elf/tests/elfvisibility.asm | 1 | 11 |
yasm/yasm:modules/objfmts/elf/tests/elfvisibility.asm:1 | [section .text]
global ghidden:hidden
global ginternal:internal
global gprotected:protected
global gtoomany:hidden internal | unknown | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/elfvisibility.asm | BSD-2-Clause | 3cc450d3ea88c4e22cd16b2459bef8c7b3f124ef | github | assembler | https://github.com/yasm/yasm/blob/3cc450d3ea88c4e22cd16b2459bef8c7b3f124ef/modules/objfmts/elf/tests/elfvisibility.asm | 1 | 6 |
yasm/yasm:modules/objfmts/elf/tests/gas32/Makefile.inc:1 | TESTS += modules/objfmts/elf/tests/gas32/elf_gas32_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/gas32/elf_gas32_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/gas32/elf_gas32_ssym.asm
EXTRA_DIST += modules/objfmts/elf/tests/gas32/elf_gas32_ssym.hex
EXTRA_DIST += modules/objfmts/elf/tests/gas32/elf_gas32_got.asm
EX... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/gas32/Makefile.inc | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/gas32/Makefile.inc | 1 | 7 |
yasm/yasm:modules/objfmts/elf/tests/gas32/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/elf/tests/gas32/elf_gas32_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/gas32/elf_gas32_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/gas32/elf_gas32_ssym.asm
EXTRA_DIST += modules/objfmts/elf/tests/gas32/elf_gas32_ssym.hex
EXTRA_DIST += modules/objfmts/elf/tests/gas32/elf_gas32_go... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/gas32/Makefile.inc | BSD-2-Clause | 6f329fb10706d1c26fbddedcfd5d1bb8f9a330e9 | github | assembler | https://github.com/yasm/yasm/blob/6f329fb10706d1c26fbddedcfd5d1bb8f9a330e9/modules/objfmts/elf/tests/gas32/Makefile.inc | 1 | 9 |
yasm/yasm:modules/objfmts/elf/tests/gas32/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/elf/tests/gas32/elf_gas32_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/gas32/elf_gas32_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/gas32/elf_gas32_ssym.asm
EXTRA_DIST += modules/objfmts/elf/tests/gas32/elf_gas32_ssym.hex | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/gas32/Makefile.inc | BSD-2-Clause | a3e30bc39f4f84156622dee7314ea264468b60ca | github | assembler | https://github.com/yasm/yasm/blob/a3e30bc39f4f84156622dee7314ea264468b60ca/modules/objfmts/elf/tests/gas32/Makefile.inc | 1 | 7 |
yasm/yasm:modules/objfmts/elf/tests/gas32/elf_gas32_got.asm:1 | .text
.extern a
.globl tst
tst:
call L1
L1:
pop %eax
add $_GLOBAL_OFFSET_TABLE_+(.-L1), %eax
mov (a@GOT)(%eax), %eax
movl $5, (%eax)
ret | x86_64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/gas32/elf_gas32_got.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/gas32/elf_gas32_got.asm | 1 | 13 |
yasm/yasm:modules/objfmts/elf/tests/gas32/elf_gas32_ssym.asm:1 | .text
foo:
movl %eax, foo@PLT
movl %eax, foo@GOTOFF
#movl %eax, foo@GOTPC
movl %eax, bar@TLSGD
movl %eax, bar@TLSLDM
movl %eax, bar@GOTTPOFF
movl %eax, bar@TPOFF
movl %eax, bar@NTPOFF
movl %eax, bar@DTPOFF
movl %eax, bar@GOTNTPOFF
movl %eax, bar@INDNTPOFF
movl %eax, foo@GOT | x86_64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/gas32/elf_gas32_ssym.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/gas32/elf_gas32_ssym.asm | 1 | 14 |
yasm/yasm:modules/objfmts/elf/tests/gas64/Makefile.inc:1 | TESTS += modules/objfmts/elf/tests/gas64/elf_gas64_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/gas64/elf_gas64_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/gas64/crosssect.asm
EXTRA_DIST += modules/objfmts/elf/tests/gas64/crosssect.hex
EXTRA_DIST += modules/objfmts/elf/tests/gas64/elf_gas64_curpos.asm
EXTRA_DIS... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/gas64/Makefile.inc | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/gas64/Makefile.inc | 1 | 11 |
yasm/yasm:modules/objfmts/elf/tests/gas64/Makefile.inc:1 | # $Id: Makefile.inc 1168 2004-10-31 01:07:52Z peter $
TESTS += modules/objfmts/elf/tests/gas64/elf_gas64_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/gas64/elf_gas64_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/gas64/crosssect.asm
EXTRA_DIST += modules/objfmts/elf/tests/gas64/crosssect.hex
EXTRA_DIST += modules... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/gas64/Makefile.inc | BSD-2-Clause | a3e30bc39f4f84156622dee7314ea264468b60ca | github | assembler | https://github.com/yasm/yasm/blob/a3e30bc39f4f84156622dee7314ea264468b60ca/modules/objfmts/elf/tests/gas64/Makefile.inc | 1 | 13 |
yasm/yasm:modules/objfmts/elf/tests/gas64/Makefile.inc:1 | # $Id: Makefile.inc 1168 2004-10-31 01:07:52Z peter $
TESTS += modules/objfmts/elf/tests/gas64/elf_gas64_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/gas64/elf_gas64_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/gas64/crosssect.asm
EXTRA_DIST += modules/objfmts/elf/tests/gas64/crosssect.hex
EXTRA_DIST += modules... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/gas64/Makefile.inc | BSD-2-Clause | 9ab89fdfe6147125a3be31c89296e4d8144e9132 | github | assembler | https://github.com/yasm/yasm/blob/9ab89fdfe6147125a3be31c89296e4d8144e9132/modules/objfmts/elf/tests/gas64/Makefile.inc | 1 | 11 |
yasm/yasm:modules/objfmts/elf/tests/gas64/Makefile.inc:1 | # $Id: Makefile.inc 1168 2004-10-31 01:07:52Z peter $
TESTS += modules/objfmts/elf/tests/gas64/elf_gas64_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/gas64/elf_gas64_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/gas64/elf_gas64_curpos.asm
EXTRA_DIST += modules/objfmts/elf/tests/gas64/elf_gas64_curpos.hex
EXTRA_D... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/gas64/Makefile.inc | BSD-2-Clause | 6aaa48cce1faf013699f1878a47a37c6c94c9c8b | github | assembler | https://github.com/yasm/yasm/blob/6aaa48cce1faf013699f1878a47a37c6c94c9c8b/modules/objfmts/elf/tests/gas64/Makefile.inc | 1 | 9 |
yasm/yasm:modules/objfmts/elf/tests/gas64/Makefile.inc:1 | # $Id: Makefile.inc 1168 2004-10-31 01:07:52Z peter $
TESTS += modules/objfmts/elf/tests/gas64/elf_gas64_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/gas64/elf_gas64_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/gas64/elf_gas64_curpos.asm
EXTRA_DIST += modules/objfmts/elf/tests/gas64/elf_gas64_curpos.hex
EXTRA_D... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/gas64/Makefile.inc | BSD-2-Clause | 0cdfa299944eb61c31fc80504e9cf54e4a56cb53 | github | assembler | https://github.com/yasm/yasm/blob/0cdfa299944eb61c31fc80504e9cf54e4a56cb53/modules/objfmts/elf/tests/gas64/Makefile.inc | 1 | 11 |
yasm/yasm:modules/objfmts/elf/tests/gas64/Makefile.inc:1 | # $Id: Makefile.inc 1168 2004-10-31 01:07:52Z peter $
TESTS += modules/objfmts/elf/tests/gas64/elf_gas64_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/gas64/elf_gas64_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/gas64/elf_gas64_reloc.asm
EXTRA_DIST += modules/objfmts/elf/tests/gas64/elf_gas64_reloc.hex
EXTRA_DIS... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/gas64/Makefile.inc | BSD-2-Clause | 4debc9c542fdf88a6e2dfcff5af29c07f578de07 | github | assembler | https://github.com/yasm/yasm/blob/4debc9c542fdf88a6e2dfcff5af29c07f578de07/modules/objfmts/elf/tests/gas64/Makefile.inc | 1 | 8 |
yasm/yasm:modules/objfmts/elf/tests/gas64/Makefile.inc:1 | # $Id: Makefile.inc 1168 2004-10-31 01:07:52Z peter $
TESTS += modules/objfmts/elf/tests/gas64/elf_gas64_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/gas64/elf_gas64_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/amd64/elf_gas64_reloc.asm
EXTRA_DIST += modules/objfmts/elf/tests/amd64/elf_gas64_reloc.hex
EXTRA_DIS... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/gas64/Makefile.inc | BSD-2-Clause | 36ff44b3ac13613805ac5680570bede242694d1b | github | assembler | https://github.com/yasm/yasm/blob/36ff44b3ac13613805ac5680570bede242694d1b/modules/objfmts/elf/tests/gas64/Makefile.inc | 1 | 8 |
yasm/yasm:modules/objfmts/elf/tests/gasx32/Makefile.inc:1 | TESTS += modules/objfmts/elf/tests/gasx32/elf_gasx32_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/gasx32/elf_gasx32_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/gasx32/crosssect.asm
EXTRA_DIST += modules/objfmts/elf/tests/gasx32/crosssect.hex
EXTRA_DIST += modules/objfmts/elf/tests/gasx32/elf_gasx32_curpos.asm
E... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/gasx32/Makefile.inc | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/gasx32/Makefile.inc | 1 | 11 |
yasm/yasm:modules/objfmts/elf/tests/gasx32/crosssect.asm:1 | .section .rodata
.align 4
_sys_srt:
.long 0
.text
.align 4,0x90
.long _sys_srt-.
.long _sys_srt-_sys_info
#.long _sys_info-_sys_srt
#.long -(_sys_srt-_sys_info)
.long _sys_info-.
.long .-_sys_info
.long (_sys_srt-.)+(.-_sys_info) # GAS cannot handle this but we can
.long 0
.long 65558
_sys_info:
.long 0 | unknown | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/gasx32/crosssect.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/gasx32/crosssect.asm | 1 | 18 |
yasm/yasm:modules/objfmts/elf/tests/gasx32/elf_gasx32_curpos.asm:1 | .globl bar
.globl foo
.section .bar
bar:
.4byte foo-.
.4byte baz-.
call foo
call baz
foo:
.section .data
baz:
.4byte foo-.
#.4byte .-foo # illegal
.4byte baz-.
.4byte .-baz
.4byte foo+4-. # with constant
.4byte .-baz+foo+4-. # both local and cross-segment (legal)
#.4byte baz+foo+4-.-. # ditto, slightly different - G... | x86_64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/gasx32/elf_gasx32_curpos.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/gasx32/elf_gasx32_curpos.asm | 1 | 27 |
yasm/yasm:modules/objfmts/elf/tests/gasx32/elf_gasx32_reloc.asm:1 | .comm _ZEROVAR, 32, 16
.comm _VAR, 16, 16
.data
.org 0
_ZEROVAR:
.org 0xa0
.globl _VAR
.type _VAR, @object
.size _VAR, 16
_VAR:
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.org 0xc0
_VAR2:
.org 0xe0
.globl _VAR3
_VAR3:
.text
movq $0, %rax
movq _VAR, %rax
movq %rax, _VAR(%rip)
movq _VAR+8(%rip), %rcx
movlpd _VAR(%rip), %xmm1
... | x86_64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/gasx32/elf_gasx32_reloc.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/gasx32/elf_gasx32_reloc.asm | 1 | 36 |
yasm/yasm:modules/objfmts/elf/tests/gasx32/elf_gasx32_ssym.asm:1 | .text
foo:
movl %eax, foo@PLT
movl %eax, foo@GOTPCREL
movl %eax, bar@TLSGD
movl %eax, bar@TLSLD
movl %eax, bar@GOTTPOFF
movl %eax, bar@TPOFF
movl %eax, bar@DTPOFF
movl %eax, foo@GOT | x86_64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/gasx32/elf_gasx32_ssym.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/gasx32/elf_gasx32_ssym.asm | 1 | 10 |
yasm/yasm:modules/objfmts/elf/tests/nasm-forceident.asm:1 | section ".text"
section '.text'
section $foo
global $Test
$Test:
mov ax, 0
ret | arm64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/nasm-forceident.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/nasm-forceident.asm | 1 | 11 |
yasm/yasm:modules/objfmts/elf/tests/x32/Makefile.inc:1 | TESTS += modules/objfmts/elf/tests/x32/elf_x32_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/x32/elf_x32_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/x32/elf-rip.asm
EXTRA_DIST += modules/objfmts/elf/tests/x32/elf-rip.hex
EXTRA_DIST += modules/objfmts/elf/tests/x32/elfsox32.asm
EXTRA_DIST += modules/objfmts/elf/t... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/x32/Makefile.inc | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/x32/Makefile.inc | 1 | 11 |
yasm/yasm:modules/objfmts/elf/tests/x32/Makefile.inc:1 | TESTS += modules/objfmts/elf/tests/x32/elf_x32_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/x32/elf_x32_test.sh
EXTRA_DIST += modules/objfmts/elf/tests/x32/elf-rip.asm
EXTRA_DIST += modules/objfmts/elf/tests/x32/elf-rip.hex
EXTRA_DIST += modules/objfmts/elf/tests/x32/elfso32.asm
EXTRA_DIST += modules/objfmts/elf/te... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/x32/Makefile.inc | BSD-2-Clause | 510c8dd7e6b28413350652b4b0284a1ae52ed96f | github | assembler | https://github.com/yasm/yasm/blob/510c8dd7e6b28413350652b4b0284a1ae52ed96f/modules/objfmts/elf/tests/x32/Makefile.inc | 1 | 11 |
yasm/yasm:modules/objfmts/elf/tests/x32/elf-rip.asm:1 | [bits 64]
[extern sym]
mov eax, [rip]
mov eax, [rip+2]
mov eax, [rip+sym]
mov eax, [sym wrt rip]
call sym | sparc | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/x32/elf-rip.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/x32/elf-rip.asm | 1 | 7 |
yasm/yasm:modules/objfmts/elf/tests/x32/elfsox32.asm:1 | ; This code is UNTESTED, and almost certainly DOES NOT WORK!
; Do NOT use this as an example of how to write AMD64 shared libraries!
; This code is simply to test the AMD64 ELF WRT relocations.
; This file should test the following:
; [1] Define and export a global text-section symbol
; [2] Define and export a global ... | arm64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/x32/elfsox32.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/x32/elfsox32.asm | 1 | 60 |
yasm/yasm:modules/objfmts/elf/tests/x32/elfsox32.asm:2 | mov rax,[rbp+8]
mov rcx,[rbp+12]
.label rol rax,1 ; [4] [8]
loop .label ; [9] [12]
mov rsp,rbp
pop rbp
ret
; prototype: void greet(void);
greet push rbx ; we'll use RBX for GOT, so save it
mov rbx,[integer wrt ..gotpcrel wrt rip]
mov rax,[rbx] ; [14]
inc rax
mov rbx,[_GLOBAL_OFFSET_TA... | arm64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/x32/elfsox32.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/x32/elfsox32.asm | 41 | 90 |
yasm/yasm:modules/objfmts/elf/tests/x32/elfsox32.asm:3 | textptr dd greet wrt ..sym ; [15]
selfptr dd selfptr wrt ..sym ; [16]
[SECTION .bss]
; an integer
integer resd 1 ; [3]
; a local integer
localint resd 1 ; [6] | arm64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/x32/elfsox32.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/x32/elfsox32.asm | 81 | 90 |
yasm/yasm:modules/objfmts/elf/tests/x32/gotpcrel.asm:1 | var:
mov rax, [var wrt ..got]
mov rax, [var wrt ..gotpcrel] ; should be error/warning?
mov rax, [rel var wrt ..got] ; automatic promotion to GOTPCREL
mov rax, [rel var wrt ..gotpcrel] | riscv | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/x32/gotpcrel.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/x32/gotpcrel.asm | 1 | 5 |
yasm/yasm:modules/objfmts/elf/tests/x32/multiplefixup.asm:1 | [section .data]
foobar:
dq 42
[section .text]
foo:
times 4 mov rax, [rel foobar]
times 4 mov rax, [foobar]
times 4 jmp foo | riscv | nasm-like | testsuite | yasm/yasm | modules/objfmts/elf/tests/x32/multiplefixup.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/elf/tests/x32/multiplefixup.asm | 1 | 8 |
yasm/yasm:modules/objfmts/macho/Makefile.inc:1 | libyasm_a_SOURCES += modules/objfmts/macho/macho-objfmt.c
YASM_MODULES += objfmt_macho objfmt_macho32 objfmt_macho64
EXTRA_DIST += modules/objfmts/macho/tests/Makefile.inc
include modules/objfmts/macho/tests/Makefile.inc | riscv | gas-like | handwritten | yasm/yasm | modules/objfmts/macho/Makefile.inc | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/macho/Makefile.inc | 1 | 7 |
yasm/yasm:modules/objfmts/macho/Makefile.inc:1 | # $Id$
libyasm_a_SOURCES += modules/objfmts/macho/macho-objfmt.c
YASM_MODULES += objfmt_macho objfmt_macho32 objfmt_macho64
EXTRA_DIST += modules/objfmts/macho/tests/Makefile.inc
include modules/objfmts/macho/tests/Makefile.inc | riscv | gas-like | handwritten | yasm/yasm | modules/objfmts/macho/Makefile.inc | BSD-2-Clause | 7f68927283c004583f427767cf0dd57b464ce649 | github | assembler | https://github.com/yasm/yasm/blob/7f68927283c004583f427767cf0dd57b464ce649/modules/objfmts/macho/Makefile.inc | 1 | 9 |
yasm/yasm:modules/objfmts/macho/tests/Makefile.inc:1 | EXTRA_DIST += modules/objfmts/macho/tests/gas32/Makefile.inc
EXTRA_DIST += modules/objfmts/macho/tests/gas64/Makefile.inc
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/Makefile.inc
EXTRA_DIST += modules/objfmts/macho/tests/nasm64/Makefile.inc
include modules/objfmts/macho/tests/gas32/Makefile.inc
include modules/ob... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/Makefile.inc | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/macho/tests/Makefile.inc | 1 | 9 |
yasm/yasm:modules/objfmts/macho/tests/Makefile.inc:1 | # $Id$
EXTRA_DIST += modules/objfmts/macho/tests/gas32/Makefile.inc
EXTRA_DIST += modules/objfmts/macho/tests/gas64/Makefile.inc
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/Makefile.inc
EXTRA_DIST += modules/objfmts/macho/tests/nasm64/Makefile.inc
include modules/objfmts/macho/tests/gas32/Makefile.inc
include mo... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/Makefile.inc | BSD-2-Clause | 9cf646aa2b477afbcb676e49eacad615beef6c44 | github | assembler | https://github.com/yasm/yasm/blob/9cf646aa2b477afbcb676e49eacad615beef6c44/modules/objfmts/macho/tests/Makefile.inc | 1 | 11 |
yasm/yasm:modules/objfmts/macho/tests/Makefile.inc:1 | # $Id$
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/Makefile.inc
EXTRA_DIST += modules/objfmts/macho/tests/nasm64/Makefile.inc
include modules/objfmts/macho/tests/nasm32/Makefile.inc
include modules/objfmts/macho/tests/nasm64/Makefile.inc | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/Makefile.inc | BSD-2-Clause | 7f68927283c004583f427767cf0dd57b464ce649 | github | assembler | https://github.com/yasm/yasm/blob/7f68927283c004583f427767cf0dd57b464ce649/modules/objfmts/macho/tests/Makefile.inc | 1 | 7 |
yasm/yasm:modules/objfmts/macho/tests/gas32/Makefile.inc:1 | TESTS += modules/objfmts/macho/tests/gas32/gas_macho32_test.sh
EXTRA_DIST += modules/objfmts/macho/tests/gas32/gas_macho32_test.sh
EXTRA_DIST += modules/objfmts/macho/tests/gas32/gas-macho32.asm
EXTRA_DIST += modules/objfmts/macho/tests/gas32/gas-macho32.hex | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/gas32/Makefile.inc | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/macho/tests/gas32/Makefile.inc | 1 | 5 |
yasm/yasm:modules/objfmts/macho/tests/gas32/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/macho/tests/gas32/gas_macho32_test.sh
EXTRA_DIST += modules/objfmts/macho/tests/gas32/gas_macho32_test.sh
EXTRA_DIST += modules/objfmts/macho/tests/gas32/gas-macho32.asm
EXTRA_DIST += modules/objfmts/macho/tests/gas32/gas-macho32.hex | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/gas32/Makefile.inc | BSD-2-Clause | 9cf646aa2b477afbcb676e49eacad615beef6c44 | github | assembler | https://github.com/yasm/yasm/blob/9cf646aa2b477afbcb676e49eacad615beef6c44/modules/objfmts/macho/tests/gas32/Makefile.inc | 1 | 7 |
yasm/yasm:modules/objfmts/macho/tests/gas32/gas-macho32.asm:1 | # test source file for assembling to MACH-O
# build with :
# yasm -f macho machotest.asm
# gcc -o machotest machotest.c machotest.o
# This file should test the following:
# [1] Define and export a global text-section symbol
# [2] Define and export a global data-section symbol
# [3] Define and export a global BSS... | x86_64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/gas32/gas-macho32.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/macho/tests/gas32/gas-macho32.asm | 1 | 60 |
yasm/yasm:modules/objfmts/macho/tests/gas32/gas-macho32.asm:2 | movl 12(%ebp), %ecx
Llabel: roll %eax # [4] [8]
loop Llabel # [9] [12]
movl %ebp, %esp
popl %ebp
ret
# prototype: void greet(void);
_greet:
movl _integer, %eax # [14]
incl %eax
movl %eax, localint # [14]
pushl _commvar
movl localptr, %eax # [13]
pushl (%eax)
pushl _integer # [1] [1... | x86_64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/gas32/gas-macho32.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/macho/tests/gas32/gas-macho32.asm | 41 | 79 |
yasm/yasm:modules/objfmts/macho/tests/gas64/Makefile.inc:1 | TESTS += modules/objfmts/macho/tests/gas64/gas_macho64_test.sh
EXTRA_DIST += modules/objfmts/macho/tests/gas64/gas_macho64_test.sh
EXTRA_DIST += modules/objfmts/macho/tests/gas64/gas-macho64.asm
EXTRA_DIST += modules/objfmts/macho/tests/gas64/gas-macho64.hex
EXTRA_DIST += modules/objfmts/macho/tests/gas64/gas-macho64-... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/gas64/Makefile.inc | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/macho/tests/gas64/Makefile.inc | 1 | 7 |
yasm/yasm:modules/objfmts/macho/tests/gas64/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/macho/tests/gas64/gas_macho64_test.sh
EXTRA_DIST += modules/objfmts/macho/tests/gas64/gas_macho64_test.sh
EXTRA_DIST += modules/objfmts/macho/tests/gas64/gas-macho64.asm
EXTRA_DIST += modules/objfmts/macho/tests/gas64/gas-macho64.hex
EXTRA_DIST += modules/objfmts/macho/tests/gas64/gas-... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/gas64/Makefile.inc | BSD-2-Clause | 3aab66a119b5be2a5163c1de4909f27bdc28a91e | github | assembler | https://github.com/yasm/yasm/blob/3aab66a119b5be2a5163c1de4909f27bdc28a91e/modules/objfmts/macho/tests/gas64/Makefile.inc | 1 | 9 |
yasm/yasm:modules/objfmts/macho/tests/gas64/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/macho/tests/gas64/gas_macho64_test.sh
EXTRA_DIST += modules/objfmts/macho/tests/gas64/gas_macho64_test.sh
EXTRA_DIST += modules/objfmts/macho/tests/gas64/gas-macho64.asm
EXTRA_DIST += modules/objfmts/macho/tests/gas64/gas-macho64.hex | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/gas64/Makefile.inc | BSD-2-Clause | 9cf646aa2b477afbcb676e49eacad615beef6c44 | github | assembler | https://github.com/yasm/yasm/blob/9cf646aa2b477afbcb676e49eacad615beef6c44/modules/objfmts/macho/tests/gas64/Makefile.inc | 1 | 7 |
yasm/yasm:modules/objfmts/macho/tests/gas64/gas-macho64-pic.asm:1 | call _foo
# r_type=X86_64_RELOC_BRANCH, r_length=2, r_extern=1, r_pcrel=1, r_symbolnum=_foo
# E8 00 00 00 00
call _foo+4
# r_type=X86_64_RELOC_BRANCH, r_length=2, r_extern=1, r_pcrel=1, r_symbolnum=_foo
# E8 04 00 00 00
movq _foo@GOTPCREL(%rip), %rax
# r_type=X86_64_RELOC_GOT_LOAD, r_length=2, r_extern=1, r_pcr... | x86_64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/gas64/gas-macho64-pic.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/macho/tests/gas64/gas-macho64-pic.asm | 1 | 31 |
yasm/yasm:modules/objfmts/macho/tests/gas64/gas-macho64.asm:3 | # EE FF FF FF FF FF FF FF
# Assumes that _prev is the first nonlocal label 0x12 bytes
# before this .quad
# TODO: .quad _foo - L1
# r_type=X86_64_RELOC_SUBTRACTOR,r_length=3,r_extern=1,r_pcrel=0,r_symbolnum=_prev
# r_type=X86_64_RELOC_UNSIGNED,r_length=3,r_extern=1,r_pcrel=0,r_symbolnum=_foo
# EE FF FF FF FF FF FF FF
... | x86_64 | nasm-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/gas64/gas-macho64.asm | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/macho/tests/gas64/gas-macho64.asm | 81 | 102 |
yasm/yasm:modules/objfmts/macho/tests/nasm32/Makefile.inc:1 | TESTS += modules/objfmts/macho/tests/nasm32/macho32_test.sh
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/macho32_test.sh
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/machotest.c
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/machotest.asm
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/machotest.hex
EXTRA_D... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/nasm32/Makefile.inc | BSD-2-Clause | a2f8bdf075bcad90a1b0a446080906ef6afe6847 | github | assembler | https://github.com/yasm/yasm/blob/a2f8bdf075bcad90a1b0a446080906ef6afe6847/modules/objfmts/macho/tests/nasm32/Makefile.inc | 1 | 17 |
yasm/yasm:modules/objfmts/macho/tests/nasm32/Makefile.inc:1 | TESTS += modules/objfmts/macho/tests/nasm32/macho32_test.sh
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/macho32_test.sh
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/machotest.c
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/machotest.asm
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/machotest.hex
EXTRA_D... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/nasm32/Makefile.inc | BSD-2-Clause | 94ab1135a30827eeb9a422489656c363ed115eec | github | assembler | https://github.com/yasm/yasm/blob/94ab1135a30827eeb9a422489656c363ed115eec/modules/objfmts/macho/tests/nasm32/Makefile.inc | 1 | 15 |
yasm/yasm:modules/objfmts/macho/tests/nasm32/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/macho/tests/nasm32/macho32_test.sh
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/macho32_test.sh
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/machotest.c
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/machotest.asm
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/machotest.hex... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/nasm32/Makefile.inc | BSD-2-Clause | abaf3f7d492962bf624cc16b306cde6758ca9557 | github | assembler | https://github.com/yasm/yasm/blob/abaf3f7d492962bf624cc16b306cde6758ca9557/modules/objfmts/macho/tests/nasm32/Makefile.inc | 1 | 17 |
yasm/yasm:modules/objfmts/macho/tests/nasm32/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/macho/tests/nasm32/macho32_test.sh
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/macho32_test.sh
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/machotest.c
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/machotest.asm
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/machotest.hex... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/nasm32/Makefile.inc | BSD-2-Clause | 472838271cd3aff6e56c296e492da323ec0c6a35 | github | assembler | https://github.com/yasm/yasm/blob/472838271cd3aff6e56c296e492da323ec0c6a35/modules/objfmts/macho/tests/nasm32/Makefile.inc | 1 | 15 |
yasm/yasm:modules/objfmts/macho/tests/nasm32/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/macho/tests/nasm32/macho32_test.sh
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/macho32_test.sh
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/machotest.c
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/machotest.asm
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/machotest.hex... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/nasm32/Makefile.inc | BSD-2-Clause | cfbeb3bebcf964b1e1b4f74b9323c5f5c75043c3 | github | assembler | https://github.com/yasm/yasm/blob/cfbeb3bebcf964b1e1b4f74b9323c5f5c75043c3/modules/objfmts/macho/tests/nasm32/Makefile.inc | 1 | 13 |
yasm/yasm:modules/objfmts/macho/tests/nasm32/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/macho/tests/nasm32/macho32_test.sh
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/macho32_test.sh
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/machotest.c
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/machotest.asm
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/machotest.hex... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/nasm32/Makefile.inc | BSD-2-Clause | d2fe9a793c74406c36b698efab2fe5ba5931b4c2 | github | assembler | https://github.com/yasm/yasm/blob/d2fe9a793c74406c36b698efab2fe5ba5931b4c2/modules/objfmts/macho/tests/nasm32/Makefile.inc | 1 | 13 |
yasm/yasm:modules/objfmts/macho/tests/nasm32/Makefile.inc:1 | # $Id$
TESTS += modules/objfmts/macho/tests/nasm32/macho32_test.sh
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/macho32_test.sh
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/machotest.c
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/machotest.asm
EXTRA_DIST += modules/objfmts/macho/tests/nasm32/machotest.hex... | riscv | gas-like | testsuite | yasm/yasm | modules/objfmts/macho/tests/nasm32/Makefile.inc | BSD-2-Clause | 9cf646aa2b477afbcb676e49eacad615beef6c44 | github | assembler | https://github.com/yasm/yasm/blob/9cf646aa2b477afbcb676e49eacad615beef6c44/modules/objfmts/macho/tests/nasm32/Makefile.inc | 1 | 10 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.