Small typo on document

182 views
Skip to first unread message

seal2002

unread,
Feb 13, 2024, 8:51:08 AMFeb 13
to android-ndk
Hello,

I found a small typo on this document
https://android.googlesource.com/platform/bionic/+/master/android-changes-for-ndk-developers.md#missing-section-headers-enforced-for-api-level-24
It should be headers, not header
`C:/DevTools/android-sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/windows-x86_64/bin/llvm-readelf.exe: error: unknown argument '--header', did you mean '--headers'?`

Cheers

enh

unread,
Feb 13, 2024, 10:27:43 AMFeb 13
to andro...@googlegroups.com
interestingly gnu readelf accepts both --header and --headers, but
llvm-readelf only accepts --headers. i'll update the doc to use
--headers since that (a) works everywhere and (b) is a bit more
logical anyway [https://android-review.googlesource.com/c/platform/bionic/+/2961462],
but i'll pass this on to the llvm team too, since this seems like a
trivial llvm-readelf bug to fix for better compatibility...
> --
> You received this message because you are subscribed to the Google Groups "android-ndk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/5e194eeb-8482-490d-9d8c-b48e4e58ccecn%40googlegroups.com.

enh

unread,
Feb 13, 2024, 10:40:48 AMFeb 13
to andro...@googlegroups.com
(for the record, gnu readelf seems to accept any unique prefix, so
`--heade`, `--head`, `--hea` all work too, before `--he` collides with
`--help :-) )
Reply all
Reply to author
Forward
0 new messages