@@ -1,53 +1,21 @@
diff --git a/elf/dl-load.c b/elf/dl-load.c
-index ee12f32..670d691 100644
+index cad6184..122f232 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
-@@ -1801,6 +1801,7 @@ open_verify (const char *name, struct filebuf *fbp, struct link_map *loader,
- 32-bit and 64-bit binaries can be run this might
- happen. */
- *found_other_class = true;
-+ _dl_debug_printf("FOUND OTHER CLASS\n");
- goto close_and_out;
- }
- else if (ehdr->e_ident[EI_DATA] != byteorder)
-@@ -1836,7 +1837,10 @@ open_verify (const char *name, struct filebuf *fbp, struct link_map *loader,
- goto call_lose;
- }
- if (! __builtin_expect (elf_machine_matches_host (ehdr), 1))
-+ {
-+ _dl_debug_printf("ELF MACHINE DOESNT MATCH HOST\n");
- goto close_and_out;
-+ }
- else if (__builtin_expect (ehdr->e_type, ET_DYN) != ET_DYN
- && __builtin_expect (ehdr->e_type, ET_EXEC) != ET_EXEC)
- {
-@@ -1904,15 +1908,20 @@ open_verify (const char *name, struct filebuf *fbp, struct link_map *loader,
- osversion = (abi_note[5] & 0xff) * 65536
- + (abi_note[6] & 0xff) * 256
- + (abi_note[7] & 0xff);
-+
- if (abi_note[4] != __ABI_TAG_OS
- || (GLRO(dl_osversion) && GLRO(dl_osversion) < osversion))
-+ {
-+ _dl_debug_printf (" ignoring abi_tag=%x expected: %x, osversion=%x expected: < %x\n", abi_note[4], __ABI_TAG_OS, GLRO(dl_osversion), osversion);
-+ }
-+
-+ if(false)
- {
- close_and_out:
- __close (fd);
- __set_errno (ENOENT);
- fd = -1;
- }
--
+@@ -2118,6 +2118,7 @@ open_verify (const char *name, struct filebuf *fbp, struct link_map *loader,
break;
}
}
-@@ -2021,6 +2030,7 @@ open_path (const char *name, size_t namelen, int secure,
- if (__fxstat64 (_STAT_VER, fd, &st) != 0
- || (st.st_mode & S_ISUID) == 0)
- {
-+ _dl_debug_printf("CANNOT BE TESTED FOR BEING SUID OR NOT SUID\n");
- /* The shared object cannot be tested for being SUID
- or this bit is not set. In this case we must not
- use this object. */
++ /*
+ if (-1 != fd)
+ {
+ int error = arch_specific_checks(fd, name, ehdr);
+@@ -2130,7 +2131,7 @@ open_verify (const char *name, struct filebuf *fbp, struct link_map *loader,
+ errstring = N_("Unable to run arch-specific checks\n");
+ goto call_lose;
+ }
+- }
++ }*/
+
+ }
+
|