From: Ulrich Drepper Date: Tue, 9 Dec 1997 23:47:37 +0000 (+0000) Subject: (_dl_runtime_resolve): Care for prefix. X-Git-Tag: cvs/glibc-2_0_6pre3~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72345654232832ba9bd2c3c4374a1d9d5fc49e0d;p=thirdparty%2Fglibc.git (_dl_runtime_resolve): Care for prefix. (_start): Likewise. --- diff --git a/sysdeps/alpha/dl-machine.h b/sysdeps/alpha/dl-machine.h index 04c2595963e..49e69970822 100644 --- a/sysdeps/alpha/dl-machine.h +++ b/sysdeps/alpha/dl-machine.h @@ -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