Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a7dbb464 authored by Jeevan Shriram's avatar Jeevan Shriram
Browse files

ABI: Update section name in script and internal allowed list



With commit 'e8332176 ANDROID: KMI symbol lists: migrate section name'
section name is updated for allowed list. Update the usage to
symbol_list in script as well.

Change-Id: Ie6aa6706405a8b0a79359d4314679c48e42160db
Signed-off-by: default avatarJeevan Shriram <jshriram@codeaurora.org>
parent 935a33f1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
# List of symbols exported by QCOM in-kernel drivers and used by external DLKMs
# QCOM internal whitelist
[abi_whitelist]
[abi_symbol_list]
  cnss_lock_pm_sem
  cnss_release_pm_sem
  cnss_get_fw_files_for_target
+2 −2
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@ EOT
sed 's/ko$/mod/' $modlist |
xargs -n1 sed -n -e '2{s/ /\n/g;/^$/!p;}' -- |
cat - $ksym_wls |
sed 's/^#.*//;s/^ *//;/[[abi_whitelist]]/g' |
sed 's/^#.*//;s/^ *//;/[[abi_symbol_list]]/g' |
sort -u |
sed -e 's/\(.*\)/#define __KSYM_\1 1/' >> "$output_file"

@@ -62,7 +62,7 @@ if [ -n "$CONFIG_UNUSED_KSYMS_WHITELIST_ONLY" ] && [ -f "vmlinux" ] ; then
	syms_from_vmlinux="$(mktemp)"

	cat $ksym_wls |
	sed 's/^#.*//;s/^ *//;/[[abi_whitelist]]/g' |
	sed 's/^#.*//;s/^ *//;/[[abi_symbol_list]]/g' |
	sort -u > "$syms_from_whitelist"

	$NM --defined-only vmlinux |