Fix a few compile errors when cross compiling.

This commit is contained in:
Kevin Koltzau 2004-04-15 04:58:55 +00:00 committed by Alexandre Julliard
parent 22ff3d43f7
commit 5b338a87d8
2 changed files with 4 additions and 4 deletions

View File

@ -623,7 +623,7 @@ BOOL elf_synchronize_module_list(struct process* pcs)
return FALSE; return FALSE;
} }
SYM_TYPE elf_read_wine_loader_dbg_info(struct process pcs, struct elf_info* elf_info) unsigned long elf_read_wine_loader_dbg_info(struct process* pcs)
{ {
return -1; return -1;
} }

View File

@ -1252,7 +1252,7 @@ SYM_TYPE stabs_parse(struct module* module, const char* addr,
public->address, public->size, public->address, public->size,
stabs_parse_type(ptr)); stabs_parse_type(ptr));
#else #else
symt_new_global_variable(module, symname, TRUE /* FIXME */, symt_new_global_variable(module, compiland, symname, TRUE /* FIXME */,
load_offset + stab_ptr->n_value, 0, load_offset + stab_ptr->n_value, 0,
stabs_parse_type(ptr)); stabs_parse_type(ptr));
#endif #endif
@ -1379,7 +1379,7 @@ SYM_TYPE stabs_parse(struct module* module, const char* addr,
*/ */
symt_add_func_line(module, curr_func, source_idx, symt_add_func_line(module, curr_func, source_idx,
stab_ptr->n_desc, stab_ptr->n_desc,
stab_ptr->n_value - curr_func->addr.off); stab_ptr->n_value - curr_func->addr);
#endif #endif
} }
break; break;
@ -1413,7 +1413,7 @@ SYM_TYPE stabs_parse(struct module* module, const char* addr,
#else #else
curr_func = symt_new_function(module, compiland, symname, curr_func = symt_new_function(module, compiland, symname,
load_offset + stab_ptr->n_value, 0, load_offset + stab_ptr->n_value, 0,
func_type); stabs_parse_type(ptr));
#endif #endif
} }
else else