Remove assertion that breaks with Red Hat's libelf
[centaur.git] / src / libelfu / modelops / fromFile.c
index 3443165f473801176a0b5bee84c44f936163d032..2b47be029fcce1099bc2f637ec1990340ab0ebd9 100644 (file)
@@ -252,9 +252,6 @@ static ElfuScn* modelFromSection(Elf_Scn *scn)
     data = elf_rawdata(scn, NULL);
     assert(data);
 
-    /* elf_rawdata() always returns ELF_T_BYTE */
-    assert(data->d_type == ELF_T_BYTE);
-
     while (data) {
       if (data->d_off + data->d_size > ms->shdr.sh_size) {
         ELFU_WARN("modelFromSection: libelf delivered a bogus data blob. Skipping\n");