On Wed, 2007-04-18 at 15:21 -0700, Nishanth Aravamudan wrote: > On 18.04.2007 [14:16:33 -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). > > 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). Add some comments to indicate the lack of the > constant's definition. > > Signed-off-by: Nishanth Aravamudan <[EMAIL PROTECTED]> Signed-off-by: Adam Litke <[EMAIL PROTECTED]> -- Adam Litke - (agl at us.ibm.com) 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
