]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - scripts/recordmcount.h
Merge branch 'hugepage-fallbacks' (hugepatch patches from David Rientjes)
[linux.git] / scripts / recordmcount.h
index ca9aaac89bfbf0704c4ebfe5374bbce60950823c..8f0a278ce0af2e985e3fd80047119c93851bba87 100644 (file)
@@ -463,7 +463,6 @@ static int find_secsym_ndx(unsigned const txtndx,
        }
        fprintf(stderr, "Cannot find symbol for section %u: %s.\n",
                txtndx, txtname);
-       cleanup();
        return -1;
 }
 
@@ -480,7 +479,6 @@ static char const * __has_rel_mcount(Elf_Shdr const *const relhdr, /* reltype */
        if (strcmp("__mcount_loc", txtname) == 0) {
                fprintf(stderr, "warning: __mcount_loc already exists: %s\n",
                        fname);
-               cleanup();
                return already_has_rel_mcount;
        }
        if (w(txthdr->sh_type) != SHT_PROGBITS ||