From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cmx-mtlrgo002.bell.net (mta-mtl-002.bell.net [209.71.208.12]) by sourceware.org (Postfix) with ESMTP id 313E73AA8014 for ; Tue, 30 Aug 2022 19:51:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 313E73AA8014 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=bell.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=bell.net X-RG-CM-BuS: 0 X-RG-CM-SC: 0 X-RG-CM: Clean X-Originating-IP: [174.95.58.43] X-RG-Env-Sender: dave.anglin@bell.net X-RG-Rigid: 63083FE8007EDEA3 X-CM-Envelope: MS4xfLl6KfscMnjySjVJskdZTxNS9wbKBNJGcpYF+obBBiY8wYzhWrU+bR859A0FWTvhvcSmCl9edKsMD5ltY7ab8X0+8/9OeTDB2peNHJszGvUzjx/5NYNg uv0mXjYWAKCQZwWkLFUy1EYI27Xxezo6XxL41lrZFN+moNmmR6xp9CZ9EAyurE1Id3Ap2or6tW1RyFA0UsjZBAF3OOEDuDzm5vUDywaoMHIL+LEEWCJdPhoS KwlVfHXy4HpJI5ITWB0z4h9FuK4dBrlsEa/dCZLTkfT9lSa6v2l3C45AFkjP5Hm5Dw8imiIPxe2ZchjWTCqZzw== X-CM-Analysis: v=2.4 cv=FMx4e8ks c=1 sm=1 tr=0 ts=630e6a56 a=oiJDitmlNOPgVxj52MZyFw==:117 a=oiJDitmlNOPgVxj52MZyFw==:17 a=IkcTkHD0fZMA:10 a=FBHGMhGWAAAA:8 a=DBrPsatWdJl5Ycxl72sA:9 a=QEXdDO2ut3YA:10 a=9gvnlMMaQFpL9xblJ6ne:22 Received: from [192.168.2.49] (174.95.58.43) by cmx-mtlrgo002.bell.net (5.8.807) (authenticated as dave.anglin@bell.net) id 63083FE8007EDEA3; Tue, 30 Aug 2022 15:51:50 -0400 Message-ID: Date: Tue, 30 Aug 2022 15:51:51 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: [PATCH] 32-bit PA-RISC with HP-UX: remove deprecated ports Content-Language: en-US To: =?UTF-8?Q?Martin_Li=c5=a1ka?= , gcc-patches@gcc.gnu.org References: <7181be4a-33bf-5092-0782-a951cdb63ee8@bell.net> From: John David Anglin In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, BODY_8BITS, GIT_PATCH_0, KAM_DMARC_STATUS, NICE_REPLY_A, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Aug 2022 19:51:56 -0000 Message-ID: <20220830195151.N6ndohK_hRLUhFYoPaKXqThhRbxdqIlzzp876efBQxo@z> On 2022-08-29 10:06 a.m., Martin Liška wrote: > Thanks for the feedback, can you please check the updated version of the patch? @@ -353,9 +347,6 @@ proc check_weak_available { } {  # return 1 if weak undefined symbols are supported.  proc check_effective_target_weak_undefined { } { -    if { [istarget hppa*-*-hpux*] } { -       return 0 -    } This code needs to be retained for hppa64. @@ -562,7 +553,6 @@ proc check_effective_target_trampolines { } {      if { [istarget avr-*-*]          || [istarget msp430-*-*]          || [istarget nvptx-*-*] -        || [istarget hppa2.0w-hp-hpux11.23]          || [istarget hppa64-hp-hpux11.23]          || [istarget pru-*-*]          || [istarget bpf-*-*] } { The above looks odd.  As far as I know, support for trampolines doesn't depend in any way on hpux11.23. I suspect the hppa64 line can be removed as well. @@ -1,4 +0,0 @@ -# The ada virtual array implementation requires that indexing be disabled on -# hosts such as hpux that use a segmented memory architecture. Both the c -# and ada files need to be compiled with this option for correct operation. -ADA_CFLAGS = -mdisable-indexing -D_X_HPUX10 diff --git a/config/mmap.m4 b/config/mmap.m4 index fba0d9d3657..53e5215d833 100644 --- a/config/mmap.m4 +++ b/config/mmap.m4 @@ -42,7 +42,7 @@ else     # Systems known to be in this category are Windows (all variants),     # VMS, and Darwin.     case "$host_os" in -     *vms* | cygwin* | pe | mingw* | darwin* | ultrix* | hpux10* | hpux11.00) +     *vms* | cygwin* | pe | mingw* | darwin* | ultrix* | hpux11.00)          gcc_cv_func_mmap_dev_zero=no ;;       *)          gcc_cv_func_mmap_dev_zero=yes;; Strictly, all hpux versions up to and including hpux11.00 don't have /dev/zero. Dave -- John David Anglin dave.anglin@bell.net