Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'include/elf/sparc.h')
-rw-r--r--include/elf/sparc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/elf/sparc.h b/include/elf/sparc.h
index ad3e1e5e8..9b333197b 100644
--- a/include/elf/sparc.h
+++ b/include/elf/sparc.h
@@ -139,7 +139,7 @@ END_RELOC_NUMBERS
/* Relocation macros. */
#define ELF64_R_TYPE_DATA(info) \
- (((bfd_signed_vma)((info) >> 8) ^ 0x800000) - 0x800000)
+ (((bfd_signed_vma)(ELF64_R_TYPE(info) >> 8) ^ 0x800000) - 0x800000)
#define ELF64_R_TYPE_ID(info) \
((info) & 0xff)
#define ELF64_R_TYPE_INFO(data, type) \