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/mips/dl-machine.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sysdeps/mips') diff --git a/sysdeps/mips/dl-machine.h b/sysdeps/mips/dl-machine.h index b5bf4ad..eef0384 100644 --- a/sysdeps/mips/dl-machine.h +++ b/sysdeps/mips/dl-machine.h @@ -60,6 +60,8 @@ | (((type) == R_MIPS_COPY) * ELF_RTYPE_CLASS_COPY)) #define ELF_MACHINE_PLT_REL 1 +#define ELF_MACHINE_NO_REL 0 +#define ELF_MACHINE_NO_RELA 0 /* Translate a processor specific dynamic tag to the index in l_info array. */ -- cgit v1.1