|
From: Jeremy F. <je...@go...> - 2003-12-22 08:56:09
|
On Sun, 2003-12-21 at 16:56, John Carter wrote: > I'm trying the latest (from about midnight UTC) version of Valgrind > from CVS on executable's created for eCos synthetic target. > > (eCos is a RTOS that has been ported to many platforms, including > i386, running on Linux. There is a "Synthetic Hal" Hardware Abstraction Layer > that just pop's out of eCos and invokes Linux system services.) > > I suspect it is because of the, umm, unusual linker script we are > using, but valgrind produces the following error message from ume.c > from the routine... > > static int load_ELF(char *hdr, int len, int fd, const char *name, > struct exeinfo *info) > > ========================== > Executable is mapped outside of range 0x80d3000-0xbffff000 > failed to load /usr/local/lib/valgrind/stage2: Cannot allocate memory > ========================== Can you send me the the output of "readelf -hlS yourprog"? I can't reproduce this just by playing with the load address. Could you also send me your whole linker script? J |