This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Regression on prelinked-sepdebug-shlibs
On Thu, Jan 07, 2010 at 12:03:04PM +0100, Tristan Gingold wrote:
> I am not sure that you can create a linux native executable with a section whose vma is 0.
I'm pretty sure you can't. The program headers are going to be at the
start of the executable, before any section. So I'm not entirely sure
what kind of executable you get from doing this :-)
It's different if you use an embedded target, because ELF headers
aren't typically mapped or loaded into memory.
--
Daniel Jacobowitz
CodeSourcery