powerpc: unrel_branch_check.sh: use nm to find symbol value
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 12 Aug 2020 08:10:35 +0000 (18:10 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 2 Sep 2020 01:00:22 +0000 (11:00 +1000)
commitb71dca9891b330d5c2d3ff5d41704aa6f64f8e32
tree5aca71a8a5a9f524396efef0186cd5e79271cc59
parentaf13a2244d59c4d63a25abd8257cbaef9d9ffebc
powerpc: unrel_branch_check.sh: use nm to find symbol value

This is considerably faster then parsing the objdump asm output.  It will
also make the enabling of llvm-objdump a little easier.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200812081036.7969-2-sfr@canb.auug.org.au
arch/powerpc/Makefile.postlink
arch/powerpc/tools/unrel_branch_check.sh