On 18.04.2007 [16:54:04 -0500], Adam Litke wrote:
> On Wed, 2007-04-18 at 14:16 -0700, Nishanth Aravamudan wrote:
> > We currently place the eh_frame_hdr section in the data segment near the
> > eh_frame section. However, non-relinked binaries have a GNU_EH_FRAME
> > segment which only contains this section. Fix this by putting the
> > .eh_frame_hdr section in both the data (or text, as appopriate) segment
> > and the eh_frame_hdr segment. The eh_frame_hdr segment, unfortunately,
> > is not easily definable, so we have to use a constant (found by Adam) to
> > add it to each linker script (the constant is defined in
> > /usr/include/elf.h).
> > 
> > Signed-off-by: Nishanth Aravamudan <[EMAIL PROTECTED]>
> How about some inline comments where that constant is used.  Maybe say
> that this is the value of PT_GNU_EH_FRAME as defined in
> usr/include/elf.h but binutils does not recognize that identifier as it
> does other PT_ constants.

Good idea, updated patch follows...

-- 
Nishanth Aravamudan <[EMAIL PROTECTED]>
IBM Linux Technology Center

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Libhugetlbfs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to