2003-08-18 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/ia64/dl-machine.h (elf_machine_rela): Use _dl_reloc_bad_type. (elf_machine_lazy_rel): Likewise.
This commit is contained in:
parent
0f98eee519
commit
09d1f2c150
@ -582,7 +582,7 @@ elf_machine_rela (struct link_map *map,
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
else
|
else
|
||||||
assert (! "unexpected dynamic reloc type");
|
_dl_reloc_bad_type (map, r_type, 0);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
value = 0;
|
value = 0;
|
||||||
@ -599,7 +599,7 @@ elf_machine_rela (struct link_map *map,
|
|||||||
reloc_addr[1] = 0;
|
reloc_addr[1] = 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
assert (! "unexpected dynamic reloc format");
|
_dl_reloc_bad_type (map, r_type, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Let do-rel.h know that on IA-64 if l_addr is 0, all RELATIVE relocs
|
/* Let do-rel.h know that on IA-64 if l_addr is 0, all RELATIVE relocs
|
||||||
@ -633,7 +633,7 @@ elf_machine_lazy_rel (struct link_map *map,
|
|||||||
else if (r_type == R_IA64_NONE)
|
else if (r_type == R_IA64_NONE)
|
||||||
return;
|
return;
|
||||||
else
|
else
|
||||||
assert (! "unexpected PLT reloc type");
|
_dl_reloc_bad_type (map, r_type, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* RESOLVE_MAP */
|
#endif /* RESOLVE_MAP */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user