elflink: fix-up plt rework
If the only reason extracopy should be invoked is that the plt is
outside of the filesz area, then we need to set the found_sym variable
so the extracopy parameters get set up.
Signed-off-by: Nishanth Aravamudan <[EMAIL PROTECTED]>
diff --git a/elflink.c b/elflink.c
index eecf658..a382e3b 100644
--- a/elflink.c
+++ b/elflink.c
@@ -466,6 +466,7 @@ static void get_extracopy(struct seg_info *seg, Elf_Phdr
*phdr, int phnum)
if (start == end_orig)
start = start_orig;
end = &__libhuge_filesz;
+ found_sym = 1;
DEBUG("Found __libhuge_filesz at %p\n", &__libhuge_filesz);
}
--
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