diff options
| author | 2018-03-27 22:15:45 -0700 | |
|---|---|---|
| committer | 2018-03-29 01:39:13 +0000 | |
| commit | afefacf196dbe9a178e6b0607bb01d3c088fa59d (patch) | |
| tree | 0c059cc45c057c97f15d0363e4e0c77353851a59 /java/java_test.go | |
| parent | 055fa016935a6b291109e12e184f2c108120a613 (diff) | |
Fix mini_debug_info stripping when no symbols should be kept.
If there are no symbols to keep (i.e. all function symbols are also in
the dynsym table), then the "${outfile}.keep_symbols" file has size 0.
When objcopy parses a --keep-symbols file, it has a special case for
0-sized files where it silently fails (exits with status 1, no error
message). On the other hand, objcopy is happy with a file containing no
symbols, as long as there is some whitespace or a comment. Avoid the
special case by appending a newline to keep_symbols.
Bug: b/62815515
Bug: b/77242617
Test: manual
Change-Id: I90fd3258426176dc18aa5a8c19389c55fe6329c7
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions