comparison dynodump/_dynodump.h @ 2:ac2d302a0011 r19-15b2

Import from CVS: tag r19-15b2
author cvs
date Mon, 13 Aug 2007 08:46:35 +0200
parents 376386a54a3c
children 131b0175ea99
comparison
equal deleted inserted replaced
1:c0c6a60d29db 2:ac2d302a0011
30 * Sun Microsystems, Inc. 30 * Sun Microsystems, Inc.
31 * 2550 Garcia Avenue 31 * 2550 Garcia Avenue
32 * Mountain View, California 94043 32 * Mountain View, California 94043
33 */ 33 */
34 34
35 #pragma ident "@(#) $Id: _dynodump.h,v 1.1.1.1 1996/12/18 03:37:22 steve Exp $ - SMI" 35 #pragma ident "@(#) $Id: _dynodump.h,v 1.1.1.2 1996/12/18 03:48:00 steve Exp $ - SMI"
36 36
37 #ifndef _DYNODUMP_DOT_H 37 #ifndef _DYNODUMP_DOT_H
38 #define _DYNODUMP_DOT_H 38 #define _DYNODUMP_DOT_H
39 39
40 #include <libelf.h> 40 #include <libelf.h>
41 #include "machdep.h" 41 #include "machdep.h"
42 42
43 /* General rounding macro */ 43 /* General rounding macro */
44 #define S_ROUND(x, a) ((int)(x) + (((int)(a) ? (int)(a) : 1) - 1) & \ 44 #define S_ROUND(x, a) (((int)(x) + (((int)(a) ? (int)(a) : 1) - 1)) & \
45 ~(((int)(a) ? (int)(a) : 1) - 1)) 45 ~(((int)(a) ? (int)(a) : 1) - 1))
46 46
47 /* 47 /*
48 * Define a cache structure that is used to retain all elf section information. 48 * Define a cache structure that is used to retain all elf section information.
49 */ 49 */