Last active
May 5, 2018 22:08
-
-
Save al3xtjames/8d68ef87c4c2138ef89d3d6e20879401 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- misc/strings.c.orig | |
+++ misc/strings.c | |
@@ -335,7 +335,11 @@ void *cookie) | |
* If the ofile is not an object file then process it without reguard | |
* to sections. | |
*/ | |
- if(ofile->object_addr == NULL || ofile->member_type == OFILE_LLVM_BITCODE){ | |
+ if(ofile->object_addr == NULL | |
+#ifdef LTO_SUPPORT | |
+ || ofile->member_type == OFILE_LLVM_BITCODE | |
+#endif /* LTO_SUPPORT */ | |
+ ){ | |
if(ofile->file_type == OFILE_FAT && ofile->arch_flag.cputype != 0){ | |
if(ofile->fat_header->magic == FAT_MAGIC_64){ | |
addr = ofile->file_addr + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment