diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-03-10 06:42:38 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-03-10 06:42:38 +0000 |
commit | f4f8cd2c93890d489f070415c19221fc54ddaedf (patch) | |
tree | 229dd80ae3ade4352ee912ba5d14c5675badbeda /sysdeps/s390 | |
parent | 719404ef2e29b2240da9c63c525a9493f9bf764a (diff) | |
download | glibc-f4f8cd2c93890d489f070415c19221fc54ddaedf.zip glibc-f4f8cd2c93890d489f070415c19221fc54ddaedf.tar.gz glibc-f4f8cd2c93890d489f070415c19221fc54ddaedf.tar.bz2 |
(elf_machine_pltrel_p): Removed, it's not needed.
Diffstat (limited to 'sysdeps/s390')
-rw-r--r-- | sysdeps/s390/dl-machine.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sysdeps/s390/dl-machine.h b/sysdeps/s390/dl-machine.h index 16892cd..0f0ec8f 100644 --- a/sysdeps/s390/dl-machine.h +++ b/sysdeps/s390/dl-machine.h @@ -223,9 +223,6 @@ _dl_runtime_profile:\n\ "); #endif -/* The PLT uses Elf32_Rela relocs. */ -#define elf_machine_relplt elf_machine_rela - /* Mask identifying addresses reserved for the user program, where the dynamic linker should not map anything. */ #define ELF_MACHINE_USER_ADDRESS_MASK 0xf8000000UL @@ -306,10 +303,6 @@ _dl_start_user:\n\ #define RTLD_START_SPECIAL_INIT /* nothing */ #endif -/* Nonzero iff TYPE describes relocation of a PLT entry, so - PLT entries should not be allowed to define the value. */ -#define elf_machine_pltrel_p(type) ((type) == R_390_JMP_SLOT) - /* Nonzero iff TYPE should not be allowed to resolve to one of the main executable's symbols, as for a COPY reloc. */ #define elf_machine_lookup_noexec_p(type) ((type) == R_390_COPY) @@ -432,7 +425,7 @@ elf_machine_rela (struct link_map *map, const Elf32_Rela *reloc, } case R_390_PC32: - *reloc_addr = value +reloc->r_addend - (Elf32_Addr) reloc_addr; + *reloc_addr = value + reloc->r_addend - (Elf32_Addr) reloc_addr; break; case R_390_NONE: break; |