]> git.dujemihanovic.xyz Git - u-boot.git/commit
tools: relocate-rela: Add support for elf32 decoding
authorMichal Simek <michal.simek@amd.com>
Fri, 24 Jun 2022 12:15:00 +0000 (14:15 +0200)
committerMichal Simek <michal.simek@amd.com>
Fri, 24 Jun 2022 12:15:00 +0000 (14:15 +0200)
commit30fb8d29cd3e7a682dfb89f40c4702c0a4029615
treeaf8e4eb1ce8489198403f858243e637d3ae2e112
parenta1405d9cfedb1228289e617258de3fc0d7facecd
tools: relocate-rela: Add support for elf32 decoding

Add support for 32bit ELF format which is used by Microblaze. Also check
that code runs only for Microblaze.

Function finds information about rela.dyn and dynsym which will be used
later for relocation.

Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/7491cc72fe04cbd48db014f1492ce463e91dfb42.1655299267.git.michal.simek@amd.com
tools/relocate-rela.c