This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Defining a section that isn't file-backed
Mike Hearn <mike@theoretic.com> writes:
> ... as does objdump -p:
>
> LOAD off 0x00001000 vaddr 0x00400000 paddr 0x00400000 align 2**12
> filesz 0x00000000 memsz 0x10000000 flags r--
I've obviously missed something, because that looks like exactly what
you want. And you seem to agree.
Looking back, I see that you are saying that the runtime loader is not
giving you the protection you want. The runtime loader is not part of
the binutils, though. It looks like you are asking for the right
thing, and the question is why you aren't getting it. I don't know
why.
Ian