From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 11 Mar 2005 12:51:25 -0700 From: "Ronald G. Minnich" To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] quotefmtinstall In-Reply-To: <59f5c39e3722f1a78f3f6cc704f2f6ba@terzarima.net> Message-ID: References: <59f5c39e3722f1a78f3f6cc704f2f6ba@terzarima.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Topicbox-Message-UUID: 23673134-ead0-11e9-9d60-3106f5b1d025 On Fri, 11 Mar 2005, Charles Forsyth wrote: > if it uses u-boot, it's bound to get in the way at some point. here's my elf so far: ELF Header: Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 Class: ELF32 Data: 2's complement, little endian Version: 1 (current) OS/ABI: UNIX - System V ABI Version: 0 Type: EXEC (Executable file) Machine: ARM Version: 0x1 Entry point address: 0x218010 Start of program headers: 52 (bytes into file) Start of section headers: 0 (bytes into file) Flags: 0x0 Size of this header: 52 (bytes) Size of program headers: 32 (bytes) Number of program headers: 3 Size of section headers: 0 (bytes) Number of section headers: 0 Section header string table index: 0 There are no sections in this file. Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align LOAD 0x0000a0 0x00218010 0x00218010 0x68bb8 0x68bb8 R E 0x4 LOAD 0x068c58 0x00280bc8 0x00280bc8 0x30910 0x39460 RW 0x4 NULL 0x099568 0x00000000 0x00000000 0x1dc7d 0x0ce0e R 0x4 Here's the requisite symbols c0280bc8 D edfruntime c0280bc8 D bdata c0280bc8 T etext So I think that second header in there (280bc8) is correct. I have not verified, however, that when you unpack the elf the data matches. I guess I should do that next. ron