From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id GHl7Kgh5smCbfgAAWB0awg (envelope-from ) for ; Sat, 29 May 2021 13:25:28 -0400 Received: by simark.ca (Postfix, from userid 112) id A61881F11E; Sat, 29 May 2021 13:25:28 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 02C521EE1B for ; Sat, 29 May 2021 13:25:21 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 333AC383D01D; Sat, 29 May 2021 17:25:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 333AC383D01D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1622309120; bh=DaAiGF2olBANMTt9AjsoCps58+7tFA+kRIykzLrwGQI=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=B41ZF6BsK8emZ4CpcqPN2jmmrMCLPIQeJsE81t6p/rz0bZaU9gBu0//udCXH2VPw4 yBZwlp/OqNRl/PGkdVGJrVbeHP1e4/dnZVGJB5m7TPU//PZvVNH8Qk3aAMlXkTnb1t uXql+eCDz3YgksJY1g++DvhIqNirZsrGGnKbV07U= Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id 4BA48385383B for ; Sat, 29 May 2021 17:25:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 4BA48385383B Received: from vapier.lan (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 95238335CD6 for ; Sat, 29 May 2021 17:25:12 +0000 (UTC) To: gdb-patches@sourceware.org Subject: [PATCH 2/4] sim: v850: assume chown is available Date: Sat, 29 May 2021 13:25:08 -0400 Message-Id: <20210529172510.16285-2-vapier@gentoo.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210529172510.16285-1-vapier@gentoo.org> References: <20210529172510.16285-1-vapier@gentoo.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Mike Frysinger via Gdb-patches Reply-To: Mike Frysinger Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" Now that gnulib provides a wrapper, assume it always exists. --- sim/v850/config.in | 3 --- sim/v850/configure | 7 ++----- sim/v850/configure.ac | 2 +- sim/v850/simops.c | 2 -- 4 files changed, 3 insertions(+), 11 deletions(-) diff --git a/sim/v850/config.in b/sim/v850/config.in index 74af5e5087e0..b6a4255b404b 100644 --- a/sim/v850/config.in +++ b/sim/v850/config.in @@ -13,9 +13,6 @@ /* Define to 1 if you have the `chmod' function. */ #undef HAVE_CHMOD -/* Define to 1 if you have the `chown' function. */ -#undef HAVE_CHOWN - /* Define to 1 if you have the header file. */ #undef HAVE_DLFCN_H diff --git a/sim/v850/configure b/sim/v850/configure index bc49f306a27f..29999bde7019 100755 --- a/sim/v850/configure +++ b/sim/v850/configure @@ -2321,7 +2321,6 @@ as_fn_append ac_func_list " utime" as_fn_append ac_func_list " fork" as_fn_append ac_func_list " execve" as_fn_append ac_func_list " execv" -as_fn_append ac_func_list " chown" as_fn_append ac_header_list " utime.h" # Check that the precious variables saved in the cache have kept the same # value. @@ -11220,7 +11219,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11223 "configure" +#line 11222 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11326,7 +11325,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11329 "configure" +#line 11328 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12057,8 +12056,6 @@ fi - - # Check whether --enable-werror was given. if test "${enable_werror+set}" = set; then : enableval=$enable_werror; case "${enableval}" in diff --git a/sim/v850/configure.ac b/sim/v850/configure.ac index f2edf1f7c480..892e78b90ff3 100644 --- a/sim/v850/configure.ac +++ b/sim/v850/configure.ac @@ -9,7 +9,7 @@ SIM_AC_OPTION_ALIGNMENT(,NONSTRICT_ALIGNMENT) SIM_AC_OPTION_RESERVED_BITS SIM_AC_OPTION_BITSIZE(32,31) -AC_CHECK_FUNCS_ONCE(chmod utime fork execve execv chown) +AC_CHECK_FUNCS_ONCE(chmod utime fork execve execv) AC_CHECK_HEADERS_ONCE(utime.h) SIM_AC_OUTPUT diff --git a/sim/v850/simops.c b/sim/v850/simops.c index 62a2bbcbb615..689dfe1d0313 100644 --- a/sim/v850/simops.c +++ b/sim/v850/simops.c @@ -1859,7 +1859,6 @@ OP_10007E0 (void) break; #endif -#ifdef HAVE_CHOWN #ifdef TARGET_SYS_chown case TARGET_SYS_chown: { @@ -1870,7 +1869,6 @@ OP_10007E0 (void) } break; #endif -#endif #if HAVE_CHMOD #ifdef TARGET_SYS_chmod -- 2.31.1