aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/link-vmlinux.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/link-vmlinux.sh')
-rw-r--r--scripts/link-vmlinux.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/link-vmlinux.sh b/scripts/link-vmlinux.sh
index 1f4c27bd5d2a..cd9c6c6bb4c9 100644
--- a/scripts/link-vmlinux.sh
+++ b/scripts/link-vmlinux.sh
@@ -93,6 +93,11 @@ mksysmap()
93 ${CONFIG_SHELL} "${srctree}/scripts/mksysmap" ${1} ${2} 93 ${CONFIG_SHELL} "${srctree}/scripts/mksysmap" ${1} ${2}
94} 94}
95 95
96sortextable()
97{
98 ${objtree}/scripts/sortextable ${1}
99}
100
96# Delete output files in case of error 101# Delete output files in case of error
97trap cleanup SIGHUP SIGINT SIGQUIT SIGTERM ERR 102trap cleanup SIGHUP SIGINT SIGQUIT SIGTERM ERR
98cleanup() 103cleanup()
@@ -192,6 +197,11 @@ fi
192info LD vmlinux 197info LD vmlinux
193vmlinux_link "${kallsymso}" vmlinux 198vmlinux_link "${kallsymso}" vmlinux
194 199
200if [ -n "${CONFIG_BUILDTIME_EXTABLE_SORT}" ]; then
201 info SORTEX vmlinux
202 sortextable vmlinux
203fi
204
195info SYSMAP System.map 205info SYSMAP System.map
196mksysmap vmlinux System.map 206mksysmap vmlinux System.map
197 207