)]}'
{
  "commit": "54721a930e80a635d3cb47c0ad3899ed9680bd78",
  "tree": "88b5cd53e547a5a37273303eabeac5bbcc868499",
  "parents": [
    "973b2b402ebf660e2bbbac60e85469164d76ecfc"
  ],
  "author": {
    "name": "Alan Modra",
    "email": "amodra@gmail.com",
    "time": "Sat Aug 28 14:45:53 2021 +0930"
  },
  "committer": {
    "name": "Alan Modra",
    "email": "amodra@gmail.com",
    "time": "Sat Sep 18 08:20:11 2021 +0930"
  },
  "message": "[GOLD] Output_data_got tidy\n\nSome Output_data_got methods already have support for addends, but\nwere implemented as separate methods.  This removes unnecessary code\nduplication.\n\nRelobj::local_has_got_offset and others there get a similar treatment.\nComments are removed since it should be obvious without a comment, and\nthe existing comments are not precisely what the code does.  For\nexample, a local_has_got_offset call without an addend does not return\nwhether the local symbol has *a* GOT offset of type GOT_TYPE, it\nreturns whether there is a GOT entry of type GOT_TYPE for the symbol\nwith addend of zero.\n\n\tPR 28192\n\t* output.h (Output_data_got::add_local): Make addend optional.\n\t(Output_data_got::add_local_with_rel): Likewise.\n\t(Output_data_got::add_local_pair_with_rel): Likewise.\n\t* output.cc (Output_data_got::add_local): Delete overload\n\twithout addend.\n\t(Output_data_got::add_local_with_rel): Likewise.\n\t(Output_data_got::add_local_pair_with_rel): Likewise.\n\t* object.h (Relobj::local_has_got_offset): Make addend optional.\n\tDelete overload without addend later.  Update comment.\n\t(Relobj::local_got_offset): Likewise.\n\t(Relobj::set_local_got_offset): Likewise.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2dbe4b3e1be4e242e55565449e03bd5a6e5c5642",
      "old_mode": 33188,
      "old_path": "gold/object.h",
      "new_id": "dc089f5a417a5c5634b09a796d994459b59c3349",
      "new_mode": 33188,
      "new_path": "gold/object.h"
    },
    {
      "type": "modify",
      "old_id": "afdba06753eb8f8b67b7f2a9cb6c23cf6966fe8e",
      "old_mode": 33188,
      "old_path": "gold/output.cc",
      "new_id": "75f54f02f23605e930eaadf80dfc30dab85a96d5",
      "new_mode": 33188,
      "new_path": "gold/output.cc"
    },
    {
      "type": "modify",
      "old_id": "9c44f6259a29fd8ca9f9d126fd269ff0ae0d0cee",
      "old_mode": 33188,
      "old_path": "gold/output.h",
      "new_id": "726c93beb5bfea5b3eab62610fb959cd8c042c06",
      "new_mode": 33188,
      "new_path": "gold/output.h"
    }
  ]
}
