From: DENX Support System Date: Thu, 22 Jun 2006 01:10:06 +0200 Subject: [U-Boot-Users] [DNX#2006062242000019] [PATCH] load_elf_image() uses program headers inst [...] Message-ID: <1150931406.137974.906896764@castor.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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. > > > 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. Your U-Boot support team