NEWS updates
diff --git a/src/ChangeLog b/src/ChangeLog
index 4139c7d..2f7ba0f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2005-10-26  Roland McGrath  <roland@redhat.com>
+
+	* nm.c (get_var_range): dwarf_getloclist -> dwarf_getlocation.
+
 2005-09-03  Ulrich Drepper  <drepper@redhat.com>
 
 	* strip.c (handle_elf): Unify some error messages.
diff --git a/src/nm.c b/src/nm.c
index 66e0b21..d4d66be 100644
--- a/src/nm.c
+++ b/src/nm.c
@@ -582,9 +582,9 @@
   if  (locattr == NULL)
     return 1;
 
-  Dwarf_Loc *loc;
+  Dwarf_Op *loc;
   size_t nloc;
-  if (dwarf_getloclist (locattr, &loc, &nloc) != 0)
+  if (dwarf_getlocation (locattr, &loc, &nloc) != 0)
     return 1;
 
   /* Interpret the location expressions.  */