optimized.
1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
optimized.
+1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
+
+ * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
+ optimized.
+
1998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
* string/bits/string2.h: Add mempcpy optimization.
elf_machine_lazy_rel (Elf32_Addr l_addr, const Elf32_Rela *reloc)
{
Elf32_Addr *const reloc_addr = (void *) (l_addr + reloc->r_offset);
- switch (ELF32_R_TYPE (reloc->r_info))
- {
- case R_68K_JMP_SLOT:
- *reloc_addr += l_addr;
- break;
- default:
- assert (! "unexpected PLT reloc type");
- break;
- }
+ assert (ELF32_R_TYPE (reloc->r_info) == R_68K_JMP_SLOT);
+ *reloc_addr += l_addr;
}
#endif /* RESOLVE */