diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-06-26 15:17:40 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-06-26 22:30:40 +0530 |
commit | 4cf5b6d0d7c8dd40526375f384133262ed7b2ccc (patch) | |
tree | 0e2b3ea0a605a918b4237d887e072ecce12a34f9 /sysdeps/ia64 | |
parent | 2aac0a862334f3370a7e0b6bc7a53cf0ab847182 (diff) | |
download | glibc-4cf5b6d0d7c8dd40526375f384133262ed7b2ccc.tar glibc-4cf5b6d0d7c8dd40526375f384133262ed7b2ccc.tar.gz glibc-4cf5b6d0d7c8dd40526375f384133262ed7b2ccc.tar.bz2 glibc-4cf5b6d0d7c8dd40526375f384133262ed7b2ccc.zip |
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.
Diffstat (limited to 'sysdeps/ia64')
-rw-r--r-- | sysdeps/ia64/dl-machine.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/ia64/dl-machine.h b/sysdeps/ia64/dl-machine.h index 853e6fd349..7d3be0487f 100644 --- a/sysdeps/ia64/dl-machine.h +++ b/sysdeps/ia64/dl-machine.h @@ -320,6 +320,7 @@ elf_machine_runtime_setup (struct link_map *l, int lazy, int profile) /* According to the IA-64 specific documentation, Rela is always used. */ #define ELF_MACHINE_NO_REL 1 +#define ELF_MACHINE_NO_RELA 0 /* Return the address of the entry point. */ #define ELF_MACHINE_START_ADDRESS(map, start) \ |