Codebase list fasm / 1f76c61
New upstream version 1.71.63 Tomasz Buchert 6 years ago
7 changed file(s) with 30 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
Binary diff not shown
Binary diff not shown
Binary diff not shown
17031703 sub edx,eax
17041704 mov al,1
17051705 call lseek
1706 jc resource_headers_ok
17061707 resource_file_alignment_ok:
17071708 mov [esi],eax
17081709 lea edx,[esi+12]
17481749 resource_header_name_ok:
17491750 xor al,al
17501751 call lseek
1751 jmp read_resource_headers
1752 jnc read_resource_headers
17521753 resource_headers_ok:
1754 cmp esi,[free_additional_memory]
1755 je invalid_file_format
17531756 xor eax,eax
17541757 mov [esi],eax
17551758 mov [resource_data],edi
31023105 elf_closed:
31033106 ret
31043107 elf_formatter:
3108 mov ecx,edi
3109 sub ecx,[code_start]
3110 neg ecx
3111 and ecx,111b
3112 test [format_flags],8
3113 jnz align_elf_structures
3114 and ecx,11b
3115 align_elf_structures:
3116 xor al,al
3117 rep stos byte [edi]
31053118 push edi
31063119 call prepare_default_section
31073120 mov esi,[symbols_stream]
33923405 mov ebx,[code_start]
33933406 mov eax,edi
33943407 sub eax,[free_additional_memory]
3408 xor ecx,ecx
3409 sub ecx,eax
33953410 test [format_flags],8
33963411 jnz finish_elf64_header
3412 and ecx,11b
3413 add eax,ecx
33973414 mov [ebx+20h],eax
33983415 mov eax,[current_section]
33993416 inc ax
34043421 mov [ebx+30h],ax
34053422 jmp elf_header_finished
34063423 finish_elf64_header:
3424 and ecx,111b
3425 add eax,ecx
34073426 mov [ebx+28h],eax
34083427 mov eax,[current_section]
34093428 inc ax
34143433 mov [ebx+3Ch],ax
34153434 elf_header_finished:
34163435 xor eax,eax
3417 mov ecx,10
3418 rep stos dword [edi]
3436 add ecx,10*4
3437 rep stos byte [edi]
34193438 test [format_flags],8
34203439 jz elf_null_section_ok
3421 mov ecx,6
3422 rep stos dword [edi]
3440 mov ecx,6*4
3441 rep stos byte [edi]
34233442 elf_null_section_ok:
34243443 mov esi,ebp
34253444 xor ecx,ecx
3232 ; cannot simply be copied and put under another distribution licence
3333 ; (including the GNU Public Licence).
3434
35 VERSION_STRING equ "1.71.62"
35 VERSION_STRING equ "1.71.63"
3636
3737 VERSION_MAJOR = 1
3838 VERSION_MINOR = 71
00
11 Visit http://flatassembler.net/ for more information.
2
3
4 version 1.71.63 (Jun 21, 2017)
5
6 [-] Minor fixes in formatter.
27
38
49 version 1.71.62 (May 08, 2017)