Add HAVE_VISIBILITY_ATTRIBUTE and HAVE_SDATA_SECTION.
authorUlrich Drepper <drepper@redhat.com>
Thu, 28 Feb 2002 22:36:33 +0000 (22:36 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 28 Feb 2002 22:36:33 +0000 (22:36 +0000)
sysdeps/alpha/dl-machine.h
sysdeps/arm/dl-machine.h
sysdeps/cris/dl-machine.h
sysdeps/hppa/dl-machine.h
sysdeps/m68k/dl-machine.h
sysdeps/mips/dl-machine.h
sysdeps/mips/mips64/dl-machine.h

index 6024f13..490f1f1 100644 (file)
@@ -328,7 +328,7 @@ $fixup_stack_ret:                                           \n\
 " RTLD_START_SPECIAL_INIT "                                    \n\
        /* Call _dl_init(_dl_loaded, argc, argv, envp) to run   \n\
           initializers.  */                                    \n\
-       ldq     $16, _rtld_global                               \n\
+       ldq     $16, _rtld_local                                \n\
        ldq     $17, 0($sp)                                     \n\
        lda     $18, 8($sp)                                     \n\
        s8addq  $17, 8, $19                                     \n\
index 5d16564..177a375 100644 (file)
@@ -324,7 +324,7 @@ _dl_start_user:
 .L_STACK_END:
        .word   __libc_stack_end(GOT)
 .L_LOADED:
-       .word   _rtld_global(GOT)
+       .word   _rtld_local(GOT)
 .previous\n\
 ");
 
index 34d29fa..966d86b 100644 (file)
@@ -212,7 +212,7 @@ _dl_start_user:
        move.d  $sp,$r12
        addq    4,$r12
        ;  main_map: at _dl_loaded.
-       move.d  [$r0+_rtld_global:GOT16],$r9
+       move.d  [$r0+_rtld_local:GOT16],$r9
        move.d  [$r9],$r10
        move.d  _dl_init_internal:PLTG,$r9
        add.d   $r0,$r9
index bc3a983..6d42494 100644 (file)
@@ -362,8 +362,8 @@ asm (                                                                       \
 "      stw     %r24,-44(%sp)\n"                                        \
                                                                        \
 ".Lnofix:\n"                                                           \
-"      addil   LT'_rtld_global,%r19\n"                                 \
-"      ldw     RT'_rtld_global(%r1),%r26\n"                            \
+"      addil   LT'_rtld_local,%r19\n"                                  \
+"      ldw     RT'_rtld_local(%r1),%r26\n"                             \
 "      bl      set_dp, %r2\n"                                          \
 "      ldw     0(%r26),%r26\n"                                         \
                                                                        \
index 1645d83..b2e1c6b 100644 (file)
@@ -176,7 +176,7 @@ _dl_start_user:\n\
        pea 8(%sp, %d1*4)\n\
        pea 8(%sp)\n\
        move.l %d1, -(%sp)\n\
-       move.l ([_rtld_global@GOT.w, %a5]), -(%sp)\n\
+       move.l ([_rtld_local@GOT.w, %a5]), -(%sp)\n\
        jbsr _dl_init_internal@PLTPC\n\
        addq.l #8, %sp\n\
        addq.l #8, %sp\n\
index 893f104..fcf37f6 100644 (file)
@@ -441,7 +441,7 @@ _dl_start_user:\n\
        # Save back the modified argument count.\n\
        sw $4, 0($29)\n\
 1:     # Call _dl_init (struct link_map *main_map, int argc, char **argv, char **env) \n\
-       lw $4, _rtld_global\n\
+       lw $4, _rtld_local\n\
        lw $5, 0($29)\n\
        la $6, 4($29)\n\
        sll $7, $5, 2\n\
index 6f89c0b..64731b8 100644 (file)
@@ -480,7 +480,7 @@ _dl_start_user:\n\
        # Save back the modified argument count.\n\
        sd $4, 0($29)\n\
 1:     # Call _dl_init (struct link_map *main_map, int argc, char **argv, char **env) \n\
-       ld $4, _rtld_global\n\
+       ld $4, _rtld_local\n\
        ld $5, 0($29)\n\
        dla $6, 4($29)\n\
        dla $7, 8($29)\n\
@@ -492,7 +492,7 @@ _dl_start_user:\n\
        dla $31, _dl_fini\n\
        # Jump to the user entry point.\n\
 1:     # Call _dl_init (struct link_map *main_map, int argc, char **argv, char **env) \n\
-       lw $4, _rtld_global\n\
+       lw $4, _rtld_local\n\
        lw $5, 0($29)\n\
        la $6, 4($29)\n\
        la $7, 8($29)\n\