Ticket #10776: workaround_for_missing_symbols.diff

File workaround_for_missing_symbols.diff, 583 bytes (added by mmlr, 10 years ago)
  • src/system/boot/loader/elf.cpp

    diff --git a/src/system/boot/loader/elf.cpp b/src/system/boot/loader/elf.cpp
    index 7616e89..016a624 100644
    a b ELFLoader<Class>::Resolve(ImageType* image, SymType* symbol,  
    425425        case SHN_UNDEF:
    426426            // Since we do that only for the kernel, there shouldn't be
    427427            // undefined symbols.
    428             return B_MISSING_SYMBOL;
     428            dprintf("missing symbol: %s\n",
     429                image->debug_string_table + symbol->st_name);
     430            return B_OK;
    429431        case SHN_ABS:
    430432            *symbolAddress = symbol->st_value;
    431433            return B_NO_ERROR;