]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(_dl_runtime_resolve): Care for prefix.
authorUlrich Drepper <drepper@redhat.com>
Tue, 9 Dec 1997 23:47:37 +0000 (23:47 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 9 Dec 1997 23:47:37 +0000 (23:47 +0000)
(_start): Likewise.

sysdeps/alpha/dl-machine.h

index 04c2595963e693ca1e1aa306d052737e187bafd5..49e69970822a69de8bc0679bce5a04b8e98db8f0 100644 (file)
@@ -157,7 +157,7 @@ _dl_runtime_resolve:
        subq    $17, 20, $17
        addq    $17, $17, $17
        /* Do the fixup */
-       bsr     $26, fixup..ng
+       bsr     $26, "ASM_ALPHA_NG_SYMBOL_PREFIX"fixup..ng
        /* Move the destination address into position.  */
        mov     $0, $27
        /* Restore program registers.  */
@@ -205,7 +205,7 @@ _start:
 0:     ldgp    $gp, 0($gp)
        /* Pass pointer to argument block to _dl_start.  */
        mov     $sp, $16
-       bsr     $26, _dl_start..ng
+       bsr     $26, "ASM_ALPHA_NG_SYMBOL_PREFIX"_dl_start..ng
        .end _start
        /* FALLTHRU */
        .globl _dl_start_user
@@ -249,6 +249,9 @@ _dl_start_user:
    PLT entries should not be allowed to define the value.  */
 #define elf_machine_pltrel_p(type)  ((type) == R_ALPHA_JMP_SLOT)
 
+/* A reloc type used for ld.so cmdline arg lookups to reject PLT entries.  */
+#define ELF_MACHINE_JMP_SLOT   R_ALPHA_JMP_SLOT
+
 /* The alpha never uses Elf64_Rel relocations.  */
 #define ELF_MACHINE_NO_REL 1