From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by sourceware.org (Postfix) with ESMTPS id A85E13858002 for ; Thu, 11 Nov 2021 10:37:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A85E13858002 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1636627052; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references; bh=6tUQ5CNUfHmipQv2Flywhww5Rx2fRIeE206ytIetNFM=; b=Ll4sPxWZopEFaY+Gr6o2itqQsDj7z/ktyl44Dgrv7rhM+krPqNGa+QV0mybcfLolfXAOnx /ZqvHA2aM+Nlz00NgKFjNeVOWTvX84wTLThIjXyxQnLa1CIEW9PNLCTx9cswXRdF6DgfwM Z70/g5gIGY8UUzmw7p5E+idczIJeljA= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-511-0NUxZSVFPWWrlmRRPNfGBg-1; Thu, 11 Nov 2021 05:37:30 -0500 X-MC-Unique: 0NUxZSVFPWWrlmRRPNfGBg-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 149E287D544 for ; Thu, 11 Nov 2021 10:37:30 +0000 (UTC) Received: from calimero.vinschen.de (ovpn-112-10.ams2.redhat.com [10.36.112.10]) by smtp.corp.redhat.com (Postfix) with ESMTPS id DA77510190A7 for ; Thu, 11 Nov 2021 10:37:29 +0000 (UTC) Received: by calimero.vinschen.de (Postfix, from userid 500) id 753AAA80457; Thu, 11 Nov 2021 11:37:28 +0100 (CET) Date: Thu, 11 Nov 2021 11:37:28 +0100 From: Corinna Vinschen To: newlib@sourceware.org Subject: Re: [PATCH] change _COMPILING_NEWLIB to _LIBC Message-ID: Reply-To: newlib@sourceware.org Mail-Followup-To: newlib@sourceware.org References: <20211109032414.15448-1-vapier@gentoo.org> MIME-Version: 1.0 In-Reply-To: <20211109032414.15448-1-vapier@gentoo.org> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=vinschen@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2021 10:37:34 -0000 On Nov 8 22:24, Mike Frysinger wrote: > Use the same name as glibc & gnulib to indicate "newlib itself is > being compiled". This also harmonizes the codebase a bit in that > _LIBC was already used in places instead of _COMPILING_NEWLIB. > > Building for bfin-elf, mips-elf, and x86_64-pc-cygwin produces > the same object code. > --- > newlib/configure.host | 2 +- > newlib/libc/include/ctype.h | 4 ++-- > newlib/libc/include/dirent.h | 2 +- > newlib/libc/include/locale.h | 2 +- > newlib/libc/include/reent.h | 2 +- > newlib/libc/include/stdio.h | 12 ++++++------ > newlib/libc/include/sys/_default_fcntl.h | 2 +- > newlib/libc/include/sys/features.h | 2 +- > newlib/libc/include/sys/signal.h | 4 ++-- > newlib/libc/include/sys/stat.h | 4 ++-- > newlib/libc/include/sys/time.h | 2 +- > newlib/libc/include/sys/times.h | 2 +- > newlib/libc/include/sys/unistd.h | 2 +- > newlib/libc/include/sys/wait.h | 2 +- > newlib/libc/machine/cris/sys/fcntl.h | 2 +- > newlib/libc/machine/mips/memcpy.S | 2 +- > newlib/libc/machine/mips/memset.S | 2 +- > newlib/libc/machine/mips/strcmp.S | 2 +- > winsup/cygwin/dir.cc | 2 +- > winsup/cygwin/fhandler_cygdrive.cc | 2 +- > winsup/cygwin/fhandler_dev.cc | 2 +- > winsup/cygwin/fhandler_disk_file.cc | 2 +- > winsup/cygwin/fhandler_proc.cc | 2 +- > winsup/cygwin/fhandler_process.cc | 2 +- > winsup/cygwin/fhandler_procsysvipc.cc | 2 +- > winsup/cygwin/fhandler_registry.cc | 2 +- > winsup/cygwin/include/cygwin/config.h | 6 +++--- > winsup/cygwin/include/cygwin/stat.h | 2 +- > winsup/cygwin/include/cygwin/stdlib.h | 2 +- > winsup/cygwin/include/getopt.h | 2 +- > winsup/cygwin/include/machine/_types.h | 2 +- > winsup/cygwin/include/sys/dirent.h | 2 +- > winsup/cygwin/include/sys/syslimits.h | 2 +- > winsup/cygwin/include/sys/wait.h | 2 +- > winsup/cygwin/math/complex_internal.h | 2 +- > 35 files changed, 45 insertions(+), 45 deletions(-) Can you please rebase your patch to the latest master? It doesn't apply for testing. Thanks, Corinna