On 12/1/23 09:41, enh wrote: >> Does it have any sort of stat -c syntax where I can at least REQUEST what I >> want >> out of it? No it does not. Because gnu. (Don't suggest it to them, they'll >> fsck >> it up 100% guaranteed.) > > (i don't really use the gnu one any more anyway. there's an > llvm-readelf too, and -- like all the other llvm tools -- it "just > works" regardless of what architecture the ELF file is for. it's worth > switching for that alone. and they _do_ have a proper machine-readable > format if you ask for it.)
How do I ask? If we factor out the appropriate generation functions so it's the same code producing the fields for both formats, I'm happy testing the machine readable output format and calling the LLVM version the one that TEST_HOST passes on. The gnu/dammit guys can catch up. (Or not, their call.) >> Rob Rob _______________________________________________ Toybox mailing list [email protected] http://lists.landley.net/listinfo.cgi/toybox-landley.net
