mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
7 lines
179 B
Bash
7 lines
179 B
Bash
#!/bin/sh
|
|
tmp=$(mktemp)
|
|
nm -nC kernel | awk '{ if ($2 != "a") print; }' | uniq > $tmp
|
|
printf "%08x\n" $(wc -l $tmp | cut -f1 -d' ') > kernel.map
|
|
cat $tmp >> kernel.map
|
|
rm -f $tmp
|