|
|
08c3a6 |
commit 4b5b8a1cdf39bed02b8b973717796eccde455ed6
|
|
|
08c3a6 |
Author: Fangrui Song <maskray@google.com>
|
|
|
08c3a6 |
Date: Mon Sep 27 10:12:50 2021 -0700
|
|
|
08c3a6 |
|
|
|
08c3a6 |
powerpc: Delete unneeded ELF_MACHINE_BEFORE_RTLD_RELOC
|
|
|
08c3a6 |
|
|
|
08c3a6 |
Reviewed-by: Raphael M Zinsly <rzinsly@linux.ibm.com>
|
|
|
08c3a6 |
(cherry picked from commit 8e2557a2b85b2eb0ed50a9016a4ffc6b859b97e6)
|
|
|
08c3a6 |
|
|
|
08c3a6 |
diff --git a/sysdeps/powerpc/powerpc32/dl-machine.h b/sysdeps/powerpc/powerpc32/dl-machine.h
|
|
|
08c3a6 |
index ced3a7b659cfcff1..b93cf486b6cda5fd 100644
|
|
|
08c3a6 |
--- a/sysdeps/powerpc/powerpc32/dl-machine.h
|
|
|
08c3a6 |
+++ b/sysdeps/powerpc/powerpc32/dl-machine.h
|
|
|
08c3a6 |
@@ -109,8 +109,6 @@ elf_machine_load_address (void)
|
|
|
08c3a6 |
return runtime_dynamic - elf_machine_dynamic ();
|
|
|
08c3a6 |
}
|
|
|
08c3a6 |
|
|
|
08c3a6 |
-#define ELF_MACHINE_BEFORE_RTLD_RELOC(dynamic_info) /* nothing */
|
|
|
08c3a6 |
-
|
|
|
08c3a6 |
/* The PLT uses Elf32_Rela relocs. */
|
|
|
08c3a6 |
#define elf_machine_relplt elf_machine_rela
|
|
|
08c3a6 |
|
|
|
08c3a6 |
diff --git a/sysdeps/powerpc/powerpc64/dl-machine.h b/sysdeps/powerpc/powerpc64/dl-machine.h
|
|
|
08c3a6 |
index b90f407119efd431..b3f3352bcf5a52b0 100644
|
|
|
08c3a6 |
--- a/sysdeps/powerpc/powerpc64/dl-machine.h
|
|
|
08c3a6 |
+++ b/sysdeps/powerpc/powerpc64/dl-machine.h
|
|
|
08c3a6 |
@@ -116,8 +116,6 @@ elf_machine_dynamic (void)
|
|
|
08c3a6 |
return runtime_dynamic - elf_machine_load_address() ;
|
|
|
08c3a6 |
}
|
|
|
08c3a6 |
|
|
|
08c3a6 |
-#define ELF_MACHINE_BEFORE_RTLD_RELOC(dynamic_info) /* nothing */
|
|
|
08c3a6 |
-
|
|
|
08c3a6 |
/* The PLT uses Elf64_Rela relocs. */
|
|
|
08c3a6 |
#define elf_machine_relplt elf_machine_rela
|
|
|
08c3a6 |
|