/* -1: silent, 0: normal, 1: verbose, 2: very verbose. */
ulong verbosity = 0;
-uint major_version = 8;
-uint minor_version = 58;
+const uint major_version = 8;
+const uint minor_version = 59;
static ulong num_files = 0;
static const char * files[MAX_NUM_FILES];
#define BE_QUIET (verbosity == -1UL)
/* The version numbers of the checksec framework. */
-extern uint major_version;
-extern uint minor_version;
+extern const uint major_version;
+extern const uint minor_version;
#endif /* __ANNOCHECK_H__ */
/* The version of the annotation specification supported by this plugin. */
#define SPEC_VERSION 3
-static unsigned int annobin_version = 858; /* NB. Keep in sync with version_string below. */
-static const char * version_string = N_("Version 858");
+static unsigned int annobin_version = 859; /* NB. Keep in sync with version_string below. */
+static const char * version_string = N_("Version 859");
annobin_inform (1, "Creating notes for the dynamic loader");
fprintf (asm_out_file, "\t.section %s, \"a\", %%note\n", NOTE_GNU_PROPERTY_SECTION_NAME);
- fprintf (asm_out_file, "\t.balign 4\n");
+ if (annobin_is_64bit)
+ fprintf (asm_out_file, "\t.balign 8\n");
+ else
+ fprintf (asm_out_file, "\t.balign 4\n");
ptr = buffer;