diff options
| author | 2020-05-27 23:30:56 +0000 | |
|---|---|---|
| committer | 2020-05-27 23:30:56 +0000 | |
| commit | bd371b653344535d3dec367d1706c5a06dd117b8 (patch) | |
| tree | a4eb8f9d20429343ffe77acced9fd3887a6ee1b4 | |
| parent | f1665501e8e78dbb8b0acca24d3458f1a9cbdef1 (diff) | |
| parent | 321bbe92b18236f2884f24e3216b078ec5e5690f (diff) | |
Merge "Explain checkLinker errors a bit more."
| -rw-r--r-- | cmd/host_bionic_inject/host_bionic_inject.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/host_bionic_inject/host_bionic_inject.go b/cmd/host_bionic_inject/host_bionic_inject.go index f7163d7e3..629f6cc14 100644 --- a/cmd/host_bionic_inject/host_bionic_inject.go +++ b/cmd/host_bionic_inject/host_bionic_inject.go @@ -105,7 +105,9 @@ func parseElf(r io.ReaderAt, linker *elf.File) (uint64, error) { err = checkLinker(file, linker, symbols) 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") |