decomp-toolkit icon indicating copy to clipboard operation
decomp-toolkit copied to clipboard

Issues with splitting ELF

Open einstein95 opened this issue 1 year ago • 0 comments

 INFO Loading default.elf    
 INFO Splitting 949 objects    
Failed: Range 0x00000000-0x80004380 outside of section .init: 0x80004000-0x80006728

relevant part from the info output:

          .text | 0x800562E4 | 0x4        | sqrt      
          .text | 0x800562E8 | 0x4        | strdup    
          .text | 0x800562EC | 0x54       | strlwr    
          .text | 0x80056340 | 0xA0       | stricmp   
          .init | 0x80004380 | 0x0        | gTRKInterruptVectorTable
          .init | 0x800062B4 | 0x0        | gTRKInterruptVectorTableEnd
          .text | 0x800563E0 | 0x0        | TRKAccessFile
          .text | 0x800563E8 | 0x0        | TRKOpenFile
          .text | 0x800563F0 | 0x0        | TRKCloseFile

Initially I thought this was because the symbol was 0 sized, but then had the same issue with a different ELF

Failed: Range 0x00000000-0x80004300 outside of section .init: 0x80004000-0x800066BC
           .bss | 0x804DF8E0 | 0x30       | __OSExpireAlarm
          .text | 0x80293190 | 0x158      | __OSInitPlayTime
        .rodata | 0x80465688 | 0x40       | @LOCAL@OSCalcCRC32__FPCvUl@crc32_table
          .text | 0x802932F0 | 0x134      | OSCalcCRC32
          .text | 0x80293430 | 0x204      | __OSRelaunchTitle
          .init | 0x80004300 | 0x24       | __init_hardware
          .text | 0x80293640 | 0x20       | __init_user
          .text | 0x802936B0 | 0x4C       | exit      
          .init | 0x80004330 | 0x34       | __flush_cache
          .text | 0x80293700 | 0x2C       | PSMTXIdentity
          .text | 0x80293730 | 0x34       | PSMTXCopy 

einstein95 avatar Dec 22 '23 18:12 einstein95