This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: generating ELF layout with ehdr in the middle of the address space


On Mon, Mar 19, 2012 at 05:06:20PM -0700, Roland McGrath wrote:
> I had no trouble hacking the linker emulation scripts to produce linker
> scripts that place the sections how I want them.  But now I'm trying to
> figure out what I'd have to hack to get the unusual mapping of segments to
> file positions that I want.  I've been poring over the bfd/elf.c code but I
> don't have much idea yet where to start.

elf.c:assign_file_positions_for_load_sections

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]