From 48ef3c652bf5868bc2a14771ef0604eea66ed44b Mon Sep 17 00:00:00 2001 From: Doug Rabson Date: Sat, 12 Sep 1998 08:36:09 +0000 Subject: [PATCH] Provide the correct definition of ELF64_R_INFO. --- sys/sys/elf64.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/sys/elf64.h b/sys/sys/elf64.h index 38ff648a1ecf..888488bb0385 100644 --- a/sys/sys/elf64.h +++ b/sys/sys/elf64.h @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: elf64.h,v 1.4 1998/08/16 03:03:38 jdp Exp $ + * $Id: elf64.h,v 1.5 1998/09/05 23:07:59 jb Exp $ */ #ifndef _SYS_ELF64_H_ @@ -131,7 +131,7 @@ typedef struct { #define ELF64_R_TYPE(info) ((unsigned char)(info)) /* Macro for constructing r_info from field values. */ -#define ELF64_R_INFO(sym, type) (((sym) << 8) + (unsigned char)(type)) +#define ELF64_R_INFO(sym, type) (((sym) << 32) + (unsigned char)(type)) /* * Symbol table entries.