]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Sync from HEAD once again.
authorJakub Jelinek <jakub@redhat.com>
Wed, 15 Dec 2004 09:35:48 +0000 (09:35 +0000)
committerJakub Jelinek <jakub@redhat.com>
Wed, 15 Dec 2004 09:35:48 +0000 (09:35 +0000)
ChangeLog
sysdeps/ia64/dl-machine.h
sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S

index 00f512d7ef5702da115e48db10588f4dcdf4e106..d08630ecafa7425701b642a35250693519543082 100644 (file)
--- 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
index 8714c016e91bc0aa1035110507deef1b6982562d..310804786951acf3d8a251b2c3a5dfe75fef172b 100644 (file)
@@ -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)
 {
index be069c90c81528ebcdb3df2e9f74dccd57a1be77..61a35a2f7928173a7cea9430cec1266b0d3e90ae 100644 (file)
@@ -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))