about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2004-12-15 09:35:48 +0000
committerJakub Jelinek <jakub@redhat.com>2004-12-15 09:35:48 +0000
commitbefe97e0d0e019ed913a2dddee77c62662349aec (patch)
treeb97e4ff16e871dcb80f09cda0bb861243e0a95ab
parent0d60d7de5db10af7b1c1574520d3ab3c0f64d530 (diff)
downloadglibc-befe97e0d0e019ed913a2dddee77c62662349aec.tar.gz
glibc-befe97e0d0e019ed913a2dddee77c62662349aec.tar.xz
glibc-befe97e0d0e019ed913a2dddee77c62662349aec.zip
Sync from HEAD once again.
-rw-r--r--ChangeLog7
-rw-r--r--sysdeps/ia64/dl-machine.h9
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S4
3 files changed, 15 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 00f512d7ef..d08630ecaf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2004-12-15  Andreas Jaeger  <aj@suse.de>
+
+	* sysdeps/ia64/dl-machine.h (elf_machine_rela): Mark auto instead
+	of static, add always_inline attribute.
+	(elf_machine_rela_relative): Likewise.
+	(elf_machine_lazy_rel): Likewise.
+
 2004-12-15  Ulrich Drepper  <drepper@redhat.com>
 
 	* sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Add support
diff --git a/sysdeps/ia64/dl-machine.h b/sysdeps/ia64/dl-machine.h
index 8714c016e9..3108047869 100644
--- a/sysdeps/ia64/dl-machine.h
+++ b/sysdeps/ia64/dl-machine.h
@@ -499,7 +499,8 @@ elf_machine_plt_value (struct link_map *map, const Elf64_Rela *reloc,
 
 /* Perform the relocation specified by RELOC and SYM (which is fully
    resolved).  MAP is the object containing the reloc.  */
-static inline void
+auto inline void
+__attribute ((always_inline))
 elf_machine_rela (struct link_map *map,
 		  const Elf64_Rela *reloc,
 		  const Elf64_Sym *sym,
@@ -603,7 +604,8 @@ elf_machine_rela (struct link_map *map,
    can be skipped.  */
 #define ELF_MACHINE_REL_RELATIVE 1
 
-static inline void
+auto inline void
+__attribute ((always_inline))
 elf_machine_rela_relative (Elf64_Addr l_addr, const Elf64_Rela *reloc,
 			   void *const reloc_addr_arg)
 {
@@ -615,7 +617,8 @@ elf_machine_rela_relative (Elf64_Addr l_addr, const Elf64_Rela *reloc,
 }
 
 /* Perform a RELATIVE reloc on the .got entry that transfers to the .plt.  */
-static inline void
+auto inline void
+__attribute ((always_inline))
 elf_machine_lazy_rel (struct link_map *map,
 		      Elf64_Addr l_addr, const Elf64_Rela *reloc)
 {
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S b/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S
index be069c90c8..61a35a2f79 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S
@@ -92,9 +92,9 @@ ENTRY (BP_SYM (__clone))
 	mr	r1,r30
 
 #ifdef RESET_PID
-	andis.	r0,r28,1	/* This is & CLONE_THREAD */
+	rldicl.	r0,r28,48,63	/* This is & CLONE_THREAD */
 	bne+	r0,L(oldpid)
-	andi.	r0,r28,CLONE_VM
+	rldicl.	r0,r28,56,63	/* This is & CLONE_VM */
 	li	r3,-1
 	bne-	r0,L(nomoregetpid)
 	DO_CALL(SYS_ify(getpid))