5744d75
--- annobin.orig/plugin/x86_64.annobin.cc	2018-11-05 16:31:45.253977255 +0000
5744d75
+++ annobin-8.23/plugin/x86_64.annobin.cc	2018-11-05 16:35:40.572266029 +0000
5744d75
@@ -239,7 +239,10 @@ annobin_target_specific_loader_notes (vo
5744d75
   annobin_inform (1, "Creating notes for the dynamic loader");
5744d75
 
5744d75
   fprintf (asm_out_file, "\t.section %s, \"a\", %%note\n", NOTE_GNU_PROPERTY_SECTION_NAME);
5744d75
-  fprintf (asm_out_file, "\t.balign 4\n");
5744d75
+  if (annobin_is_64bit)
5744d75
+    fprintf (asm_out_file, "\t.balign 8\n");
5744d75
+  else
5744d75
+    fprintf (asm_out_file, "\t.balign 4\n");
5744d75
 
5744d75
   ptr = buffer;
5744d75