diff options
author | Ulrich Drepper <drepper@redhat.com> | 1997-12-09 23:47:37 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1997-12-09 23:47:37 +0000 |
commit | 72345654232832ba9bd2c3c4374a1d9d5fc49e0d (patch) | |
tree | 8885f1eb9421f72987bccff7f929cac0daf07289 | |
parent | 3bfd87851af1166be6d1b5cf099b3709131de553 (diff) |
(_dl_runtime_resolve): Care for prefix.
(_start): Likewise.
-rw-r--r-- | sysdeps/alpha/dl-machine.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sysdeps/alpha/dl-machine.h b/sysdeps/alpha/dl-machine.h index 04c2595963..49e6997082 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 |