Linus Torvalds writes: (Summary)
} =0x01234567890abcdef
in the lds file, and you'll get a section that looks like this:
[torvalds@i7 linux]$ objdump -h vmlinux -j .salt -s
vmlinux: file format elf64-x86-64
Sections:
Idx Name Size VMA LMA File off
Algn
15 .salt 00000010 ffffffff8432b000 000000000432b000 0352b000
2**0
CONTENTS, ALLOC, LOAD, DATA
Contents of section .salt:
ffffffff8432b000 0055aaff 00123456 7890abcd ef001234 .U....4Vx......4
Now whether that is sufficient for your needs, I dunno.
↧