2017-10-09 08:44:58 -07:00
|
|
|
.syntax unified
|
|
|
|
|
2017-03-31 15:22:24 -07:00
|
|
|
#include "version.h"
|
|
|
|
|
2017-10-09 08:44:58 -07:00
|
|
|
.section .header, "a"
|
2017-03-31 15:22:24 -07:00
|
|
|
|
2017-03-31 17:32:05 -07:00
|
|
|
.type g_header, %object
|
|
|
|
.size g_header, .-g_header
|
2017-03-31 15:22:24 -07:00
|
|
|
|
|
|
|
g_header:
|
2017-04-10 10:24:21 -07:00
|
|
|
.byte 'T','R','Z','B' // magic
|
2017-03-31 17:32:05 -07:00
|
|
|
.word g_header_end - g_header // hdrlen
|
|
|
|
.word 0 // expiry
|
|
|
|
.word _codelen // codelen
|
|
|
|
.byte VERSION_MAJOR // vmajor
|
|
|
|
.byte VERSION_MINOR // vminor
|
|
|
|
.byte VERSION_PATCH // vpatch
|
|
|
|
.byte VERSION_BUILD // vbuild
|
2017-12-14 12:29:13 -08:00
|
|
|
.byte FIX_VERSION_MAJOR // fix_vmajor
|
|
|
|
.byte FIX_VERSION_MINOR // fix_vminor
|
|
|
|
.byte FIX_VERSION_PATCH // fix_vpatch
|
|
|
|
.byte FIX_VERSION_BUILD // fix_vbuild
|
|
|
|
. = . + 8 // reserved
|
2017-10-25 18:08:18 -07:00
|
|
|
. = . + 512 // hash1 ... hash16
|
|
|
|
. = . + 415 // reserved
|
2017-03-31 17:32:05 -07:00
|
|
|
.byte 0 // sigmask
|
|
|
|
. = . + 64 // sig
|
2017-03-31 15:22:24 -07:00
|
|
|
g_header_end:
|