)]}'
{
  "commit": "3fa45fb168ceb04013d0dbd64d4a09d9cf284f63",
  "tree": "a8ce8d0c9e67ede1b245b8321315f5150b91dfcc",
  "parents": [
    "a38b0c05b6e9444d94e8a4dd090584a8dcc313ad"
  ],
  "author": {
    "name": "mengqinggang",
    "email": "mengqinggang@loongson.cn",
    "time": "Tue Jul 11 11:21:18 2023 +0800"
  },
  "committer": {
    "name": "liuzhensong",
    "email": "liuzhensong@loongson.cn",
    "time": "Mon Jul 24 11:22:42 2023 +0800"
  },
  "message": "LoongArch: ld: Simplify inserting IRELATIVE relocations to .rela.dyn\n\nIn LoongArch, the R_LARCH_IRELATIVE relocations for local ifunc symbols are\nin .rela.dyn. Before, this is done by loongarch_elf_finish_dynamic_sections.\nBut this function is called after elf_link_sort_relocs, it need to find a\nnull slot to insert IRELATIVE relocation.\n\nNow, it is processed by elf_loongarch_output_arch_local_syms before\nelf_link_sort_relocs, just need to call loongarch_elf_append_rela to\ninsert IRELATIVE relocation.\n\nbfd/ChangeLog:\n\n\t* elfnn-loongarch.c (elfNN_allocate_local_ifunc_dynrelocs): Return\n\ttype change to int.\n\t(loongarch_elf_size_dynamic_sections): Delete (void *).\n\t(loongarch_elf_finish_dynamic_symbol): Use loongarch_elf_append_rela\n\tinsert IRELATIVE relocation to .rela.dyn.\n\t(elfNN_loongarch_finish_local_dynamic_symbol): Return type change to\n\tint.\n\t(loongarch_elf_finish_dynamic_sections): Delete process of local\n\tifunc symbols.\n\t(elf_backend_output_arch_local_syms): New.\n\nld/ChangeLog:\n\n\t* testsuite/ld-loongarch-elf/local-ifunc-reloc.d: Regenerated.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e9c408b2dff36ee910637bf62d37dd8884c0212f",
      "old_mode": 33188,
      "old_path": "bfd/elfnn-loongarch.c",
      "new_id": "70a666283afbaf47a50fa053c53efa63421628dc",
      "new_mode": 33188,
      "new_path": "bfd/elfnn-loongarch.c"
    },
    {
      "type": "modify",
      "old_id": "29f2d3f36d329750ec1def2e2d657f9ce95cd7db",
      "old_mode": 33188,
      "old_path": "ld/testsuite/ld-loongarch-elf/local-ifunc-reloc.d",
      "new_id": "bf73d9f28753c5b43e3266f28af37553499d1ad5",
      "new_mode": 33188,
      "new_path": "ld/testsuite/ld-loongarch-elf/local-ifunc-reloc.d"
    }
  ]
}
