[SeaBIOS] Re: [PATCH v2] Use readelf -WSrs instead of objdump -thr so that llvm-readelf can be used as a replacement

2020-04-06 Thread Fangrui Song
On 2020-04-06, Kevin O'Connor wrote: On Wed, Apr 01, 2020 at 06:12:09PM -0700, Fangrui Song wrote: objdump -h relies heavily on BFD internals and the BFD flags are difficult to emulate in llvm-objdump. llvm-objdump -h has a different output (https://reviews.llvm.org/D57146) Switch to readelf,

[SeaBIOS] Re: [PATCH v2] Use readelf -WSrs instead of objdump -thr so that llvm-readelf can be used as a replacement

2020-04-06 Thread Kevin O'Connor
On Wed, Apr 01, 2020 at 06:12:09PM -0700, Fangrui Song wrote: > objdump -h relies heavily on BFD internals and the BFD flags are difficult to > emulate in llvm-objdump. > llvm-objdump -h has a different output (https://reviews.llvm.org/D57146) > > Switch to readelf, which is generally better than