summary refs log tree commit diff
path: root/elf/dl-runtime.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-08-27 00:19:07 +0000
committerUlrich Drepper <drepper@redhat.com>2001-08-27 00:19:07 +0000
commit092243fa4ee3791ca27ee0827061a1f168ce9c94 (patch)
tree695c9bd90f4b27d2f08b248163a5f835ca804daa /elf/dl-runtime.c
parentcf5a372ec12437bf79cb130c124ace1f62d97144 (diff)
downloadglibc-092243fa4ee3791ca27ee0827061a1f168ce9c94.tar.gz
glibc-092243fa4ee3791ca27ee0827061a1f168ce9c94.tar.xz
glibc-092243fa4ee3791ca27ee0827061a1f168ce9c94.zip
Update.
2001-08-26  Ulrich Drepper  <drepper@redhat.com>

	* elf/dl-runtime.c: Update calls to _dl_lookup_*.
Diffstat (limited to 'elf/dl-runtime.c')
-rw-r--r--elf/dl-runtime.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/elf/dl-runtime.c b/elf/dl-runtime.c
index f369660777..7a77f46b93 100644
--- a/elf/dl-runtime.c
+++ b/elf/dl-runtime.c
@@ -1,5 +1,5 @@
 /* On-demand PLT fixup for shared objects.
-   Copyright (C) 1995-1999, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -89,13 +89,13 @@ fixup (
 		result = _dl_lookup_versioned_symbol (strtab + sym->st_name,
 						      l, &sym, l->l_scope,
 						      version,
-						      ELF_MACHINE_JMP_SLOT, 0);
+						      ELF_RTYPE_CLASS_PLT, 0);
 		break;
 	      }
 	  }
 	case 0:
 	  result = _dl_lookup_symbol (strtab + sym->st_name, l, &sym,
-				      l->l_scope, ELF_MACHINE_JMP_SLOT, 0);
+				      l->l_scope, ELF_RTYPE_CLASS_PLT, 0);
 	}
 
       /* Currently result contains the base load address (or link map)
@@ -181,14 +181,14 @@ profile_fixup (
 		    result = _dl_lookup_versioned_symbol(strtab + sym->st_name,
 							 l, &sym, l->l_scope,
 							 version,
-							 ELF_MACHINE_JMP_SLOT,
+							 ELF_RTYPE_CLASS_PLT,
 							 0);
 		    break;
 		  }
 	      }
 	    case 0:
 	      result = _dl_lookup_symbol (strtab + sym->st_name, l, &sym,
-					  l->l_scope, ELF_MACHINE_JMP_SLOT, 0);
+					  l->l_scope, ELF_RTYPE_CLASS_PLT, 0);
 	    }
 
 	  /* Currently result contains the base load address (or link map)