From: Cody P Schafer Date: Fri, 10 Aug 2012 22:22:51 +0000 (-0700) Subject: perf symbols: Don't try to synthesize plt without dynstr X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~97^2~31^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52f9ddba516214a59fdd8eb155b2583ab314dc31;p=pandora-kernel.git perf symbols: Don't try to synthesize plt without dynstr If .dynsym exists but .dynstr is empty (NO_BITS or size==0), a segfault occurs. Avoid this by checking that .dynstr is not empty. Signed-off-by: Cody P Schafer Cc: David Hansen Cc: Ingo Molnar Cc: Matt Hellsley Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Sukadev Bhattiprolu Link: http://lkml.kernel.org/r/1344637382-22789-6-git-send-email-cody@linux.vnet.ibm.com Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed