aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorDavid MacKenzie <djm@cygnus>1994-03-17 00:45:26 +0000
committerDavid MacKenzie <djm@cygnus>1994-03-17 00:45:26 +0000
commitae6710bc9822e7abe7a51f594e6d05ecc5f3578b (patch)
treea936942272c14f3d12df7482c0d3f76bdcc1dd92 /bfd
parent614a3211d4dbf68c53974b9ad57a5c152cf991f2 (diff)
downloadgdb-ae6710bc9822e7abe7a51f594e6d05ecc5f3578b.zip
gdb-ae6710bc9822e7abe7a51f594e6d05ecc5f3578b.tar.gz
gdb-ae6710bc9822e7abe7a51f594e6d05ecc5f3578b.tar.bz2
* netbsd386.c (N_SET_FLAGS): Don't nuke the machine id field.
From sukes@glue.umd.edu (Tasuki Hirata).
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog11
-rw-r--r--bfd/netbsd386.c3
2 files changed, 14 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index db44c57..618f7e6 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,14 @@
+Wed Mar 16 16:43:33 1994 David J. Mackenzie (djm@thepub.cygnus.com)
+
+ * netbsd386.c (N_SET_FLAGS): Don't nuke the machine id field.
+ From sukes@glue.umd.edu (Tasuki Hirata).
+
+Wed Mar 16 07:55:54 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
+
+ * aoutf1.h (4 places): Use a simple #if on ARCH_SIZE, rather than
+ all that convoluted stuff with NAME, CAT3, etc. The convoluted
+ stuff broke for SunOS4 /bin/cc (due to DEFUN elimination, I guess).
+
Wed Mar 16 00:02:05 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* som.c (som_prep_for_fixups): Detect section symbols based
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"