diff mbox series

powerpc: Delete unneeded ELF_MACHINE_BEFORE_RTLD_RELOC

Message ID 20210924075000.2614645-1-maskray@google.com
State New
Headers show
Series powerpc: Delete unneeded ELF_MACHINE_BEFORE_RTLD_RELOC | expand

Commit Message

Fangrui Song Sept. 24, 2021, 7:50 a.m. UTC
---
 sysdeps/powerpc/powerpc32/dl-machine.h | 2 --
 sysdeps/powerpc/powerpc64/dl-machine.h | 2 --
 2 files changed, 4 deletions(-)

Comments

Raphael M Zinsly Sept. 27, 2021, 1:12 p.m. UTC | #1
Hi,

LGTM.

Reviewed-by: Raphael M Zinsly <rzinsly@linux.ibm.com>

On 24/09/2021 04:50, Fangrui Song via Libc-alpha wrote:
> ---
>   sysdeps/powerpc/powerpc32/dl-machine.h | 2 --
>   sysdeps/powerpc/powerpc64/dl-machine.h | 2 --
>   2 files changed, 4 deletions(-)
> 
> diff --git a/sysdeps/powerpc/powerpc32/dl-machine.h b/sysdeps/powerpc/powerpc32/dl-machine.h
> index ced3a7b659..b93cf486b6 100644
> --- a/sysdeps/powerpc/powerpc32/dl-machine.h
> +++ b/sysdeps/powerpc/powerpc32/dl-machine.h
> @@ -109,8 +109,6 @@ elf_machine_load_address (void)
>     return runtime_dynamic - elf_machine_dynamic ();
>   }
> 
> -#define ELF_MACHINE_BEFORE_RTLD_RELOC(dynamic_info) /* nothing */
> -
>   /* The PLT uses Elf32_Rela relocs.  */
>   #define elf_machine_relplt elf_machine_rela
> 
> diff --git a/sysdeps/powerpc/powerpc64/dl-machine.h b/sysdeps/powerpc/powerpc64/dl-machine.h
> index b90f407119..b3f3352bcf 100644
> --- a/sysdeps/powerpc/powerpc64/dl-machine.h
> +++ b/sysdeps/powerpc/powerpc64/dl-machine.h
> @@ -116,8 +116,6 @@ elf_machine_dynamic (void)
>     return runtime_dynamic - elf_machine_load_address() ;
>   }
> 
> -#define ELF_MACHINE_BEFORE_RTLD_RELOC(dynamic_info) /* nothing */
> -
>   /* The PLT uses Elf64_Rela relocs.  */
>   #define elf_machine_relplt elf_machine_rela
>
diff mbox series

Patch

diff --git a/sysdeps/powerpc/powerpc32/dl-machine.h b/sysdeps/powerpc/powerpc32/dl-machine.h
index ced3a7b659..b93cf486b6 100644
--- a/sysdeps/powerpc/powerpc32/dl-machine.h
+++ b/sysdeps/powerpc/powerpc32/dl-machine.h
@@ -109,8 +109,6 @@  elf_machine_load_address (void)
   return runtime_dynamic - elf_machine_dynamic ();
 }
 
-#define ELF_MACHINE_BEFORE_RTLD_RELOC(dynamic_info) /* nothing */
-
 /* The PLT uses Elf32_Rela relocs.  */
 #define elf_machine_relplt elf_machine_rela
 
diff --git a/sysdeps/powerpc/powerpc64/dl-machine.h b/sysdeps/powerpc/powerpc64/dl-machine.h
index b90f407119..b3f3352bcf 100644
--- a/sysdeps/powerpc/powerpc64/dl-machine.h
+++ b/sysdeps/powerpc/powerpc64/dl-machine.h
@@ -116,8 +116,6 @@  elf_machine_dynamic (void)
   return runtime_dynamic - elf_machine_load_address() ;
 }
 
-#define ELF_MACHINE_BEFORE_RTLD_RELOC(dynamic_info) /* nothing */
-
 /* The PLT uses Elf64_Rela relocs.  */
 #define elf_machine_relplt elf_machine_rela