Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96905
b: refs/heads/master
c: aab34ac
h: refs/heads/master
i:
  96903: 13bf54c
v: v3
  • Loading branch information
Sam Ravnborg committed May 19, 2008
1 parent e16ce00 commit a357a40
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1f5d3a6b6532e25a5cdf1f311956b2b03d343a48
refs/heads/master: aab34ac8582303ef57b792710fc5dd5991477475
3 changes: 3 additions & 0 deletions trunk/scripts/kallsyms.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ static int read_symbol(FILE *in, struct sym_entry *s)
/* exclude also MIPS ELF local symbols ($L123 instead of .L123) */
else if (str[0] == '$')
return -1;
/* exclude debugging symbols */
else if (stype == 'N')
return -1;

/* include the type field in the symbol name, so that it gets
* compressed together */
Expand Down
3 changes: 2 additions & 1 deletion trunk/scripts/mksysmap
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
# For System.map filter away:
# a - local absolute symbols
# U - undefined global symbols
# N - debugging symbols
# w - local weak symbols

# readprofile starts reading symbols when _stext is found, and
Expand All @@ -40,5 +41,5 @@
# so we just ignore them to let readprofile continue to work.
# (At least sparc64 has __crc_ in the middle).

$NM -n $1 | grep -v '\( [aUw] \)\|\(__crc_\)\|\( \$[adt]\)' > $2
$NM -n $1 | grep -v '\( [aNUw] \)\|\(__crc_\)\|\( \$[adt]\)' > $2

0 comments on commit a357a40

Please sign in to comment.