)]}'
{
  "commit": "981118a8b7632164128574d56e1c7bd5f0a8f604",
  "tree": "2087c628553770f47ad10159f06cd371ffc39d83",
  "parents": [
    "e68b7db18cf127d054bebe9d6b28c0bfeadaf18a"
  ],
  "author": {
    "name": "Tamar Christina",
    "email": "tamar.christina@arm.com",
    "time": "Thu Oct 21 16:53:27 2021 +0100"
  },
  "committer": {
    "name": "Tamar Christina",
    "email": "tamar.christina@arm.com",
    "time": "Thu Oct 21 16:53:27 2021 +0100"
  },
  "message": "AArch64: Add support for AArch64 EFI (efi-*-aarch64).\n\nThis adds support for efi-*-aarch64 by virtue of adding a new PEI target\npei-aarch64-little.  This is not a full tagret and only exists to support EFI\nat this time.\n\nThis means that this target does not support relocation processing and is mostly\na container format.\n\nAs such it\u0027s not valid for use with gas but only with objcopy.\n\nAny magic number is based on the Microsoft PE specification [1].\n\n[1] https://docs.microsoft.com/en-us/windows/win32/debug/pe-format\n\nbfd/ChangeLog:\n\n2021-10-21  Tamar Christina  \u003ctamar.christina@arm.com\u003e\n\n\tPR binutils/26218\n\t* .gitignore (pe-aarch64igen.c): New.\n\t* Makefile.am (pei-aarch64.lo, pe-aarch64igen.lo, pei-aarch64.c,\n\tpe-aarch64igen.c): Add support.\n\t* Makefile.in: Likewise.\n\t* bfd.c (bfd_get_sign_extend_vma): Add pei-aarch64-little.\n\t* coff-aarch64.c: New file.\n\t* coffcode.h (coff_set_arch_mach_hook, coff_set_flags,\n\tcoff_write_object_contents) Add aarch64 (aarch64_pei_vec) support.\n\t* config.bfd: Likewise.\n\t* configure: Likewise.\n\t* configure.ac: Likewise.\n\t* libpei.h (GET_OPTHDR_IMAGE_BASE, PUT_OPTHDR_IMAGE_BASE,\n\tGET_OPTHDR_SIZE_OF_STACK_RESERVE, PUT_OPTHDR_SIZE_OF_STACK_RESERVE,\n\tGET_OPTHDR_SIZE_OF_STACK_COMMIT, PUT_OPTHDR_SIZE_OF_STACK_COMMIT,\n\tGET_OPTHDR_SIZE_OF_HEAP_RESERVE, PUT_OPTHDR_SIZE_OF_HEAP_RESERVE,\n\tGET_OPTHDR_SIZE_OF_HEAP_COMMIT, PUT_OPTHDR_SIZE_OF_HEAP_COMMIT,\n\tGET_PDATA_ENTRY, _bfd_peAArch64_bfd_copy_private_bfd_data_common,\n\t_bfd_peAArch64_bfd_copy_private_section_data,\n\t_bfd_peAArch64_get_symbol_info, _bfd_peAArch64_only_swap_filehdr_out,\n\t_bfd_peAArch64_print_private_bfd_data_common,\n\t_bfd_peAArch64i_final_link_postscript,\n\t_bfd_peAArch64i_only_swap_filehdr_out, _bfd_peAArch64i_swap_aouthdr_in,\n\t_bfd_peAArch64i_swap_aouthdr_out, _bfd_peAArch64i_swap_aux_in,\n\t_bfd_peAArch64i_swap_aux_out, _bfd_peAArch64i_swap_lineno_in,\n\t_bfd_peAArch64i_swap_lineno_out, _bfd_peAArch64i_swap_scnhdr_out,\n\t_bfd_peAArch64i_swap_sym_in, _bfd_peAArch64i_swap_sym_out,\n\t_bfd_peAArch64i_swap_debugdir_in, _bfd_peAArch64i_swap_debugdir_out,\n\t_bfd_peAArch64i_write_codeview_record,\n\t_bfd_peAArch64i_slurp_codeview_record,\n\t_bfd_peAArch64_print_ce_compressed_pdata): New.\n\t* peXXigen.c (_bfd_XXi_swap_aouthdr_in, _bfd_XXi_swap_aouthdr_out,\n\tpe_print_pdata, _bfd_XX_print_private_bfd_data_common,\n\t_bfd_XX_bfd_copy_private_section_data, _bfd_XXi_final_link_postscript):\n\tSupport COFF_WITH_peAArch64,\n\t* pei-aarch64.c: New file.\n\t* peicode.h (coff_swap_scnhdr_in, pe_ILF_build_a_bfd, pe_ILF_object_p):\n\tSupport COFF_WITH_peAArch64.\n\t(jtab): Add dummy entry that traps.\n\t* targets.c (aarch64_pei_vec): New.\n\nbinutils/ChangeLog:\n\n2021-10-21  Tamar Christina  \u003ctamar.christina@arm.com\u003e\n\n\tPR binutils/26218\n\t* objcopy.c (convert_efi_target): Add efi-*-aarch64 support.\n\t* testsuite/binutils-all/aarch64/pei-aarch64-little.d: New test.\n\t* testsuite/binutils-all/aarch64/pei-aarch64-little.s: New test.\n\ninclude/ChangeLog:\n\n2021-10-21  Tamar Christina  \u003ctamar.christina@arm.com\u003e\n\n\tPR binutils/26218\n\t* coff/aarch64.h: New file.\n\t* coff/pe.h (IMAGE_FILE_MACHINE_ARM64): New.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0a5530d128a7204d4619ea9e95430ae37d532a81",
      "old_mode": 33188,
      "old_path": "bfd/.gitignore",
      "new_id": "d4f7423111e5be6009abc685539af0c2e58e9045",
      "new_mode": 33188,
      "new_path": "bfd/.gitignore"
    },
    {
      "type": "modify",
      "old_id": "ed2f701805dfd8327d836d3e3f4e48d19a1b15c2",
      "old_mode": 33188,
      "old_path": "bfd/Makefile.am",
      "new_id": "a4c13c1bafaad1315d00b7a8e805f3d1f18dac5f",
      "new_mode": 33188,
      "new_path": "bfd/Makefile.am"
    },
    {
      "type": "modify",
      "old_id": "12807d9976022ffcb1d16ef7eb209dc9a20eb148",
      "old_mode": 33188,
      "old_path": "bfd/Makefile.in",
      "new_id": "e78091fca51a6f2592dbdc46c8c467f95f9b4d34",
      "new_mode": 33188,
      "new_path": "bfd/Makefile.in"
    },
    {
      "type": "modify",
      "old_id": "421f4f19fd60daefe38ded6424b67749c33cda21",
      "old_mode": 33188,
      "old_path": "bfd/bfd.c",
      "new_id": "5c3797de3052b5715c6cb222599dbf5b2bd2e8f9",
      "new_mode": 33188,
      "new_path": "bfd/bfd.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "b4dcc81cb7ba19c08d2ce9f5d7b12207f40358de",
      "new_mode": 33188,
      "new_path": "bfd/coff-aarch64.c"
    },
    {
      "type": "modify",
      "old_id": "d5d9153c4c4ca77b0aacc52be39a49672badce61",
      "old_mode": 33188,
      "old_path": "bfd/coffcode.h",
      "new_id": "86e956128058e9add5435396711ff22ad2f17080",
      "new_mode": 33188,
      "new_path": "bfd/coffcode.h"
    },
    {
      "type": "modify",
      "old_id": "ab5125796f787c8c8942579ea18169d6aa9ed174",
      "old_mode": 33188,
      "old_path": "bfd/config.bfd",
      "new_id": "7546a7386f005df28c02be2f755dad30f7801a17",
      "new_mode": 33188,
      "new_path": "bfd/config.bfd"
    },
    {
      "type": "modify",
      "old_id": "cae69d413d497c26b9e1e1da5f478f5b10c44207",
      "old_mode": 33261,
      "old_path": "bfd/configure",
      "new_id": "21bc0181c55ae99706457a77599feeb3302df89b",
      "new_mode": 33261,
      "new_path": "bfd/configure"
    },
    {
      "type": "modify",
      "old_id": "9ff303ab6e1f7b50f6ac59cd38a1ebd64fb02abb",
      "old_mode": 33188,
      "old_path": "bfd/configure.ac",
      "new_id": "24b5fd13569da8cd869984f0d547a85fb713ee3a",
      "new_mode": 33188,
      "new_path": "bfd/configure.ac"
    },
    {
      "type": "modify",
      "old_id": "4de0c9fd048ac1dc9cf6e4ce0075bc95e610cbd6",
      "old_mode": 33188,
      "old_path": "bfd/libpei.h",
      "new_id": "26589e8e520f8ee9ab752822e76964a8f0e2979c",
      "new_mode": 33188,
      "new_path": "bfd/libpei.h"
    },
    {
      "type": "modify",
      "old_id": "c41c3299277846875ee7eca9ca00e530b2683d61",
      "old_mode": 33188,
      "old_path": "bfd/peXXigen.c",
      "new_id": "1bfd6c89f1943fe0cf4155111d55b511be3dcc7b",
      "new_mode": 33188,
      "new_path": "bfd/peXXigen.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "99326d1612655408f1b5ceea7a013e1768083498",
      "new_mode": 33188,
      "new_path": "bfd/pei-aarch64.c"
    },
    {
      "type": "modify",
      "old_id": "c84b135e1eb31d8154992734dda935176525eff3",
      "old_mode": 33188,
      "old_path": "bfd/peicode.h",
      "new_id": "9374e2325bcfe701be688c74d68b25e665aa8610",
      "new_mode": 33188,
      "new_path": "bfd/peicode.h"
    },
    {
      "type": "modify",
      "old_id": "89b49e721b44247f19a079dda18e747f486bb5f7",
      "old_mode": 33188,
      "old_path": "bfd/targets.c",
      "new_id": "ae6075b3a022b5ce8d2afe71ef5e091abd0a76ad",
      "new_mode": 33188,
      "new_path": "bfd/targets.c"
    },
    {
      "type": "modify",
      "old_id": "a6c2e0dcc26a497c5de4710e476bb5a4cecbfede",
      "old_mode": 33188,
      "old_path": "binutils/objcopy.c",
      "new_id": "fe3ea29c63ccea8051c54927e740dba2731d7d34",
      "new_mode": 33188,
      "new_path": "binutils/objcopy.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "0957c985359c049adb4f085a94ddc4ff03c91794",
      "new_mode": 33188,
      "new_path": "binutils/testsuite/binutils-all/aarch64/pei-aarch64-little.d"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "dafc5fa47f9713b541a8d252748f9621affce5fc",
      "new_mode": 33188,
      "new_path": "binutils/testsuite/binutils-all/aarch64/pei-aarch64-little.s"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "2c21f0d6cfdac4cb0debbee60030226fa70106d2",
      "new_mode": 33188,
      "new_path": "include/coff/aarch64.h"
    },
    {
      "type": "modify",
      "old_id": "9e1ea4b5aa47b8278a0e7a88fad2db5dd8bc9fc5",
      "old_mode": 33188,
      "old_path": "include/coff/pe.h",
      "new_id": "558cf0e1b86f008f613d107bc72368b3811143ee",
      "new_mode": 33188,
      "new_path": "include/coff/pe.h"
    }
  ]
}
