Hi Joel... On Wed, Dec 5, 2012 at 12:07 PM, Joel A Fernandes <agnel.joel@gmail.com> wrote:
I am looking at a problem that might be too difficult to solve, or might not if I'm missing something so I thought I'd bounce it off this group,
Basically I have an application in userspace who's ".data" section _has_ to be loaded into particular locations in physical memory. That is, there is a chunk of physical memory that has to contain the .data section and no other part of physical memory should.
What is the easiest way to do this? I guess, changes might be required to the ELF loaders in fs/bin*.c. Any other tricks?
I somewhat agree that the solution would be changing some parts in ELF loader. But not sure which one, loader in kernel space, user space or both. PS: are you considering creating special data section? perhaps by using custom ld script? -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com