Changeset 3665
- Timestamp:
- Sep 17, 2010, 2:56:18 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r3484 r3665 72 72 TEMPLATE_usr.bin.alp_INST = usr/bin/ 73 73 74 TEMPLATE_usr.bin.nasm = /usr/lib/ libraries using nasm as assembler. 75 TEMPLATE_usr.bin.nasm_TOOL = GCC3 76 TEMPLATE_usr.bin.nasm_TOOL.os2 = GCC3OMF 77 TEMPLATE_usr.bin.nasm_ASTOOL = NASM 78 TEMPLATE_usr.bin.nasm_ASFLAGS = -f obj 79 TEMPLATE_usr.bin.nasm_INST = usr/bin/ 80 74 81 # 75 82 # The /usr/sbin templates. -
trunk/emx/Makefile.kmk
r3664 r3665 249 249 src/ld/ldstub-nasm.asm \ 250 250 src/ld/ldstub.def 251 ldstub_ASFLAGS = -Ox 251 252 ldstub_LDFLAGS = -nostdlib -s 252 253 ldstub_LIBS = os2 -
trunk/emx/src/ld/ldstub-nasm.asm
r3664 r3665 68 68 BITS 32 69 69 enter 260 + 4 + RESC_size, 0 70 %define achNewExeName ebp - 260 - RESC_size - 4 70 %define achNewExeName ebp - 260 - RESC_size - 4 ; == esp right now 71 71 %define res ebp - RESC_size 72 72 … … 76 76 ; ULONG DosQueryModuleName(HMODULE hmod, ULONG ulNameLength, PCHAR pNameBuf); 77 77 ; 78 lea ebx, [achNewExeName]78 mov ebx, esp ; esp=achNewExeName 79 79 push ebx ; pNameBuf 80 80 push 260 ; ulNameLength … … 122 122 123 123 .exec_failed: 124 mov eax, byte07fh124 mov eax, 07fh 125 125 jmp .done 126 126 … … 138 138 ; We shouldn't return 0 when we trap, crash or is killed. 139 139 ; 140 mov eax, byte0ffh140 mov eax, 0ffh 141 141 %endif 142 142
Note:
See TracChangeset
for help on using the changeset viewer.