Root/
Source at commit fbf123cd4cc0c097fe9a99c90109ebb2a5e94a50 created 10 years 3 months ago. By Lars-Peter Clausen, dma: jz4740: Dequeue descriptor from active list before completing it | |
---|---|
1 | #!/bin/sh -x |
2 | # Based on the vmlinux file create the System.map file |
3 | # System.map is used by module-init tools and some debugging |
4 | # tools to retrieve the actual addresses of symbols in the kernel. |
5 | # |
6 | # Usage |
7 | # mksysmap vmlinux System.map |
8 | |
9 | |
10 | ##### |
11 | # Generate System.map (actual filename passed as second argument) |
12 | |
13 | # $NM produces the following output: |
14 | # f0081e80 T alloc_vfsmnt |
15 | |
16 | # The second row specify the type of the symbol: |
17 | # A = Absolute |
18 | # B = Uninitialised data (.bss) |
19 | # C = Common symbol |
20 | # D = Initialised data |
21 | # G = Initialised data for small objects |
22 | # I = Indirect reference to another symbol |
23 | # N = Debugging symbol |
24 | # R = Read only |
25 | # S = Uninitialised data for small objects |
26 | # T = Text code symbol |
27 | # U = Undefined symbol |
28 | # V = Weak symbol |
29 | # W = Weak symbol |
30 | # Corresponding small letters are local symbols |
31 | |
32 | # For System.map filter away: |
33 | # a - local absolute symbols |
34 | # U - undefined global symbols |
35 | # N - debugging symbols |
36 | # w - local weak symbols |
37 | |
38 | # readprofile starts reading symbols when _stext is found, and |
39 | # continue until it finds a symbol which is not either of 'T', 't', |
40 | # 'W' or 'w'. __crc_ are 'A' and placed in the middle |
41 | # so we just ignore them to let readprofile continue to work. |
42 | # (At least sparc64 has __crc_ in the middle). |
43 | |
44 | $NM -n $1 | grep -v '\( [aNUw] \)\|\(__crc_\)\|\( \$[adt]\)' > $2 |
45 |
Branches:
ben-wpan
ben-wpan-stefan
javiroman/ks7010
jz-2.6.34
jz-2.6.34-rc5
jz-2.6.34-rc6
jz-2.6.34-rc7
jz-2.6.35
jz-2.6.36
jz-2.6.37
jz-2.6.38
jz-2.6.39
jz-3.0
jz-3.1
jz-3.11
jz-3.12
jz-3.13
jz-3.15
jz-3.16
jz-3.18-dt
jz-3.2
jz-3.3
jz-3.4
jz-3.5
jz-3.6
jz-3.6-rc2-pwm
jz-3.9
jz-3.9-clk
jz-3.9-rc8
jz47xx
jz47xx-2.6.38
master
Tags:
od-2011-09-04
od-2011-09-18
v2.6.34-rc5
v2.6.34-rc6
v2.6.34-rc7
v3.9