Re: [PATCH] test/T360-symbol-hiding: use readelf in place of nm

2020-12-13 Thread David Bremner
Tomi Ollila writes: > On Fri, Dec 11 2020, David Bremner wrote: > >> It turns out that using nm -P isn't as portable as hoped. In particular on >> architectures using ELF v1 (e.g. ppc64), the desired symbols end up in >> the data section instead of text. >> >> The test is currently only

Re: [PATCH] test/T360-symbol-hiding: use readelf in place of nm

2020-12-12 Thread Tomi Ollila
On Fri, Dec 11 2020, David Bremner wrote: > It turns out that using nm -P isn't as portable as hoped. In particular on > architectures using ELF v1 (e.g. ppc64), the desired symbols end up in > the data section instead of text. > > The test is currently only functional on ELF based architectures,

[PATCH] test/T360-symbol-hiding: use readelf in place of nm

2020-12-11 Thread David Bremner
It turns out that using nm -P isn't as portable as hoped. In particular on architectures using ELF v1 (e.g. ppc64), the desired symbols end up in the data section instead of text. The test is currently only functional on ELF based architectures, so I think it's legit to depend on readelf instead