annotate dyncall/gen-masm.sh @ 84:67961454902b
- bigger cleanup in callvm code
* changed init of most callvms to reuse code and for consistency
* removed unused functions
* general changes for consistency
* added some missing cconv defines do mode calls
- fixed potential buffer overrun on arm64
- fixed sparc and x64 mode setting (only one mode, but wasn't (pointlessly) resettable)
- error code handling (dcGetError) changes, flag is now cleared (work still underway)
- Changelog update
author |
cslag |
date |
Wed, 06 Apr 2016 00:21:51 +0200 |
parents |
3e629dc19168 |
children |
572aff021627 |
rev |
line source |
0
|
1 #!/bin/sh
|
|
2
|
|
3 # Uses portasm to generates MASM sources for intel platforms.
|
|
4 printf "; auto-generated by `basename $0`\r\n" > dyncall_call_x86_generic_masm.asm
|
|
5 printf "; auto-generated by `basename $0`\r\n" > dyncall_call_x64_generic_masm.asm
|
|
6 gcc -E -P -DGEN_MASM dyncall_call_x86.S | awk '{printf "%s\r\n", $0}' >> dyncall_call_x86_generic_masm.asm
|
|
7 gcc -E -P -DGEN_MASM dyncall_call_x64-att.S | awk '{printf "%s\r\n", $0}' >> dyncall_call_x64_generic_masm.asm
|