elfdump: handles the extern symbol case in the syminfo table
authorYann Rouillard <yann@pleiades.fr.eu.org>
Fri, 10 May 2013 12:43:03 +0000 (14:43 +0200)
committerYann Rouillard <yann@pleiades.fr.eu.org>
Fri, 10 May 2013 12:43:03 +0000 (14:43 +0200)
scripts/elfdump.py

index b96f17c33135798cd7649a6015e322d7d77aab37..eb149dd85468615c0ce335439b30af4b784e4b8a 100755 (executable)
@@ -99,6 +99,8 @@ class Elfdump(object):
                     boundto = '<self>'
                 elif syminfo['si_boundto'] == 0xfffe:
                     boundto = '<parent>'
+                elif syminfo['si_boundto'] == 0xfffc:
+                    boundto = '<extern>'
                 elif syminfo['si_boundto'] == 0xfffd:
                     boundto = ''
                 else: