)]}'
{
  "commit": "6fdff4d4d8a83a02cb29c6f7db5446a788a43502",
  "tree": "9e198c8d8267d370960faf98a73ee57222de0447",
  "parents": [
    "bae48b6fce6a574618ded8cfc1dd4006c2e94879"
  ],
  "author": {
    "name": "Michael Meissner",
    "email": "meissner@linux.ibm.com",
    "time": "Thu Aug 27 12:33:30 2026 -0400"
  },
  "committer": {
    "name": "Michael Meissner",
    "email": "meissner@linux.ibm.com",
    "time": "Thu Aug 27 12:33:30 2026 -0400"
  },
  "message": "Back port PR target/120681\n\nWhen I implemented the pc-relative support for power10 in GCC, I\ndisabled using pc-relative support for -mcmodel\u003dlarge.  At the time, I\ndidn\u0027t want to dig into the issues.  It is now time to allow\n-mcmodel\u003dlarge to generate pc-relative code.\n\nThis patch allows -mcmodel\u003dlarge to use prefixed addressing on power10,\npower11, and possibly other future PowerPC processors in addition to\nthe current -mcmodel\u003dmedium support.\n\nThis change was back ported from the changes to the master branch on\n2026-08-07.\n\n2026-08-27  Michael Meissner  \u003cmeissner@linux.ibm.com\u003e\n\ngcc/\n\n\tPR target/120681\n\t* config/rs6000/linux64.h (PCREL_SUPPORTED_BY_OS): Allow large\n\tcode model as well as medium code model.\n\t* config/rs6000/rs6000.cc (rs6000_option_override_internal):\n\tLikewise.\n\t(rs6000_elf_declare_function_name): Don\u0027t create the\n\tlocal/non-local labels for large code model if we are using\n\tPC-relative addressing.\n\ngcc/testsuite/\n\n\tPR target/120681\n\t* gcc.target/powerpc/pr120681.c: New test.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1af710303687fb4fca48b385fbad039704cfec2e",
      "old_mode": 33188,
      "old_path": "gcc/config/rs6000/linux64.h",
      "new_id": "c892930a8a93127b7eb734cf3bb85ac01ee6be86",
      "new_mode": 33188,
      "new_path": "gcc/config/rs6000/linux64.h"
    },
    {
      "type": "modify",
      "old_id": "da8e176ae089f95c6a7ae8514b135d6296de517d",
      "old_mode": 33188,
      "old_path": "gcc/config/rs6000/rs6000.cc",
      "new_id": "4741bc2a2648f0ff2e1bb6fb5cf9734ab7e7251e",
      "new_mode": 33188,
      "new_path": "gcc/config/rs6000/rs6000.cc"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "d883d1c8a95106e0ec68d05bc60b5936c030cd30",
      "new_mode": 33188,
      "new_path": "gcc/testsuite/gcc.target/powerpc/pr120681.c"
    }
  ]
}
