Home | History | Annotate | Download | only in LD
      1 DIAG(reloc_factory_has_not_config,
      2      DiagnosticEngine::Fatal,
      3      "Please call mcld::Linker::config before creating relocations",
      4      "Please call mcld::Linker::config before creating relocations")
      5 DIAG(unsupported_bitclass,
      6      DiagnosticEngine::Fatal,
      7      "Only supports 32 and 64 bits targets. (Target: %0, bitclass:%1)",
      8      "Only supports 32 and 64 bits targets. (Target: %0, bitclass:%1)")
      9 DIAG(undefined_reference,
     10      DiagnosticEngine::Fatal,
     11      "%1(%2+%3): undefined reference to `%0'",
     12      "%1(%2+%3): undefined reference to `%0'")
     13 DIAG(undefined_reference_text,
     14      DiagnosticEngine::Fatal,
     15      "%1:%2:function %3: undefined reference to `%0'",
     16      "%1:%2: undefined reference to `%0'")
     17 DIAG(non_pic_relocation,
     18      DiagnosticEngine::Error,
     19      "attempt to generate unsupported relocation `%0' for symbol `%1', "
     20      "recompile with -fPIC",
     21      "attempt to generate unsupported relocation `%0' for symbol `%1, "
     22      "recompile with -fPIC")
     23 DIAG(base_relocation,
     24      DiagnosticEngine::Fatal,
     25      "relocation type `%0' is not supported for symbol `%1'\nPlease report to "
     26      "%2",
     27      "relocation type `%0' is not supported for symbol `%1'\nPlease report to "
     28      "%2")
     29 DIAG(dynamic_relocation,
     30      DiagnosticEngine::Fatal,
     31      "unexpected relocation type `%0' in object file",
     32      "unexpected relocation type `%0' in object file")
     33 DIAG(unsupported_relocation,
     34      DiagnosticEngine::Unreachable,
     35      "encounter unsupported relocation type `%0'\nPlease report to %1",
     36      "encounter unsupported relocation type `%0'\nPlease report to %1")
     37 DIAG(unknown_relocation,
     38      DiagnosticEngine::Fatal,
     39      "encounter unknown relocation type `%0' for symbol `%1'",
     40      "encounter unknown relocation type `%0' for symbol `%1'")
     41 DIAG(invalid_global_relocation,
     42      DiagnosticEngine::Unreachable,
     43      "relocation type `%0' is invalid for global symbol `%1'",
     44      "relocation type `%0' is invalid for global symbol `%1'")
     45 DIAG(result_overflow,
     46      DiagnosticEngine::Error,
     47      "applying relocation `%0' causes overflow on symbol `%1'",
     48      "applying relocation `%0' causes overflow on symbol `%1'")
     49 DIAG(result_badreloc,
     50      DiagnosticEngine::Error,
     51      "applying relocation `%0' encounters unexpected opcode on symbol `%1'",
     52      "applying relocation `%0' encounters unexpected opcode on symbol `%1'")
     53 DIAG(invalid_tls,
     54      DiagnosticEngine::Error,
     55      "TLS relocation against invalid symbol `%0' in section `%1'",
     56      "TLS relocation against invalid symbol `%0' in section `%1'")
     57 DIAG(unknown_reloc_section_type,
     58      DiagnosticEngine::Unreachable,
     59      "unknown relocation section type: `%0' in section `%1'",
     60      "unknown relocation section type: `%0' in section `%1'")
     61 DIAG(unsupported_cond_branch_reloc,
     62      DiagnosticEngine::Error,
     63      "applying relocation `%0', conditional branch to PLT in THUMB-2 not "
     64      "supported yet",
     65      "applying relocation `%0', conditional branch to PLT in THUMB-2 not "
     66      "supported yet")
     67 DIAG(unsupport_reloc_for_debug_string,
     68      DiagnosticEngine::Error,
     69      "applying relocation `%0' for .debug_str is not supported. "
     70      "Please report to %1",
     71      "applying relocation `%0' for .debug_str is not supported. "
     72      "Please report to %1")
     73