diff options
author | Alan Modra <amodra@gmail.com> | 2004-06-19 02:21:14 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2004-06-19 02:21:14 +0000 |
commit | 375db92b3927ae6976bc1a5acda4b484f79b7e1b (patch) | |
tree | 5d1c89f20423428317c7e3c642083ee89e63e16a /include/elf | |
parent | 45153f5a69b833ec89dd61bb34dc59915ed176b4 (diff) | |
download | gdb-375db92b3927ae6976bc1a5acda4b484f79b7e1b.zip gdb-375db92b3927ae6976bc1a5acda4b484f79b7e1b.tar.gz gdb-375db92b3927ae6976bc1a5acda4b484f79b7e1b.tar.bz2 |
* common.h (ELF64_R_INFO): Warning fix.
Diffstat (limited to 'include/elf')
-rw-r--r-- | include/elf/ChangeLog | 4 | ||||
-rw-r--r-- | include/elf/common.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 7c247cd..1783b5b 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,7 @@ +2004-06-19 Alan Modra <amodra@bigpond.net.au> + + * common.h (ELF64_R_INFO): Warning fix. + 2004-06-14 Chris Demetriou <cgd@broadcom.com> * mips.h (R_MIPS_PC32): Add back (undoing removal on 2004-04-24), diff --git a/include/elf/common.h b/include/elf/common.h index dbcb5d2..7051ef7 100644 --- a/include/elf/common.h +++ b/include/elf/common.h @@ -1,6 +1,6 @@ /* ELF support for BFD. Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, - 2001, 2002, 2003 + 2001, 2002, 2003, 2004 Free Software Foundation, Inc. Written by Fred Fish @ Cygnus Support, from information published @@ -495,7 +495,7 @@ #define ELF64_R_SYM(i) ((i) >> 32) #define ELF64_R_TYPE(i) ((i) & 0xffffffff) -#define ELF64_R_INFO(s,t) (((bfd_vma) (s) << 32) + (bfd_vma) (t)) +#define ELF64_R_INFO(s,t) (((bfd_vma) (s) << 31 << 1) + (bfd_vma) (t)) /* Dynamic section tags. */ |