From 4cf5b6d0d7c8dd40526375f384133262ed7b2ccc Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Thu, 26 Jun 2014 15:17:40 +0530 Subject: Fix Wundef warning for ELF_MACHINE_NO_RELA This patch defines ELF_MACHINE_NO_RELA on all architectures. Tested only on x86_64 to verify that the sources before and after are identical except for two instructions that pass the current line number in dl-machine.h to assert_fail. --- sysdeps/x86_64/dl-machine.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sysdeps/x86_64') diff --git a/sysdeps/x86_64/dl-machine.h b/sysdeps/x86_64/dl-machine.h index 8df04a96ca..f9ee1f79b6 100644 --- a/sysdeps/x86_64/dl-machine.h +++ b/sysdeps/x86_64/dl-machine.h @@ -189,6 +189,7 @@ _dl_start_user:\n\ /* The x86-64 never uses Elf64_Rel/Elf32_Rel relocations. */ #define ELF_MACHINE_NO_REL 1 +#define ELF_MACHINE_NO_RELA 0 /* We define an initialization function. This is called very early in _dl_sysdep_start. */ -- cgit 1.4.1