From 59db30fd59be83edcf4da7268bc1b0b2d1d4e0c2 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Tue, 3 May 2022 20:19:02 +0800 Subject: [PATCH] tools/nxstyle: Add __sFILE_fake(defined by newlib) to the white list Signed-off-by: Xiang Xiao --- tools/nxstyle.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/nxstyle.c b/tools/nxstyle.c index eeb67997c0..0ddfb4bda1 100644 --- a/tools/nxstyle.c +++ b/tools/nxstyle.c @@ -219,6 +219,10 @@ static const char *g_white_list[] = "__gnu_Unwind_Find_exidx", + /* Ref: lib_impure.c */ + + "__sFILE_fake", + /* Ref: stdlib.h */ "_Exit",