)]}'
{
  "commit": "6ca01b0bdd59b61cf94ed151c85f7dee9d240158",
  "tree": "a4e17e4be2747e51cf3cd46878517a16eeb31610",
  "parents": [
    "394a3f4f8dce6c508e289575359268ee793d59c9"
  ],
  "author": {
    "name": "Alan Modra",
    "email": "amodra@gmail.com",
    "time": "Thu Jan 16 14:51:56 2025 +1030"
  },
  "committer": {
    "name": "Alan Modra",
    "email": "amodra@gmail.com",
    "time": "Thu Jan 16 19:57:19 2025 +1030"
  },
  "message": "binary outsymbols\n\nThis fixes leaks of outsymbols for various targets that use the\ngeneric linker.  The key fix here is to not generate output symbols\nfor targets that won\u0027t ever write symbols, and of course to free\noutsymbols after they\u0027ve been written in targets that do.  Target\nvector object_flags and section_flags are updated to better reflect\ntarget capabilities, in particular not setting HAS_SYMS or SEC_RELOC\nwhen the target does not support symbols or relocs.\n\n\t* binary.c (binary_vec): Update section_flags.\n\t* linker.c (generic_add_output_symbol): Don\u0027t add to\n\toutsymbols if !HAS_SYMS.\n\t* srec.c (srec_write_symbols): Free outsymbols on return.\n\t(srec_vec): Update object_flags and section_flags.\n\t(symbolsrec_vec): Likewise.\n\t* tekhex.c (tekhex_write_object_contents): Free outsymbols on\n\treturn.\n\t(tekhex_vec): Update object_flags and section_flags.\n\t* verilog.c (verilog_vec): Likewise.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6a7a77b2401f76d45055ac0f43c32974e53ba822",
      "old_mode": 33188,
      "old_path": "bfd/binary.c",
      "new_id": "7fe47b590de1dadd49a770ee48559fbf36781f6c",
      "new_mode": 33188,
      "new_path": "bfd/binary.c"
    },
    {
      "type": "modify",
      "old_id": "7cf8611547d48c65c797f810aab313244f390859",
      "old_mode": 33188,
      "old_path": "bfd/linker.c",
      "new_id": "8b3579dc6586fdac894d7172d094284d2eaebc2a",
      "new_mode": 33188,
      "new_path": "bfd/linker.c"
    },
    {
      "type": "modify",
      "old_id": "e1d39e521fc7d9324672c719b966b32dddd645ab",
      "old_mode": 33188,
      "old_path": "bfd/srec.c",
      "new_id": "a7ccf232531302c09c3d1f38c942c6030dee3c09",
      "new_mode": 33188,
      "new_path": "bfd/srec.c"
    },
    {
      "type": "modify",
      "old_id": "01feeef8d4c49b1e5f9fd11128406a60db9479a0",
      "old_mode": 33188,
      "old_path": "bfd/tekhex.c",
      "new_id": "ef2bb25fe46c35a5f6e35b85d43135585f991d7b",
      "new_mode": 33188,
      "new_path": "bfd/tekhex.c"
    },
    {
      "type": "modify",
      "old_id": "4930b858ba1a82c4937692d50ba10e210200a3c3",
      "old_mode": 33188,
      "old_path": "bfd/verilog.c",
      "new_id": "70cc7c69412ec23ce562ad228a947e8be458a82e",
      "new_mode": 33188,
      "new_path": "bfd/verilog.c"
    }
  ]
}
