Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys fix ELFxx_M_SIZE macro.
details: https://anonhg.NetBSD.org/src/rev/d51ad5d35583
branches: trunk
changeset: 765431:d51ad5d35583
user: nonaka <nonaka%NetBSD.org@localhost>
date: Thu May 26 16:42:15 2011 +0000
description:
fix ELFxx_M_SIZE macro.
diffstat:
sys/sys/exec_elf.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 433c9e98693b -r d51ad5d35583 sys/sys/exec_elf.h
--- a/sys/sys/exec_elf.h Thu May 26 16:40:38 2011 +0000
+++ b/sys/sys/exec_elf.h Thu May 26 16:42:15 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: exec_elf.h,v 1.111 2011/05/26 16:40:38 nonaka Exp $ */
+/* $NetBSD: exec_elf.h,v 1.112 2011/05/26 16:42:15 nonaka Exp $ */
/*-
* Copyright (c) 1994 The NetBSD Foundation, Inc.
@@ -576,7 +576,7 @@
} Elf32_Move;
#define ELF32_M_SYM(info) ((info) >> 8)
-#define ELF32_M_SIZE(info) (info) & 0xff)
+#define ELF32_M_SIZE(info) ((info) & 0xff)
#define ELF32_M_INFO(sym, size) (((sym) << 8) + (unsigned char)(size))
typedef struct {
@@ -588,7 +588,7 @@
} Elf64_Move;
#define ELF64_M_SYM(info) ((info) >> 8)
-#define ELF64_M_SIZE(info) (info) & 0xff)
+#define ELF64_M_SIZE(info) ((info) & 0xff)
#define ELF64_M_INFO(sym, size) (((sym) << 8) + (unsigned char)(size))
/*
Home |
Main Index |
Thread Index |
Old Index