tags, powerpc: Update tags.sh to support _GLOBAL symbols
authorIan Munsie <imunsie@au1.ibm.com>
Tue, 30 Aug 2011 01:47:58 +0000 (11:47 +1000)
committerMichal Marek <mmarek@suse.cz>
Wed, 31 Aug 2011 14:31:18 +0000 (16:31 +0200)
commit9c65426ad2cce12a2d72cdb42aa08f7ce946065d
treeda315dbe194704887f301b8f95afa660068914f6
parent09d481270d445d98342d8ab872f05491b6d23f8b
tags, powerpc: Update tags.sh to support _GLOBAL symbols

On PowerPC we use _GLOBAL throughout the assembly to define symbols, but
currently these symbols are missing from the tags generated with
ARCH=powerpc make tags. This patch modifies the tags.sh script to
recognise _GLOBAL(.*) so that these symbols will be in the tags.

This is almost (but not quite) PowerPC specific and this change should
not affect anyone else:

$ git grep -E '^_GLOBAL\(([^)]*)\).*' |sed 's/^\([^/]*\/[^/]*\)\/.*$/\1/'|uniq -c
    627 arch/powerpc
      2 arch/um

Signed-off-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/tags.sh