about summary refs log tree commit diff
path: root/sysdeps/ia64
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-03-03 08:44:46 +0000
committerRoland McGrath <roland@gnu.org>2003-03-03 08:44:46 +0000
commitea6a015bd78d1bc15c02f64d5e5423cbcdc86b2e (patch)
treeaa51f8c6fbea5e7ef556644f34553b6fde4be133 /sysdeps/ia64
parent83f2fcbe7b26ac53dc237c37f52b699207bd9d19 (diff)
downloadglibc-ea6a015bd78d1bc15c02f64d5e5423cbcdc86b2e.tar.gz
glibc-ea6a015bd78d1bc15c02f64d5e5423cbcdc86b2e.tar.xz
glibc-ea6a015bd78d1bc15c02f64d5e5423cbcdc86b2e.zip
* sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Add const to MAP arg.
	* sysdeps/ia64/dl-machine.h: Update decl.
Diffstat (limited to 'sysdeps/ia64')
-rw-r--r--sysdeps/ia64/dl-fptr.c5
-rw-r--r--sysdeps/ia64/dl-machine.h6
2 files changed, 6 insertions, 5 deletions
diff --git a/sysdeps/ia64/dl-fptr.c b/sysdeps/ia64/dl-fptr.c
index 929d1959d2..3a4d8247a8 100644
--- a/sysdeps/ia64/dl-fptr.c
+++ b/sysdeps/ia64/dl-fptr.c
@@ -1,5 +1,5 @@
 /* Manage function descriptors.  IA-64 version.
-   Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+   Copyright (C) 1999,2000,2001,2002,2003 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
@@ -191,7 +191,8 @@ make_fptr_table (struct link_map *map)
 }
 
 Elf64_Addr
-__ia64_make_fptr (struct link_map *map, const Elf64_Sym *sym, Elf64_Addr ip)
+__ia64_make_fptr (const struct link_map *map,
+		  const Elf64_Sym *sym, Elf64_Addr ip)
 {
   Elf64_Addr *ftab = map->l_mach.fptr_table;
   const Elf64_Sym *symtab;
diff --git a/sysdeps/ia64/dl-machine.h b/sysdeps/ia64/dl-machine.h
index f5eeef67db..6268fb3e53 100644
--- a/sysdeps/ia64/dl-machine.h
+++ b/sysdeps/ia64/dl-machine.h
@@ -52,8 +52,8 @@ struct ia64_fdesc_table
     struct ia64_fdesc fdesc[0];
   };
 
-extern Elf64_Addr __ia64_make_fptr (struct link_map *, const Elf64_Sym *,
-				    Elf64_Addr);
+extern Elf64_Addr __ia64_make_fptr (const struct link_map *,
+				    const Elf64_Sym *, Elf64_Addr);
 
 static inline void
 __ia64_init_bootstrap_fdesc_table (struct link_map *map)
@@ -583,7 +583,7 @@ elf_machine_rela (struct link_map *map,
 # ifdef RTLD_BOOTSTRAP
 	    /* During startup the dynamic linker is always index 1.  */
 	    value = 1;
-# else	      
+# else
 	    /* Get the information from the link map returned by the
 	       resolv function.  */
 	    value = sym_map->l_tls_modid;