rem: symfile_objfile->obfd));
add: (symfile_objfile ? symfile_objfile->obfd : NULL)));
context: relocate_main_executable (void){	haiku_image_info *appImageInfo = haiku_get_app_image();	TRACE(("relocate_main_executable()\n"));TRACE(("relocate_main_executable(): symfile_objfile: %p\n",symfile_objfile));TRACE(("relocate_main_executable(): symfile_objfile->obfd: %p\n",symfile_objfile->obfd));TRACE(("relocate_main_executable(): app image: %p\n", appImageInfo));	// Relocate the executable here.	if (symfile_objfile && symfile_objfile->obfd && appImageInfo) {		CORE_ADDR unrelocatedAddress = get_bfd_vma(symfile_objfile->obfd);		CORE_ADDR displacement = (CORE_ADDR)appImageInfo->text_address			- unrelocatedAddress;TRACE(("relocate_main_executable(): image text address: %p, ""unrelocated address: %p\n", (void*)appImageInfo->text_address,(void*)unrelocatedAddress));		if (displacement != 0) {			struct cleanup *old_chain;			struct section_offsets *new_offsets;			int i, changed;			changed = 0;			new_offsets = xcalloc (symfile_objfile->num_sections,				sizeof (struct section_offsets));			old_chain = make_cleanup (xfree, new_offsets);			for (i = 0; i < symfile_objfile->num_sections; i++) {				if (displacement					!= ANOFFSET (symfile_objfile->section_offsets, i)) {					changed = 1;				}				new_offsets->offsets[i] = displacement;			}			if (changed)				objfile_relocate (symfile_objfile, new_offsets);			do_cleanups (old_chain);		}	}}