xref: /kernel/linux/linux-5.10/arch/x86/um/vdso/checkundef.sh
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/arch/x86/um/vdso/
18c2ecf20Sopenharmony_ci#!/bin/sh
28c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
38c2ecf20Sopenharmony_cinm="$1"
48c2ecf20Sopenharmony_cifile="$2"
58c2ecf20Sopenharmony_ci$nm "$file" | grep '^ *U' > /dev/null 2>&1
68c2ecf20Sopenharmony_ciif [ $? -eq 1 ]; then
78c2ecf20Sopenharmony_ci    exit 0
88c2ecf20Sopenharmony_cielse
98c2ecf20Sopenharmony_ci    echo "$file: undefined symbols found" >&2
108c2ecf20Sopenharmony_ci    exit 1
118c2ecf20Sopenharmony_cifi
12

Indexes created Thu Nov 07 10:32:03 CST 2024