)]}'
{
  "commit": "83078f2fb49152b5451a971a3f69ee12a16d96f5",
  "tree": "3661e024a420828bc0005104eb776b77fc97355a",
  "parents": [
    "ec3ad965bcfce97db1dbfa60503147df951fd28d"
  ],
  "author": {
    "name": "Oleg Tolmatcev",
    "email": "oleg.tolmatcev@gmail.com",
    "time": "Fri Nov 13 14:16:15 2026 +0100"
  },
  "committer": {
    "name": "Jan Beulich",
    "email": "jbeulich@suse.com",
    "time": "Fri Nov 13 14:16:15 2026 +0100"
  },
  "message": "bfd: Grow in-memory BFD buffers geometrically\n\nmemory_bwrite and memory_bseek grew the buffer in 128-byte steps, so\nbuilding a large in-memory BFD out of many small writes reallocated and\ncopied the whole buffer repeatedly.  This made writing PDB streams\nquadratic: linking a 235 MB executable with --pdb spent more than half\nof its time in realloc.\n\nAdd a separate capacity field and grow the buffer by one eighth of its\ncapacity, with a minimum increase of 128 bytes.  If the over-allocation\nfails, retry with the exact required size.\n\nWhile touching the line, switch a questionable EINVAL to ENOMEM in\nmemory_bseek().\n\nbfd/\n\t* libbfd-in.h (bfd_in_memory): Add capacity.\n\t* libbfd.h: Regenerate.\n\t* bfdio.c (memory_grow): New function.\n\t(memory_bwrite, memory_bseek): Use it.\n\t* coff-alpha.c (alpha_ecoff_get_elt_at_filepos): Initialize capacity.\n\t* coff-bfd.c (import_make_member): Likewise.\n\t* elfcode.h (NAME(_bfd_elf, bfd_from_remote_memory)): Likewise.\n\t* opncls.c (bfd_make_writable): Likewise.\n\t* peicode.h (pe_ILF_build_a_bfd): Likewise.\n\t* xcofflink.c (bfd_xcoff_link_generate_rtinit): Likewise.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ea0d1389cd1246b27ca4512763ffb5ad3b00dae6",
      "old_mode": 33188,
      "old_path": "bfd/bfdio.c",
      "new_id": "a5de7abcb7a3c6073c8ef36197507a67aeb98447",
      "new_mode": 33188,
      "new_path": "bfd/bfdio.c"
    },
    {
      "type": "modify",
      "old_id": "77859269512e8fc75055ee4ddc1d8c536f72a39f",
      "old_mode": 33188,
      "old_path": "bfd/coff-alpha.c",
      "new_id": "648a0daf8f834d3d7f2a2d7f2089d9d54af77bb2",
      "new_mode": 33188,
      "new_path": "bfd/coff-alpha.c"
    },
    {
      "type": "modify",
      "old_id": "5eae7f92d14a7d8a43cacbd3118775f901c30014",
      "old_mode": 33188,
      "old_path": "bfd/elfcode.h",
      "new_id": "8d919318cb83588ed120cb99e20ddefb9fc0c126",
      "new_mode": 33188,
      "new_path": "bfd/elfcode.h"
    },
    {
      "type": "modify",
      "old_id": "fddcae44bc0a89b059e2ec5339c6b87d9ab33058",
      "old_mode": 33188,
      "old_path": "bfd/libbfd-in.h",
      "new_id": "a28f3c2f32bbc04144985b253d2a963c9be31290",
      "new_mode": 33188,
      "new_path": "bfd/libbfd-in.h"
    },
    {
      "type": "modify",
      "old_id": "038f2b56c6551119ef884c406eab1b3bcb352940",
      "old_mode": 33188,
      "old_path": "bfd/libbfd.h",
      "new_id": "80adcef01f81ac180ff63ea6827ff95afb619aaf",
      "new_mode": 33188,
      "new_path": "bfd/libbfd.h"
    },
    {
      "type": "modify",
      "old_id": "a8fa6ebbf17add58dfe96d5877c05b8eb45e7cba",
      "old_mode": 33188,
      "old_path": "bfd/opncls.c",
      "new_id": "00d0b91ef667b17d7788995527f94e7ce3385d40",
      "new_mode": 33188,
      "new_path": "bfd/opncls.c"
    },
    {
      "type": "modify",
      "old_id": "e858632312f4f19762d366945c76b6187502f055",
      "old_mode": 33188,
      "old_path": "bfd/peicode.h",
      "new_id": "0eb7ae38bef581a32aafe05b010d216a4e72e791",
      "new_mode": 33188,
      "new_path": "bfd/peicode.h"
    },
    {
      "type": "modify",
      "old_id": "f155d1c3dbbd3589058e851aaa473a9fce988d1c",
      "old_mode": 33188,
      "old_path": "bfd/xcofflink.c",
      "new_id": "2287958304bcb8a0deda7712407be129469d8e64",
      "new_mode": 33188,
      "new_path": "bfd/xcofflink.c"
    }
  ]
}
