Blame SOURCES/annobin-aarch64-branch-protection.patch

099118
--- annobin.orig/gcc-plugin/aarch64.annobin.cc	2021-09-29 16:46:01.346694370 +0100
099118
+++ annobin-10.06/gcc-plugin/aarch64.annobin.cc	2021-09-29 17:01:58.087076291 +0100
099118
@@ -42,6 +42,7 @@ annobin_get_target_pointer_size (void)
099118
   return 64;
099118
 }
099118
 
099118
+#ifdef aarch64_branch_protection_string
099118
 static void
099118
 record_branch_protection_note (bool is_global, annobin_function_info * info)
099118
 {
099118
@@ -70,6 +71,7 @@ record_branch_protection_note (bool is_g
099118
   annobin_output_note (buffer, len + 1, true, "string: -mbranch-protection status",
099118
 		       is_global, info);
099118
 }
099118
+#endif
099118
 
099118
 void
099118
 annobin_record_global_target_notes (annobin_function_info * info)