test/prefixsym.asm
raw| 1 | ; The FIRST definition of prefixes win, so more specific first |
| 2 | |
| 3 | |
| 4 | %pragma win64 gprefix W64_ |
| 5 | |
| 6 | %pragma win gprefix W_ |
| 7 | |
| 8 | %pragma elf gprefix |
| 9 | %pragma elf lprefix .L. |
| 10 | |
| 11 | %pragma output gprefix _ |
| 12 | %pragma output lprefix L. |
| 13 | |
| 14 | extern malloc |
| 15 | |
| 16 | global call_malloc |
| 17 | call_malloc: |
| 18 | call malloc |
| 19 | ret |
| 20 | |
| 21 | myfunc: |
| 22 | jmp call_malloc |