summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/ld/m68k/md.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/ld/m68k/md.h')
-rw-r--r--gnu/usr.bin/ld/m68k/md.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/gnu/usr.bin/ld/m68k/md.h b/gnu/usr.bin/ld/m68k/md.h
index 768e2311d91..f1a7585e5fb 100644
--- a/gnu/usr.bin/ld/m68k/md.h
+++ b/gnu/usr.bin/ld/m68k/md.h
@@ -1,4 +1,4 @@
-/* * $OpenBSD: md.h,v 1.3 2000/02/01 21:01:39 espie Exp $*/
+/* * $OpenBSD: md.h,v 1.4 2002/07/15 21:05:57 marc Exp $*/
/*
* - m68k dependent definitions
*/
@@ -99,13 +99,13 @@ typedef struct jmpslot {
#define get_byte(p) ( ((unsigned char *)(p))[0] )
#define get_short(p) ( ( ((unsigned char *)(p))[0] << 8) | \
- ( ((unsigned char *)(p))[1] ) \
+ ( ((unsigned char *)(p))[1] ) \
)
#define get_long(p) ( ( ((unsigned char *)(p))[0] << 24) | \
( ((unsigned char *)(p))[1] << 16) | \
( ((unsigned char *)(p))[2] << 8 ) | \
- ( ((unsigned char *)(p))[3] ) \
+ ( ((unsigned char *)(p))[3] ) \
)
#define put_byte(p, v) { ((unsigned char *)(p))[0] = ((unsigned long)(v)); }
@@ -113,7 +113,7 @@ typedef struct jmpslot {
#define put_short(p, v) { ((unsigned char *)(p))[0] = \
((((unsigned long)(v)) >> 8) & 0xff); \
((unsigned char *)(p))[1] = \
- ((((unsigned long)(v)) ) & 0xff); }
+ ((((unsigned long)(v)) ) & 0xff); }
#define put_long(p, v) { ((unsigned char *)(p))[0] = \
((((unsigned long)(v)) >> 24) & 0xff); \
@@ -122,7 +122,7 @@ typedef struct jmpslot {
((unsigned char *)(p))[2] = \
((((unsigned long)(v)) >> 8) & 0xff); \
((unsigned char *)(p))[3] = \
- ((((unsigned long)(v)) ) & 0xff); }
+ ((((unsigned long)(v)) ) & 0xff); }
#ifdef NEED_SWAP
@@ -154,7 +154,7 @@ void md_swapout_jmpslot __P((jmpslot_t *, int));
#define md_swap_short(x) ( (((x) >> 8) & 0xff) | (((x) & 0xff) << 8) )
-#define md_swap_long(x) ( (((x) >> 24) & 0xff ) | (((x) >> 8 ) & 0xff00 ) | \
+#define md_swap_long(x) ( (((x) >> 24) & 0xff ) | (((x) >> 8 ) & 0xff00 ) | \
(((x) << 8 ) & 0xff0000) | (((x) << 24) & 0xff000000))
#else /* We need not swap, but must pay attention to alignment: */