)]}'
{
  "commit": "31b4d3a16f200bf04db8439a63b72bba7af4e1be",
  "tree": "a422261355b8221ded5777ec889cc7054c99203f",
  "parents": [
    "9833b7757d246f22db4eb24b8e5db7eb5e05b6d9"
  ],
  "author": {
    "name": "Alan Modra",
    "email": "amodra@gmail.com",
    "time": "Thu Feb 03 08:57:47 2022 +1030"
  },
  "committer": {
    "name": "Alan Modra",
    "email": "amodra@gmail.com",
    "time": "Sun Feb 13 14:00:56 2022 +1030"
  },
  "message": "PR28824, relro security issues, x86 keep COMMONPAGESIZE relro\n\nx86 treats MAXPAGESIZE as a memory optimisation parameter, actual\nhardware paging is always COMMPAGESIZE of 4k.  Use COMMONPAGESIZE for\nthe end of the relro segment alignment.\n\nThe previous patch regresses pr18176, increasing the testcase file\nsize from 322208 to 2099872 bytes.  Fixing this on x86 will require\nintroducing a gap after the end of the relro segment (of up to\nrelropagesize-1 bytes).\n\n\tPR 28824\n\tPR 18176\n\t* ld.h (ld_config_type): Add relro_use_commonpagesize field.\n\t* ldexp.c (fold_segment_align): Set relropagesize depending on\n\trelro_use_commonpagesize.\n\t* emultempl/elf-x86.em (elf_x86_create_output_section_statements):\n\tSet relro_use_commonpagesize.\n\t* testsuite/ld-x86-64/pr18176.d: xfail.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f75521cecea7367fa4463e54742874ce28ca113b",
      "old_mode": 33188,
      "old_path": "ld/emultempl/elf-x86.em",
      "new_id": "134e4e1b61621ceb9eb55ef478a4d1affa51bcee",
      "new_mode": 33188,
      "new_path": "ld/emultempl/elf-x86.em"
    },
    {
      "type": "modify",
      "old_id": "f3086bf30dee354bf4f5e1329bf0ebaec2a939e3",
      "old_mode": 33188,
      "old_path": "ld/ld.h",
      "new_id": "c7e4ca3d334eafa76e23a499e5004df0a37c774b",
      "new_mode": 33188,
      "new_path": "ld/ld.h"
    },
    {
      "type": "modify",
      "old_id": "a38cec7829d0fa91a55c52b53b0e385ffd2254fc",
      "old_mode": 33188,
      "old_path": "ld/ldexp.c",
      "new_id": "ab724074732014ad3a07e4ae510f650d31f3cb5c",
      "new_mode": 33188,
      "new_path": "ld/ldexp.c"
    },
    {
      "type": "modify",
      "old_id": "a99ff15ac6bee23984d9c8bb70d2c586a710150b",
      "old_mode": 33188,
      "old_path": "ld/testsuite/ld-x86-64/pr18176.d",
      "new_id": "728c15a3dd8bfe6da02da0742140d10ab4319881",
      "new_mode": 33188,
      "new_path": "ld/testsuite/ld-x86-64/pr18176.d"
    }
  ]
}
