rem: Elf32_Addr elf_find_entry(void *buf, int size)
add: elf_find_entry(void *buf, int size)
context: Elf32_Addr elf_find_entry(void *buf, int size){	struct Elf32_Ehdr *header;	struct Elf32_Phdr *pheader;	char *cbuf = buf;	int byte_swap;	int index;#define SWAPIT(x) ((byte_swap) ? SWAP32(x) : (x))	if(memcmp(cbuf, ELF_MAGIC, sizeof(ELF_MAGIC)-1) != 0)		return 0;	if(cbuf[EI_CLASS] != ELFCLASS32)		return 0;	byte_swap = 0;#if xBIG_ENDIAN			if(cbuf[EI_DATA] == ELFDATA2LSB) {		byte_swap = 1;	}#else	if(cbuf[EI_DATA] == ELFDATA2MSB) {		byte_swap = 1;	}#endif		header = (struct Elf32_Ehdr *)cbuf;	pheader = (struct Elf32_Phdr *)&cbuf[SWAPIT(header->e_phoff)];	// XXX only looking at the first program header. Should be ok	return SWAPIT(pheader->p_offset);}