mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
8a865c11ec
Also show loading progress on the screen because it looks neat.
9 lines
265 B
Bash
9 lines
265 B
Bash
#!/bin/sh
|
|
tmp=$(mktemp)
|
|
nm -C kernel > $tmp
|
|
perl -lpe '$_=hex' $tmp | paste -d" " - $tmp | sort -n | cut -d" " -f 2- > kernel.map.tmp
|
|
printf "%08x\n" $(wc -l kernel.map.tmp | cut -f1 -d' ') > kernel.map
|
|
cat kernel.map.tmp >> kernel.map
|
|
rm -f kernel.map.tmp
|
|
rm $tmp
|