)]}'
{
  "commit": "8c41c5e09dbfe74e71a19c57e14472ba17ccd7ef",
  "tree": "698fa33c9879da38278db9eee30267580c2d394f",
  "parents": [
    "6b7bbb694201d7450258080d4fa9b759c27be50e"
  ],
  "author": {
    "name": "Jan Beulich",
    "email": "jbeulich@suse.com",
    "time": "Fri Oct 10 16:02:50 2025 +0200"
  },
  "committer": {
    "name": "Jan Beulich",
    "email": "jbeulich@suse.com",
    "time": "Fri Oct 10 16:02:50 2025 +0200"
  },
  "message": "bfd/PE: respect SEC_ALLOC when deciding whether to force IMAGE_SCN_MEM_DISCARDABLE\n\nWhile in the common case sections like .reloc don\u0027t need to be accessed\nby a binary (that\u0027s the job of the loader), there are rare cases where\nthe situation is different. Unconditionally forcing the discardable flag\nis therefore unhelpful. Avoid doing so when SEC_ALLOC is set, which\nwould in particular be the case when .reloc isn\u0027t (solely) linker-\ngenerated.\n\nWhile adjusting the comment, drop the wrong (stale?) following sentence:\n.rsrc, as per its table entry, doesn\u0027t need to be writable. And\ncommenting on it wanting to be readable would then need to be repeated\nfor all other sections as well.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "938a29d7e3ade036239dd4e1191a5e634037eb2f",
      "old_mode": 33188,
      "old_path": "bfd/peXXigen.c",
      "new_id": "ac818ee383ca6769030baf6f3c670c6bf777ea6e",
      "new_mode": 33188,
      "new_path": "bfd/peXXigen.c"
    },
    {
      "type": "modify",
      "old_id": "8682789d209a9288e19f7c844fc733d21b3076e1",
      "old_mode": 33188,
      "old_path": "gas/testsuite/gas/pe/pe.exp",
      "new_id": "e12723972e77f0e3797a7caa46ac9d5342981712",
      "new_mode": 33188,
      "new_path": "gas/testsuite/gas/pe/pe.exp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "444590c3a354001a62b9e91118f71547956a3c53",
      "new_mode": 33188,
      "new_path": "gas/testsuite/gas/pe/reloc.d"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "ddcfeba1d782f49fbcf568948638490c49a27b3f",
      "new_mode": 33188,
      "new_path": "gas/testsuite/gas/pe/reloc.s"
    },
    {
      "type": "modify",
      "old_id": "2e8cd172820c17f8a1a819efdbac537677d6bd6d",
      "old_mode": 33188,
      "old_path": "ld/testsuite/ld-pe/pe.exp",
      "new_id": "d30a5627183d8e0bd4ba5b7f53fdabec3371a638",
      "new_mode": 33188,
      "new_path": "ld/testsuite/ld-pe/pe.exp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "ddcfeba1d782f49fbcf568948638490c49a27b3f",
      "new_mode": 33188,
      "new_path": "ld/testsuite/ld-pe/reloc2.s"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "11fe9b69e7e4ba0f182fe2d4c0ce4384e074cc50",
      "new_mode": 33188,
      "new_path": "ld/testsuite/ld-pe/reloc2a.d"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "cdd9a181be3075389cca29354510d2b7e8d76dee",
      "new_mode": 33188,
      "new_path": "ld/testsuite/ld-pe/reloc2b.d"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "fbc1ab12a473edf18d4550daab88e66346a93562",
      "new_mode": 33188,
      "new_path": "ld/testsuite/ld-pe/reloc2c.d"
    }
  ]
}
