[PATCH v1 0/6] TIMESTAMP output section command
Jan Beulich
jbeulich@suse.com
Tue Oct 7 12:43:31 GMT 2025
On 07.10.2025 14:39, binutils@emagii.com wrote:
> [PATCH v1 1/6] ld:TIMESTAMP command, ldlex.l
> [PATCH v1 2/6] ld:TIMESTAMP command, ldgram.y
> [PATCH v1 3/6] ld:TIMESTAMP command, ldlang.*
> [PATCH v1 4/6] ld:TIMESTAMP info
> [PATCH v1 5/6] ld:TIMESTAMP ChangeLog
> [PATCH v1 6/6] ld:TIMESTAMP NEWS
>
> ld:TIMESTAMP command
>
> Add TIMESTAMP command to linker.
>
> The TIMESTAMP command inserts a QUAD-word entry with the current time
> into the image at the current location.
> The value is the number of seconds since the Epoch,
> 1970-01-01 00:00:00 +0000 (UTC)
>
> The main purpose for the command is for application headers
> in embedded systems which often require a timestamp to be able to
> exactly identify the build.
And those embedded systems all agree on all the field properties? I find
it hard to believe that anything time related can be "general purpose".
Jan
More information about the Binutils
mailing list