diff options
author | Steve Chamberlain <steve@cygnus> | 1991-07-19 15:17:55 +0000 |
---|---|---|
committer | Steve Chamberlain <steve@cygnus> | 1991-07-19 15:17:55 +0000 |
commit | 2f8d9c1c089eeeb1c21391e8e5f91084735c9592 (patch) | |
tree | be5d02ddec43fbf235e461b6db83d5facab5d630 /bfd | |
parent | 81f3996f75858c677e9614c7b62545871c77dc00 (diff) | |
download | gdb-2f8d9c1c089eeeb1c21391e8e5f91084735c9592.zip gdb-2f8d9c1c089eeeb1c21391e8e5f91084735c9592.tar.gz gdb-2f8d9c1c089eeeb1c21391e8e5f91084735c9592.tar.bz2 |
* newsos3.c, targets.c, coffcode.h: new patches from David
Wood
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/coffcode.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h index f1d1928..d020ee8 100644 --- a/bfd/coffcode.h +++ b/bfd/coffcode.h @@ -737,14 +737,12 @@ DEFUN(swap_scnhdr_out,(abfd, scnhdr_int, scnhdr_ext), PUTWORD(abfd, scnhdr_int->s_scnptr, (bfd_byte *) scnhdr_ext->s_scnptr); PUTWORD(abfd, scnhdr_int->s_relptr, (bfd_byte *) scnhdr_ext->s_relptr); PUTWORD(abfd, scnhdr_int->s_lnnoptr, (bfd_byte *) scnhdr_ext->s_lnnoptr); - + PUTWORD(abfd, scnhdr_int->s_flags, (bfd_byte *) scnhdr_ext->s_flags); #if defined(M88) PUTWORD(abfd, scnhdr_int->s_nlnno, (bfd_byte *) scnhdr_ext->s_nlnno); - PUTWORD(abfd, scnhdr_int->s_flags, (bfd_byte *) scnhdr_ext->s_flags); PUTWORD(abfd, scnhdr_int->s_nreloc, (bfd_byte *) scnhdr_ext->s_nreloc); #else PUTHALF(abfd, scnhdr_int->s_nlnno, (bfd_byte *) scnhdr_ext->s_nlnno); - PUTHALF(abfd, scnhdr_int->s_flags, (bfd_byte *) scnhdr_ext->s_flags); PUTHALF(abfd, scnhdr_int->s_nreloc, (bfd_byte *) scnhdr_ext->s_nreloc); #endif @@ -2194,7 +2192,7 @@ DEFUN(coff_write_object_contents,(abfd), unsigned short flags = 0; coff_set_flags(abfd, &magic, &flags); internal_f.f_magic = magic; - internal_f.f_flags = flags; + internal_f.f_flags |= flags; /* ...and the "opt"hdr... */ #ifdef A29K |