Author: wmb Date: Mon Aug 8 23:18:36 2011 New Revision: 2430 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2430
Log: ELF header creation - fixed incorrect offset for coreboot case.
Modified: cpu/x86/pc/elfhdr.fth
Modified: cpu/x86/pc/elfhdr.fth ============================================================================== --- cpu/x86/pc/elfhdr.fth Sat Aug 6 02:32:41 2011 (r2429) +++ cpu/x86/pc/elfhdr.fth Mon Aug 8 23:18:36 2011 (r2430) @@ -28,7 +28,7 @@ dropin-base h# 20 + to elf-entry \ Skip OBMD header in RAM copy 1 to #pheaders \ The pheader causes the image to be copied to RAM 0 to file-offset \ Copy the whole thing, don't skip the ELF headers - dropin-base h# 80 - to elf-addr \ Copied headers will precede dropin-base + dropin-base h# 60 - to elf-addr \ Copied headers will precede dropin-base [else] \ For coreboot running from ROM, we can leave everything in ROM, no need to copy, \ so there's no need for a pheader.
openfirmware@openfirmware.info