mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-21 01:12:32 +08:00
1999-06-26 Mumit Khan <khan@xraylith.wisc.edu>
* peicode.h (coff_swap_scnhdr_out): Mark non readonly BFD sections as writable PE sections.
This commit is contained in:
parent
a340d27090
commit
254f5c45f5
@ -1,3 +1,8 @@
|
||||
1999-06-26 Mumit Khan <khan@xraylith.wisc.edu>
|
||||
|
||||
* peicode.h (coff_swap_scnhdr_out): Mark non readonly BFD sections
|
||||
as writable PE sections.
|
||||
|
||||
1999-06-26 David Mosberger <davidm@hpl.hp.com>
|
||||
|
||||
* dwarf2.c (struct arange): New type.
|
||||
|
@ -1235,7 +1235,11 @@ coff_swap_scnhdr_out (abfd, in, out)
|
||||
else if (strcmp (scnhdr_int->s_name, ".rsrc") == 0)
|
||||
flags |= IMAGE_SCN_MEM_READ | IMAGE_SCN_MEM_SHARED;
|
||||
else
|
||||
flags |= IMAGE_SCN_MEM_READ;
|
||||
{
|
||||
flags |= IMAGE_SCN_MEM_READ;
|
||||
if (! (flags & SEC_READONLY))
|
||||
flags |= IMAGE_SCN_MEM_WRITE;
|
||||
}
|
||||
|
||||
bfd_h_put_32(abfd, flags, (bfd_byte *) scnhdr_ext->s_flags);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user