diff options
| author | Al Viro <[email protected]> | 2023-01-09 05:14:02 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2023-01-11 20:36:46 +0000 |
| commit | 1878787797cbb019eeefe6f905514dcd557302b6 (patch) | |
| tree | ba398c597e668ec91e13312964d4d329b2fd35f7 /tools/perf/scripts/python/libxed.py | |
| parent | alpha/boot: fix the breakage from -isystem series... (diff) | |
| download | kernel-1878787797cbb019eeefe6f905514dcd557302b6.tar.gz kernel-1878787797cbb019eeefe6f905514dcd557302b6.zip | |
alpha/boot/tools/objstrip: fix the check for ELF header
Just memcmp() with ELFMAG - that's the normal way to do it in userland
code, which that thing is. Besides, that has the benefit of actually
building - str_has_prefix() is *NOT* present in <string.h>.
Fixes: 5f14596e55de "alpha: Replace strncmp with str_has_prefix"
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
