mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-15 20:19:23 +00:00
21 lines
660 B
ArmAsm
21 lines
660 B
ArmAsm
#include "version.h"
|
|
|
|
.section .header,"a",%progbits
|
|
|
|
.type g_header, %object
|
|
.size g_header, .-g_header
|
|
|
|
g_header:
|
|
.byte 'T','R','Z','B' // magic
|
|
.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
|
|
. = . + 427 // reserved
|
|
.byte 0 // sigmask
|
|
. = . + 64 // sig
|
|
g_header_end:
|