about summary refs log tree commit diff
path: root/sysdeps/ia64
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-08-18 22:04:56 +0000
committerRoland McGrath <roland@gnu.org>2003-08-18 22:04:56 +0000
commit09d1f2c150451f2864e45ca9da325dc8e3b6b5a0 (patch)
tree6d56c3c53bb476c46c3a9253252cb02e656a845b /sysdeps/ia64
parent0f98eee519db05045455692f0d460fd1dbc960b9 (diff)
downloadglibc-09d1f2c150451f2864e45ca9da325dc8e3b6b5a0.tar.gz
glibc-09d1f2c150451f2864e45ca9da325dc8e3b6b5a0.tar.xz
glibc-09d1f2c150451f2864e45ca9da325dc8e3b6b5a0.zip
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.
Diffstat (limited to 'sysdeps/ia64')
-rw-r--r--sysdeps/ia64/dl-machine.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/ia64/dl-machine.h b/sysdeps/ia64/dl-machine.h
index 3edaca1136..f09fb9bae0 100644
--- a/sysdeps/ia64/dl-machine.h
+++ b/sysdeps/ia64/dl-machine.h
@@ -582,7 +582,7 @@ elf_machine_rela (struct link_map *map,
 	    }
 #endif
 	  else
-	    assert (! "unexpected dynamic reloc type");
+	    _dl_reloc_bad_type (map, r_type, 0);
 	}
       else
 	value = 0;
@@ -599,7 +599,7 @@ elf_machine_rela (struct link_map *map,
       reloc_addr[1] = 0;
     }
   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
@@ -633,7 +633,7 @@ elf_machine_lazy_rel (struct link_map *map,
   else if (r_type == R_IA64_NONE)
     return;
   else
-    assert (! "unexpected PLT reloc type");
+    _dl_reloc_bad_type (map, r_type, 1);
 }
 
 #endif /* RESOLVE_MAP */