weak_symbol (_dl_rtld_map);
elf_machine_rel (struct link_map *map,		 const Elf32_Rel *reloc, const Elf32_Sym *sym,		 Elf32_Addr (*resolve) (const Elf32_Sym **ref,					Elf32_Addr reloc_addr,					int noplt)){  Elf32_Addr *const reloc_addr = (void *) (map->l_addr + reloc->r_offset);  Elf32_Addr loadbase, undo;  switch (ELF32_R_TYPE (reloc->r_info))    {    case R_386_COPY:      loadbase = (*resolve) (&sym, (Elf32_Addr) reloc_addr, 0);      memcpy (reloc_addr, (void *) (loadbase + sym->st_value), sym->st_size);      break;    case R_386_GLOB_DAT:      loadbase = (resolve ? (*resolve) (&sym, (Elf32_Addr) reloc_addr, 0) :		  /* RESOLVE is null during bootstrap relocation.  */		  map->l_addr);      *reloc_addr = sym ? (loadbase + sym->st_value) : 0;      break;    case R_386_JMP_SLOT:      loadbase = (resolve ? (*resolve) (&sym, (Elf32_Addr) reloc_addr, 1) :		  /* RESOLVE is null during bootstrap relocation.  */		  map->l_addr);      *reloc_addr = sym ? (loadbase + sym->st_value) : 0;      break;    case R_386_32:      if (resolve && map == &_dl_rtld_map)	/* Undo the relocation done here during bootstrapping.  Now we will	   relocate it anew, possibly using a binding found in the user	   program or a loaded library rather than the dynamic linker's	   built-in definitions used while loading those libraries.  */	undo = map->l_addr + sym->st_value;      else	undo = 0;      loadbase = (resolve ? (*resolve) (&sym, (Elf32_Addr) reloc_addr, 0) :		  /* RESOLVE is null during bootstrap relocation.  */		  map->l_addr);      *reloc_addr += (sym ? (loadbase + sym->st_value) : 0) - undo;      break;    case R_386_RELATIVE:      if (!resolve || map != &_dl_rtld_map) /* Already done in rtld itself.  */	*reloc_addr += map->l_addr;      break;    case R_386_PC32:      loadbase = (resolve ? (*resolve) (&sym, (Elf32_Addr) reloc_addr, 0) :		  /* RESOLVE is null during bootstrap relocation.  */		  map->l_addr);      *reloc_addr += ((sym ? (loadbase + sym->st_value) : 0) -		      (Elf32_Addr) reloc_addr);      break;    case R_386_NONE:		/* Alright, Wilbur.  */      break;    default:      assert (! "unexpected dynamic reloc type");      break;    }}