)]}'
{
  "commit": "4bf2114b634413e224c990593455168b873519d9",
  "tree": "a3ccbe9df53c8d5d1b5663cd0dec639abf090455",
  "parents": [
    "512a0bc4fe484ece34566c038687cbdf7a97c812"
  ],
  "author": {
    "name": "WANG Xuerui",
    "email": "git@xen0n.name",
    "time": "Sun Jul 02 18:14:22 2023 +0800"
  },
  "committer": {
    "name": "liuzhensong",
    "email": "liuzhensong@loongson.cn",
    "time": "Mon Jul 03 09:00:33 2023 +0800"
  },
  "message": "LoongArch: gas: Fix shared builds\n\nFormerly an include of libbfd.h was added in commit 56576f4a722\n(\"LoongArch: gas: Add support for linker relaxation.\"), in order to\nallow calling _bfd_read_unsigned_leb128 from gas, but doing so broke\nshared builds. Commit d2fddb6d783 fixed this reference but did not\nremove the now unnecessary inclusion of libbfd.h. The gas_assert macro\nexpands into a conditional call to abort(), but \"abort\" is re-defined to\n_bfd_abort in libbfd.h, so the extra include breaks any gas_assert\nusage, and should be removed.\n\ngas/ChangeLog:\n\n\t* config/tc-loongarch.c: Don\u0027t include libbfd.h.\n\nFixes: d2fddb6d783 (\"LoongArch: Fix ld \"undefined reference\" error with --enable-shared\")\nSigned-off-by: WANG Xuerui \u003cgit@xen0n.name\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "439bde18b7dd8c0cc35d4bf7fa8a5b4e72d8aa42",
      "old_mode": 33188,
      "old_path": "gas/config/tc-loongarch.c",
      "new_id": "2e8a259d1479a8a6cb97fd2c3bf092542ad00eae",
      "new_mode": 33188,
      "new_path": "gas/config/tc-loongarch.c"
    }
  ]
}
