forked from KolibriOS/kolibrios
fixed bug in melibc and minor bug in compiler.
git-svn-id: svn://kolibrios.org@158 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
69e4361cc8
commit
6127c7381d
@ -14,9 +14,9 @@ _msys_read_file:
|
|||||||
mov eax,[ebp+12]
|
mov eax,[ebp+12]
|
||||||
mov [file_struct.offset],eax
|
mov [file_struct.offset],eax
|
||||||
mov eax,[ebp+16]
|
mov eax,[ebp+16]
|
||||||
mov [file_struct.offset],eax
|
mov [file_struct.size],eax
|
||||||
mov eax,[ebp+20]
|
mov eax,[ebp+20]
|
||||||
mov [file_struct.offset],eax
|
mov [file_struct.data],eax
|
||||||
mov [file_struct.temp_buffer],temp_buffer
|
mov [file_struct.temp_buffer],temp_buffer
|
||||||
mov edx,[ebp+8]
|
mov edx,[ebp+8]
|
||||||
call copy_file_name
|
call copy_file_name
|
||||||
|
@ -226,6 +226,7 @@ int tcc_output_me(TCCState* s1,const char *filename)
|
|||||||
me.s1=s1;
|
me.s1=s1;
|
||||||
relocate_common_syms();
|
relocate_common_syms();
|
||||||
assign_addresses(&me);
|
assign_addresses(&me);
|
||||||
|
me.header.version=1;
|
||||||
me.header.entry_point=tcc_find_symbol_me(&me,"start");
|
me.header.entry_point=tcc_find_symbol_me(&me,"start");
|
||||||
me.header.params= tcc_find_symbol_me(&me,"__argv"); // <--
|
me.header.params= tcc_find_symbol_me(&me,"__argv"); // <--
|
||||||
me.header.argv= tcc_find_symbol_me(&me,"__path"); // <--
|
me.header.argv= tcc_find_symbol_me(&me,"__path"); // <--
|
||||||
|
Loading…
Reference in New Issue
Block a user