elflink: fix-up DEBUG with plt rework
If the libhuge_filesz symbol is used to find the end of the extracopy
area, and HUGETLB_DEBUG is set in the environment, we don't do anything,
because the found label skips the call to check_bss(). Fix this by
moving the label up a few lines.
Signed-off-by: Nishanth Aravamudan <[EMAIL PROTECTED]>
diff --git a/elflink.c b/elflink.c
index 00b403a..42aa7cc 100644
--- a/elflink.c
+++ b/elflink.c
@@ -467,10 +467,10 @@ static void get_extracopy(struct seg_info *seg, Elf_Phdr
*phdr, int phnum)
end = sym_end;
}
+found:
if (__debug)
check_bss(end, end_orig);
-found:
if (found_sym) {
/* Return the copy window */
seg->extra_vaddr = start;
--
Nishanth Aravamudan <[EMAIL PROTECTED]>
IBM Linux Technology Center
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Libhugetlbfs-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel