elflink: When HUGETLB_DEBUG is enabled scan the entire BSS for non-zero data
We were not scanning the BSS before the extra_copy window, only after. Signed-off-by: Steve Fox <[EMAIL PROTECTED]> --- elflink.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/elflink.c b/elflink.c index 4fce9b9..47b6bf9 100644 --- a/elflink.c +++ b/elflink.c @@ -494,7 +494,7 @@ static void get_extracopy(struct seg_info *seg, Elf_Phdr *phdr, int phnum) } if (__debug) - check_bss(end, end_orig); + check_bss(start_orig, end_orig); if (found_sym) { /* Return the copy window */ -- Steve Fox IBM Linux Technology Center ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Libhugetlbfs-devel mailing list Libhugetlbfs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel