link_elf_obj: Add a case missing from 5e6989ba4f

Fixes:		5e6989ba4f
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Mark Johnston 2021-03-16 15:01:41 -04:00 committed by Mark Johnston
parent 6827435548
commit 4aa157dd5b

View File

@ -472,6 +472,7 @@ link_elf_link_preload(linker_class_t cls, const char *filename,
#ifdef __amd64__
case SHT_X86_64_UNWIND:
#endif
case SHT_INIT_ARRAY:
case SHT_FINI_ARRAY:
if (shdr[i].sh_addr == 0)
break;