bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/12376] File offsets for PT_LOAD segments and resulting inequival


From: dave at hiauly1 dot hia.nrc.ca
Subject: [Bug ld/12376] File offsets for PT_LOAD segments and resulting inequivalent memory aliases
Date: Mon, 14 Feb 2011 23:22:44 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=12376

--- Comment #11 from dave at hiauly1 dot hia.nrc.ca <dave at hiauly1 dot 
hia.nrc.ca> 2011-02-14 23:22:20 UTC ---
On Mon, 14 Feb 2011, ian at airs dot com wrote:

> If you arrange for the data section to start on a new page, then the linker
> will always put that data section on a new page in the file.  It has to,
> because ELF specifies that the file offset is always equal to the page offset
> modulo the page size (unless you link with -N or -n).

Ah, that's the clue!  Testing fix.

Dave

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]