Merge "Explain checkLinker errors a bit more."

This commit is contained in:
Treehugger Robot 2020-05-27 23:30:56 +00:00 committed by Gerrit Code Review
commit bd371b6533
1 changed files with 3 additions and 1 deletions

View File

@ -105,7 +105,9 @@ func parseElf(r io.ReaderAt, linker *elf.File) (uint64, error) {
err = checkLinker(file, linker, symbols) err = checkLinker(file, linker, symbols)
if err != nil { if err != nil {
return 0, err return 0, fmt.Errorf("Linker executable failed verification against app embedded linker: %s\n"+
"linker might not be in sync with crtbegin_dynamic.o.",
err)
} }
start, err := findSymbol(symbols, "_start") start, err := findSymbol(symbols, "_start")