Message ID | 20191107143205.206606-3-shile.zhang@linux.alibaba.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Speed booting by sorting ORC unwind tables at build time | expand |
diff --git a/scripts/link-vmlinux.sh b/scripts/link-vmlinux.sh index 06495379fcd8..43fe8c151c8d 100755 --- a/scripts/link-vmlinux.sh +++ b/scripts/link-vmlinux.sh @@ -183,6 +183,11 @@ sortextable() ${objtree}/scripts/sortextable ${1} } +sortorctable() +{ + ${objtree}/scripts/sortorctable ${1} +} + # Delete output files in case of error cleanup() { @@ -303,6 +308,11 @@ if [ -n "${CONFIG_BUILDTIME_EXTABLE_SORT}" ]; then sortextable vmlinux fi +if [ -n "${CONFIG_BUILDTIME_ORCTABLE_SORT}" ]; then + info SORTORC vmlinux + sortorctable vmlinux +fi + info SYSMAP System.map mksysmap vmlinux System.map