aboutsummaryrefslogtreecommitdiff
path: root/bfd/netbsd386.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/netbsd386.c')
-rw-r--r--bfd/netbsd386.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/netbsd386.c b/bfd/netbsd386.c
index 5682df3..7430b5e 100644
--- a/bfd/netbsd386.c
+++ b/bfd/netbsd386.c
@@ -53,6 +53,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
(((exec).a_info & ~(0x3ff<<16)) | (((machtype)&0xff) << 16)))
#define N_SET_FLAGS(exec, flags) \
((exec).a_info = ((exec).a_info & 0xffff) | (flags & 0xffff))
+#define N_SET_FLAGS(exec, flags) \
+ ((exec).a_info = \
+ (((exec).a_info & ~(0x3f<<26)) | (((flags)&0x3f) << 26)))
#include "bfd.h"
#include "sysdep.h"