)]}'
{
  "commit": "a905bbb52a7bac5099f2cbee008c6f3eae96218c",
  "tree": "9c85e8a04ecb74085ad7b1c191f1933489a520eb",
  "parents": [
    "e79649ba4d515a1b5f57e397431d81f079ff158e"
  ],
  "author": {
    "name": "David Benjamin",
    "email": "davidben@google.com",
    "time": "Mon Jun 12 18:11:13 2023 -0400"
  },
  "committer": {
    "name": "Boringssl LUCI CQ",
    "email": "boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Thu Jun 22 23:36:55 2023 +0000"
  },
  "message": "Consistently include BTI markers in every assembly file\n\nTrying to migrate Chromium to the \"link all the asm files together\"\nstrategy broke the aarch64 Android build because some of the ifdef\u0027d out\nassembly files were missing the .note.gnu.property section for BTI. If\nwe add support for IBT, that\u0027ll be another one.\n\nTo fix this, introduce \u003copenssl/asm_base.h\u003e, which must be included at\nthe start of every assembly file (before the target ifdefs). This does a\ncouple things:\n\n- It emits BTI and noexecstack markers into every assembly file, even\n  those that ifdef themselves out.\n\n- It resolves the MSan -\u003e OPENSSL_NO_ASM logic, so we only need to do it\n  once.\n\n- It defines the same OPENSSL_X86_64, etc., defines we set elsewhere, so\n  we can ensure they\u0027re consistent.\n\nThis required carving files up a bit. \u003copenssl/base.h\u003e has a lot of\nthings, such that trying to guard everything in it on __ASSEMBLER__\nwould be tedious. Instead, I moved the target defines to a new\n\u003copenssl/target.h\u003e. Then \u003copenssl/asm_base.h\u003e is the new header that\npulls in all those things.\n\nBug: 542\nChange-Id: I1682b4d929adea72908655fa1bb15765a6b3473b\nReviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/60765\nReviewed-by: Bob Beck \u003cbbe@google.com\u003e\nCommit-Queue: David Benjamin \u003cdavidben@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ab84c104be6fc98918803f8400ce939247668263",
      "old_mode": 33188,
      "old_path": "crypto/curve25519/asm/x25519-asm-arm.S",
      "new_id": "ef3b40961ddc3772cdc88d9d4c6d8f63e3ae30b1",
      "new_mode": 33188,
      "new_path": "crypto/curve25519/asm/x25519-asm-arm.S"
    },
    {
      "type": "modify",
      "old_id": "3858e8b1b3defc978860f7507ca2ed0e4cddf4e9",
      "old_mode": 33188,
      "old_path": "crypto/fipsmodule/CMakeLists.txt",
      "new_id": "6c18791adf43bc078be8a38c43fc5e738b7917b1",
      "new_mode": 33188,
      "new_path": "crypto/fipsmodule/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "eaf45a8732405c98936413bca7c5d9d8f50a6bbf",
      "old_mode": 33188,
      "old_path": "crypto/hrss/asm/poly_rq_mul.S",
      "new_id": "6d8b4232872692058d0c80088e9a7f294cf737c8",
      "new_mode": 33188,
      "new_path": "crypto/hrss/asm/poly_rq_mul.S"
    },
    {
      "type": "modify",
      "old_id": "e876c8b27367346552da24439e108b0d8881b195",
      "old_mode": 33261,
      "old_path": "crypto/perlasm/arm-xlate.pl",
      "new_id": "546f77e09e13a2f29fbaf894523d5fe2f51fc64e",
      "new_mode": 33261,
      "new_path": "crypto/perlasm/arm-xlate.pl"
    },
    {
      "type": "modify",
      "old_id": "16a7846835f1a9b23d3e4e32c35b77c444d281df",
      "old_mode": 33261,
      "old_path": "crypto/perlasm/x86_64-xlate.pl",
      "new_id": "b998050ef2a12cc9325cce671e8a26acb5883d2d",
      "new_mode": 33261,
      "new_path": "crypto/perlasm/x86_64-xlate.pl"
    },
    {
      "type": "modify",
      "old_id": "d66255ed6ffd7ee7a7d3e1d2c6405ad595b3e73a",
      "old_mode": 33188,
      "old_path": "crypto/perlasm/x86asm.pl",
      "new_id": "f0d631067fafec716a75dc9c2d1c451699f8255e",
      "new_mode": 33188,
      "new_path": "crypto/perlasm/x86asm.pl"
    },
    {
      "type": "modify",
      "old_id": "7895ab49dabaffda26cfa95d29cf97d1bdda512c",
      "old_mode": 33188,
      "old_path": "crypto/poly1305/poly1305_arm_asm.S",
      "new_id": "619984e2d26316a5229fd38ad4fc3070c6229cf1",
      "new_mode": 33188,
      "new_path": "crypto/poly1305/poly1305_arm_asm.S"
    },
    {
      "type": "modify",
      "old_id": "7215f62eb252c7fe797baf7c233042d2ba6a5faa",
      "old_mode": 33188,
      "old_path": "include/openssl/arm_arch.h",
      "new_id": "60b30f5d98946eaf45c2be61aab5aeb351121ac5",
      "new_mode": 33188,
      "new_path": "include/openssl/arm_arch.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "57a7d4af35e35dccf149ccb503e0679b00c4e1db",
      "new_mode": 33188,
      "new_path": "include/openssl/asm_base.h"
    },
    {
      "type": "modify",
      "old_id": "cd7b75fbf486835be7711d606a5cdc2db1ef5c28",
      "old_mode": 33188,
      "old_path": "include/openssl/base.h",
      "new_id": "1cdad8440cab50f94201d7c64b732f40846472cc",
      "new_mode": 33188,
      "new_path": "include/openssl/base.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "c972e83c68f985eeac813d8ff5f402c51b09ede9",
      "new_mode": 33188,
      "new_path": "include/openssl/target.h"
    },
    {
      "type": "modify",
      "old_id": "28b174560206a4534cd0cf4427d3672bb2ceb5dc",
      "old_mode": 33188,
      "old_path": "third_party/fiat/asm/fiat_curve25519_adx_mul.S",
      "new_id": "dd7c225b0ff4562895d550dbd9a01006b2918618",
      "new_mode": 33188,
      "new_path": "third_party/fiat/asm/fiat_curve25519_adx_mul.S"
    },
    {
      "type": "modify",
      "old_id": "88818217bb30c57327e39843146e01090559fcbb",
      "old_mode": 33188,
      "old_path": "third_party/fiat/asm/fiat_curve25519_adx_square.S",
      "new_id": "13fa8a8d1692f751b8c7bb61722089d28aeb8d67",
      "new_mode": 33188,
      "new_path": "third_party/fiat/asm/fiat_curve25519_adx_square.S"
    }
  ]
}
