)]}'
{
  "commit": "758dd750bc6d752b290aefdd62048ca2ea5899d4",
  "tree": "3e7808b8069ea87866143d6d29d917a472ad0a5e",
  "parents": [
    "034235cebd790d4f9a1728043a175d7d7d9338b1"
  ],
  "author": {
    "name": "Alan Modra",
    "email": "amodra@gmail.com",
    "time": "Tue Oct 04 13:14:05 2022 +1030"
  },
  "committer": {
    "name": "Alan Modra",
    "email": "amodra@gmail.com",
    "time": "Tue Oct 04 18:42:54 2022 +1030"
  },
  "message": "Support objcopy changing compression to or from zstd\n\nCommit 2cac01e3ffff lacked support for objcopy changing compression\nstyle.  Add that support, which meant a rewrite of\nbfd_compress_section_contents.  In the process I\u0027ve fixed some memory\nleaks.\n\n\t* compress.c (bfd_is_section_compressed_info): Rename from\n\tbfd_is_section_compressed_with_header and add ch_type param\n\tto return compression header ch_type field.\n\tUpdate all callers.\n\t(decompress_section_contents): Remove buffer and size params.\n\tRewrite.  Update callers.\n\t(bfd_init_section_compress_status): Free contents on failure.\n\t(bfd_compress_section): Likewise.\n\t* elf.c (_bfd_elf_make_section_from_shdr): Support objcopy\n\tchanging between any of the three compression schemes.  Report\n\t\"unable to compress/decompress\" rather than \"unable to\n\tinitialize compress/decompress status\" on compress/decompress\n\tfailures.\n\t* bfd-in2.h: Regenerate.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5c80956c79c09492b27771a4429ca1264d837e64",
      "old_mode": 33188,
      "old_path": "bfd/bfd-in2.h",
      "new_id": "d9b49a8c820ba1e0e504f78e33281caf892079fc",
      "new_mode": 33188,
      "new_path": "bfd/bfd-in2.h"
    },
    {
      "type": "modify",
      "old_id": "0e75b6870137d3eeab71837cf43d5a5ddd47b720",
      "old_mode": 33188,
      "old_path": "bfd/compress.c",
      "new_id": "364df14142bfb414274e5e51ca2d29c8d05af2c0",
      "new_mode": 33188,
      "new_path": "bfd/compress.c"
    },
    {
      "type": "modify",
      "old_id": "420b524aae8fede59af2da8a9e6a81f962513dd7",
      "old_mode": 33188,
      "old_path": "bfd/elf.c",
      "new_id": "fe00e0f91899acfa3c43e6780935604183698b2d",
      "new_mode": 33188,
      "new_path": "bfd/elf.c"
    }
  ]
}
