From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-4.1 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 65FE51F463 for ; Sat, 28 Dec 2019 12:40:19 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=meobKXhSyy6yVRYg w4ZjgjmtXJLYG2eLkwVAn1UIrBwkPFKEYTzTzcELkylbFEM94oZ/XmsliVJNE6eo Z80f55d8M/RAP3CbE1t7YZcLqxAAVp3BmdsyJSruQMV2VzKiakrhqjYAj/iaUInS efoCk+8fr6FP5BqWLATdVCJsinE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=rl2D1mdaLzi513dHcHFTJL +tkhQ=; b=IHKEvWwqmXQCWNaFrS2l5SPrGVBHQIJ/Ngw3Y4bzWG7zqksQBGgUWj sTvzU5NcHrVUBCLoZoLoOuCsVFQp0v1RSx86Yjygqd32DXN6xZc8RyFUE4YsFfGb KYixxoKbf2DTy5KDk7pzgL/nGC+gdVA/UreyDRKOXzQ/B77J9J+0E= Received: (qmail 69079 invoked by alias); 28 Dec 2019 12:40:02 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 68923 invoked by uid 89); 28 Dec 2019 12:40:01 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: anteater.elm.relay.mailchannels.net X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|siddhesh@gotplt.org X-MailChannels-Auth-Id: dreamhost X-Duck-Inform: 4896c8b2561f1650_1577536797645_70847598 X-MC-Loop-Signature: 1577536797644:1338368990 X-MC-Ingress-Time: 1577536797644 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gotplt.org; h=subject:to :references:from:message-id:date:mime-version:in-reply-to :content-type:content-transfer-encoding; s=gotplt.org; bh=rl2D1m daLzi513dHcHFTJL+tkhQ=; b=o2nAq0zyDYQJANNdC3ssUlYDbi1yRXqmPoLbBU nQf7gJizQ6udyj6tW5v+oDycOHub0lB7jQ7dfyejiy1dDEL1D20SKxrHwQt0uG7A gIfyaJC3LA3L9BOT1BvUuyBKcstBxopvLBoW4HDSpFhVar6cVc4RhHD19IOtoFfT 1zpOE= Subject: Re: [PATCH 2/5] Linux: Use system call tables during build To: Florian Weimer , libc-alpha@sourceware.org References: <5aac813374bb5ec506c7bc3afe68eae55f783e42.1576588849.git.fweimer@redhat.com> X-DH-BACKEND: pdx1-sub0-mail-a21 From: Siddhesh Poyarekar Message-ID: <5983972e-ea89-c338-e2ac-22f79ae0df09@gotplt.org> Date: Sat, 28 Dec 2019 18:09:44 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: <5aac813374bb5ec506c7bc3afe68eae55f783e42.1576588849.git.fweimer@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedufedrvdeftddggeefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepuffvfhfhkffffgggjggtgfesthejredttdefjeenucfhrhhomhepufhiugguhhgvshhhucfrohihrghrvghkrghruceoshhiugguhhgvshhhsehgohhtphhlthdrohhrgheqnecukfhppedutdefrddvudelrdeitddrudeifeenucfrrghrrghmpehmohguvgepshhmthhppdhhvghloheplgduledvrdduieekrddvrdegngdpihhnvghtpedutdefrddvudelrdeitddrudeifedprhgvthhurhhnqdhprghthhepufhiugguhhgvshhhucfrohihrghrvghkrghruceoshhiugguhhgvshhhsehgohhtphhlthdrohhrgheqpdhmrghilhhfrhhomhepshhiugguhhgvshhhsehgohhtphhlthdrohhrghdpnhhrtghpthhtohepfhifvghimhgvrhesrhgvughhrghtrdgtohhmnecuvehluhhsthgvrhfuihiivgepvd On 17/12/19 8:00 pm, Florian Weimer wrote: > Use instead of to obtain the system > call numbers. A few direct includes of need to be > removed (if the system call numbers are already provided indirectly > by ) or replaced with . > > Current Linux headers for alpha define the required system call names, > so most of the _NR_* hacks are no longer needed. For the 32-bit arm > architecture, eliminate the INTERNAL_SYSCALL_ARM macro, now that we > have regular system call names for cacheflush and set_tls. There are > more such cleanup opportunities for other architectures, but these > cleanups are required to avoid macro redefinition errors during the > build. > > For ia64, it is desirable to use directly to obtain > the break number for system calls (which is not a system call number > itself). This requires replacing __BREAK_SYSCALL with > __IA64_BREAK_SYSCALL because the former is defined as an alias in > , but not in . > --- > NEWS | 3 +- > sysdeps/ia64/start.S | 1 - > sysdeps/microblaze/backtrace_linux.c | 2 +- > .../unix/sysv/linux/alpha/kernel-features.h | 5 ---- > sysdeps/unix/sysv/linux/alpha/sysdep.h | 25 ---------------- > sysdeps/unix/sysv/linux/arm/dl-machine.h | 2 +- > sysdeps/unix/sysv/linux/arm/sysdep.h | 4 --- > sysdeps/unix/sysv/linux/arm/tls.h | 2 +- > sysdeps/unix/sysv/linux/hppa/clone.S | 1 - > sysdeps/unix/sysv/linux/ia64/brk.S | 1 - > sysdeps/unix/sysv/linux/ia64/clone2.S | 4 +-- > sysdeps/unix/sysv/linux/ia64/syscall.S | 2 +- > sysdeps/unix/sysv/linux/ia64/sysdep.S | 2 +- > sysdeps/unix/sysv/linux/ia64/sysdep.h | 5 ++-- > sysdeps/unix/sysv/linux/include/sys/syscall.h | 29 +++++++++++++++++++ > sysdeps/unix/sysv/linux/mips/vfork.S | 1 - > sysdeps/unix/sysv/linux/nios2/sysdep.h | 1 - > sysdeps/unix/sysv/linux/riscv/flush-icache.c | 1 + > sysdeps/unix/sysv/linux/sparc/sparc32/clone.S | 1 - > sysdeps/unix/sysv/linux/sparc/sparc64/clone.S | 1 - > sysdeps/unix/sysv/linux/sys/syscall.h | 11 +++---- > 21 files changed, 46 insertions(+), 58 deletions(-) > create mode 100644 sysdeps/unix/sysv/linux/include/sys/syscall.h This is OK. Reviewed-by: Siddhesh Poyarekar