[U-Boot-Users] [DNX#2006062242000019] [PATCH] load_elf_image() uses program headers inst [...]

DENX Support System support at denx.de
Thu Jun 22 01:10:06 CEST 2006

Hello list,

inside the automatic U-Boot patch tracking system a new ticket
[DNX#2006062242000019] was created:

> I have modified the common/cmd_elf.c:load_elf_image function to support
> loading ELF images via reading the program headers instead of the
> section headers, which according to the TIS ELF v1.2 standard is the
> correct method. This was modified due to errors loading various ELF
> images such as the INTEGRITY RTOS. In addition, the current version also
> does not check to see if the ELF headers will be overwritten when the
> program sections are extracted, resulting in a machine check when
> reading the next section. The modified version moves the ELF image out
> of the way.
> * Modified common/cmd_elf.c:load_elf_image() to use program headers
> instead of section headers to match TIS ELF v1.2 specification. The
> function also will detect and report if the ELF image will be
> overwritten during program data extraction and moves the image
> appropriately.

Your U-Boot support team

More information about the U-Boot mailing list