Ticket #53140: cctools-895-OFILE_LLVM_BITCODE.patch
File cctools-895-OFILE_LLVM_BITCODE.patch, 729 bytes (added by ballapete (Peter "Pete" Dyballa), 8 years ago) |
---|
-
misc/strings.
old new 335 335 * If the ofile is not an object file then process it without reguard 336 336 * to sections. 337 337 */ 338 if(ofile->object_addr == NULL || ofile->member_type == OFILE_LLVM_BITCODE){ 339 if(ofile->file_type == OFILE_FAT && ofile->arch_flag.cputype != 0){ 338 if(ofile->object_addr == NULL 339 #ifdef LTO_SUPPORT 340 || ofile->member_type == OFILE_LLVM_BITCODE){ 341 #else 342 ){ 343 #endif /* LTO_SUPPORT */ 344 if(ofile->file_type == OFILE_FAT && ofile->arch_flag.cputype != 0){ 340 345 if(ofile->fat_header->magic == FAT_MAGIC_64){ 341 346 addr = ofile->file_addr + 342 347 ofile->fat_archs64[ofile->narch].offset;