On Mon, Feb 2, 2009 at 5:41 PM, Mathieu Lacage <mathieu.lacage@xxxxxxxxx> wrote: > Now, I tried to figure out why I am getting this exactly by reading a > bit the bfd code and glibc init/fini code but, well, without much > success so, I was hoping someone could help me a bit before I start > rebuilding my binutils ld and try to trace the behavior of bfd/elf.c > with gdb/printf. Erm, what I meant is that I was hoping someone would know off the top of their head what I can do to use -nostartfile _and_ ensure that the first PT_LOAD covers offset zero but I could settle for an explanation of the behavior of the linker/gcc/glibc start files :) Mathieu -- Mathieu Lacage <mathieu.lacage@xxxxxxxxx>