)]}'
{
  "commit": "7c7c34dc7f67ed9d76299ea2b4fdcb66125e94d7",
  "tree": "68bb8e93cb2ffed0f5ee6598d1d7550b695847e4",
  "parents": [
    "97f50c0ecf5b3f68aa9d1c1fb27f4ad707ddb5c2"
  ],
  "author": {
    "name": "Mortal",
    "email": "2784683112@QQ.COM",
    "time": "Fri Oct 16 22:35:29 2026 +0800"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Fri Oct 16 07:35:29 2026 -0700"
  },
  "message": "portable: remove stray installer URL from IAR TrustZone non-secure ports (#1492)\n\nA stray IAR installer download URL was left outside the comment delimiters\nin the restore_special_regs section of the IAR TrustZone non-secure ports.\nThe assembler parses the bare URL as an operand of the preceding ldmia, so\nany build of these ports aborts with:\n\n    Error: garbage following instruction -- \u0027ldmia r2!,{r0,r3,lr} http:\u0027\n\nThe line is outside the configENABLE_PAC conditional block, so it breaks\nevery configuration of the port, not only PAC-enabled builds.\n\nCommit 78e0cc7 (\"ARMv8.1-M: Add task dedicated PAC key support\", #1195)\nintroduced the URL in the CM33/CM35P/CM55/CM85 and ARMv8M non-secure\nports. The CM52 (#1334) and STAR-MC3 (#1363) ports inherited it when\ntheir portasm.s was created from an already-affected file.\n\nThe stray URL is removed rather than moved inside the comment, matching\nthe unaffected sibling port ARM_CM23/non_secure/portasm.s, which carries\nthe same comment text without any URL.\n\nVerified with arm-none-eabi-gcc 13.3.1: all six files fail to assemble\nbefore the change and assemble cleanly after it.\n\nRelates to #1480. The ARM_CM33 non-secure port is handled separately by\n#1485, so it is intentionally not touched here.\n\n* portable: fix stray installer URL in IAR ARM_CM33 non-secure port\n\nportable/ARMv8M/copy_files.py derives the non-secure IAR ports from\nportable/ARMv8M/non_secure/portable/IAR/ARM_CM33. The previous commit\nfixed that source directory but did not regenerate the ARM_CM33 copy, so\nportable/IAR/ARM_CM33/non_secure/portasm.s still carried the stray URL.\nmpu_wrappers_v2_asm.S and portmacro.h are already identical between\nsource and destination, so re-running the script changes only this file.\n\nWith this commit all seven files that carry the stray URL are fixed,\nwhich makes #1485 (same file, same line) unnecessary.\n\nCorrection to the previous commit message: the stray URL is in the #else\nbranch of #if ( configENABLE_MPU \u003d\u003d 1 ), so it is not every configuration\nof the port. It breaks every non-MPU build, independently of\nconfigENABLE_PAC; MPU builds never compile the line.\n\nVerified with arm-none-eabi-gcc 13.3.1 (GNU as, not IAR iccarm), using\n-march\u003darmv8.1-m.main -mthumb -mfpu\u003dfpv5-d16 and a minimal IAR-to-GNU\ndirective translation:\n\n  configENABLE_MPU\u003d0, configENABLE_PAC\u003d0   fails before, assembles after\n  configENABLE_MPU\u003d1                       line is not compiled\n\nThe PAC_KEY_* mrs/msr instructions are rejected by GNU as on this target,\nso the PAC-enabled non-MPU configuration could not be exercised here.\n\nRelates to #1480.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "47fcfa15bfe9989df74f1f79150ec79ef8b6f166",
      "old_mode": 33188,
      "old_path": "portable/ARMv8M/non_secure/portable/IAR/ARM_CM33/portasm.s",
      "new_id": "7cb05a19ba72b8505af59ae14e9771ba93a955cb",
      "new_mode": 33188,
      "new_path": "portable/ARMv8M/non_secure/portable/IAR/ARM_CM33/portasm.s"
    },
    {
      "type": "modify",
      "old_id": "47fcfa15bfe9989df74f1f79150ec79ef8b6f166",
      "old_mode": 33188,
      "old_path": "portable/IAR/ARM_CM33/non_secure/portasm.s",
      "new_id": "7cb05a19ba72b8505af59ae14e9771ba93a955cb",
      "new_mode": 33188,
      "new_path": "portable/IAR/ARM_CM33/non_secure/portasm.s"
    },
    {
      "type": "modify",
      "old_id": "47fcfa15bfe9989df74f1f79150ec79ef8b6f166",
      "old_mode": 33188,
      "old_path": "portable/IAR/ARM_CM35P/non_secure/portasm.s",
      "new_id": "7cb05a19ba72b8505af59ae14e9771ba93a955cb",
      "new_mode": 33188,
      "new_path": "portable/IAR/ARM_CM35P/non_secure/portasm.s"
    },
    {
      "type": "modify",
      "old_id": "47fcfa15bfe9989df74f1f79150ec79ef8b6f166",
      "old_mode": 33188,
      "old_path": "portable/IAR/ARM_CM52/non_secure/portasm.s",
      "new_id": "7cb05a19ba72b8505af59ae14e9771ba93a955cb",
      "new_mode": 33188,
      "new_path": "portable/IAR/ARM_CM52/non_secure/portasm.s"
    },
    {
      "type": "modify",
      "old_id": "47fcfa15bfe9989df74f1f79150ec79ef8b6f166",
      "old_mode": 33188,
      "old_path": "portable/IAR/ARM_CM55/non_secure/portasm.s",
      "new_id": "7cb05a19ba72b8505af59ae14e9771ba93a955cb",
      "new_mode": 33188,
      "new_path": "portable/IAR/ARM_CM55/non_secure/portasm.s"
    },
    {
      "type": "modify",
      "old_id": "47fcfa15bfe9989df74f1f79150ec79ef8b6f166",
      "old_mode": 33188,
      "old_path": "portable/IAR/ARM_CM85/non_secure/portasm.s",
      "new_id": "7cb05a19ba72b8505af59ae14e9771ba93a955cb",
      "new_mode": 33188,
      "new_path": "portable/IAR/ARM_CM85/non_secure/portasm.s"
    },
    {
      "type": "modify",
      "old_id": "47fcfa15bfe9989df74f1f79150ec79ef8b6f166",
      "old_mode": 33188,
      "old_path": "portable/IAR/ARM_STAR_MC3/non_secure/portasm.s",
      "new_id": "7cb05a19ba72b8505af59ae14e9771ba93a955cb",
      "new_mode": 33188,
      "new_path": "portable/IAR/ARM_STAR_MC3/non_secure/portasm.s"
    }
  ]
}
