diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/recordmcount.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/recordmcount.h b/scripts/recordmcount.h index ac7b3303cb31..7f8d5c4c780f 100644 --- a/scripts/recordmcount.h +++ b/scripts/recordmcount.h | |||
| @@ -360,6 +360,7 @@ __has_rel_mcount(Elf_Shdr const *const relhdr, /* is SHT_REL or SHT_RELA */ | |||
| 360 | succeed_file(); | 360 | succeed_file(); |
| 361 | } | 361 | } |
| 362 | if (w(txthdr->sh_type) != SHT_PROGBITS || | 362 | if (w(txthdr->sh_type) != SHT_PROGBITS || |
| 363 | !(w(txthdr->sh_flags) & SHF_EXECINSTR) || | ||
| 363 | !is_mcounted_section_name(txtname)) | 364 | !is_mcounted_section_name(txtname)) |
| 364 | return NULL; | 365 | return NULL; |
| 365 | return txtname; | 366 | return txtname; |
