]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Make the .rsrc section read only.
authorNick Clifton <nickc@redhat.com>
Mon, 17 Apr 2023 16:19:21 +0000 (17:19 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 17 Apr 2023 16:19:21 +0000 (17:19 +0100)
commitc53c6186c8d69586a71a7f8284a9ed7fa8cb207f
tree71a40fd46545428320c76b8f055d27e3853d419e
parentfb12bc1e8e7c5246e4eabcebdb4644c43bc7e6b9
Make the .rsrc section read only.

  PR 30142
  * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Do not force the .rsrc section to be writeable.
  * rescoff.c (write_coff_file): Add the SEC_READONLY flag to the .rsrc section.
bfd/ChangeLog
bfd/peXXigen.c
binutils/ChangeLog
binutils/rescoff.c