I've got a powerpc-eabi-gcc app, runs fine with powerpc-eabi-run, and I
want to have this program read in, as data, another compiled file. I
can't find any way to do this. I've tried the Unix I/O routines (which
apparently require much additional code to work), I've tried to find a
way to load the data directly into psim through gdb, I've tried to make
the data part of the executable using a linker script (it's immediately
recognized as code and provokes numerous multiple-definition errors),
and I've read stuff on the web for more than a day.
Any help would be most appreciated.
-- Alan (alan _at_ judy.jpl.nasa.gov)