mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-31 01:45:52 +08:00
1999-08-08 Mumit Khan <khan@xraylith.wisc.edu>
* section.c (SEC_SHARED): Define. * coffcode.h (sec_to_styp_flags): Handle SEC_SHARED. (styp_to_sec_flags): Likewise. * peicode.h (coff_swap_scnhdr_out): Likewise. * bfd-in2.h: Rebuild. 1999-08-08 Ian Lance Taylor <ian@zembu.com> * coffcode.h (coff_classify_symbol): Comment out part of 1999-08-05 change which breaks cygwin DLLs.
This commit is contained in:
@ -1239,6 +1239,8 @@ coff_swap_scnhdr_out (abfd, in, out)
|
||||
flags |= IMAGE_SCN_MEM_READ;
|
||||
if (! (flags & SEC_READONLY))
|
||||
flags |= IMAGE_SCN_MEM_WRITE;
|
||||
if (flags & SEC_SHARED)
|
||||
flags |= IMAGE_SCN_MEM_SHARED;
|
||||
}
|
||||
|
||||
bfd_h_put_32(abfd, flags, (bfd_byte *) scnhdr_ext->s_flags);
|
||||
|
Reference in New Issue
Block a user