pe/coff - add support for base64 encoded long section names
authorTristan Gingold <tgingold@free.fr>
Wed, 31 May 2023 10:20:55 +0000 (11:20 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 31 May 2023 10:20:55 +0000 (11:20 +0100)
commit768d1d879be2d134e049521f28d4d5e03b69bafc
tree0f3eb8bab0eac4aa5909bef7aaf590ab138c4c25
parenta15891aaea006d06066573449efbda353dd2863e
pe/coff - add support for base64 encoded long section names

  PR 30444
  * coffcode.h (coff_write_object_contents): Handle base64 encoding on PE.  Also check for too large string table.
  * coffgen.c (extract_long_section_name): New function extracted from ... (make_a_section_from_file): ... here.  Add support for base64 long section names. (decode_base64): New function.
bfd/ChangeLog
bfd/coffcode.h
bfd/coffgen.c