public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] load_elf_image() uses program headers instead of section headers
@ 2006-06-21 23:06 Wood, Jarrod Jay
  2006-10-10 13:40 ` Michael Tasche
  0 siblings, 1 reply; 2+ messages in thread
From: Wood, Jarrod Jay @ 2006-06-21 23:06 UTC (permalink / raw)
  To: u-boot

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.


CHANGELOG:
* 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmd_elf-loadelfimage.patch
Type: application/octet-stream
Size: 7880 bytes
Desc: cmd_elf-loadelfimage.patch
Url : http://lists.denx.de/pipermail/u-boot/attachments/20060621/8f21c229/attachment.obj 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-10-10 13:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-21 23:06 [U-Boot-Users] [PATCH] load_elf_image() uses program headers instead of section headers Wood, Jarrod Jay
2006-10-10 13:40 ` Michael Tasche

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox