Fix remaining cases of gcc 7 fallthrough warning.

They are all intended, so just add the relevant comment.
This commit is contained in:
Vladimir Serbinenko 2017-04-12 01:42:38 +00:00
parent 007f0b407f
commit d454509bb8
4 changed files with 4 additions and 0 deletions

View file

@ -119,6 +119,7 @@ grub_arch_dl_relocate_symbols (grub_dl_t mod, void *ehdr,
case R_IA64_LTOFF22:
if (ELF_ST_TYPE (sym->st_info) == STT_FUNC)
value = *(grub_uint64_t *) sym->st_value + rel->r_addend;
/* Fallthrough. */
case R_IA64_LTOFF_FPTR22:
{
grub_uint64_t *gpptr = mod->gotptr;