xref: /kernel/linux/linux-6.6/arch/x86/um/vdso/checkundef.sh
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/arch/x86/um/vdso/
162306a36Sopenharmony_ci#!/bin/sh
262306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
362306a36Sopenharmony_cinm="$1"
462306a36Sopenharmony_cifile="$2"
562306a36Sopenharmony_ci$nm "$file" | grep '^ *U' > /dev/null 2>&1
662306a36Sopenharmony_ciif [ $? -eq 1 ]; then
762306a36Sopenharmony_ci    exit 0
862306a36Sopenharmony_cielse
962306a36Sopenharmony_ci    echo "$file: undefined symbols found" >&2
1062306a36Sopenharmony_ci    exit 1
1162306a36Sopenharmony_cifi
12

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