From patchwork Sat Dec 29 18:18:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: John David Anglin X-Patchwork-Id: 1019383 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-493186-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=bell.net Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="gIuigBEx"; dkim-atps=neutral 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 ozlabs.org (Postfix) with ESMTPS id 43RsKR75KLz9s3l for ; Sun, 30 Dec 2018 05:19:04 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to:cc :from:subject:message-id:date:mime-version:content-type; q=dns; s=default; b=acz0kLL11AiSJsCwDJq1qe6E9u0xGOmjue1fVqqg0Vz4kg90p7 7I7X0LYe6iwjs1gxWdPVVNINBZADqSaoyoSQ4uPJ2W0ob4j2/InBV/cgG5dyfHY2 PR8fLFdx3Ktzsa0BUhtA1UCsjm4yhmh6IK5eKTP2DfHaKtzVTBPF+nJik= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to:cc :from:subject:message-id:date:mime-version:content-type; s= default; bh=x7CJhbpEYT5VaCYSz4O3nY/dSU0=; b=gIuigBExlSGphNpsv5SK 80ZwWpVvC81zAl5CD7kTSUjTew6vFeM+nKj7Z8rF9vcOYuJfg8bcsGMKqV/Mu6Cc YHksH/lE2Va0h+TbQdqTCyI2PKUakI8MrgLRnXyHODCIO3u5TfuFzDsyexM2Q2+p z1IZ78LL5lafINaZzGvv1wI= Received: (qmail 74824 invoked by alias); 29 Dec 2018 18:18:57 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 74813 invoked by uid 89); 29 Dec 2018 18:18:57 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-12.6 required=5.0 tests=BAYES_00, GIT_PATCH_2, GIT_PATCH_3, KAM_SHORT, RCVD_IN_DNSWL_LOW, SPF_PASS, UNPARSEABLE_RELAY autolearn=ham version=3.3.2 spammy=U*danglin, danglingccgnuorg, danglin@gcc.gnu.org X-HELO: torfep02.bell.net Received: from simcoe208srvr.owm.bell.net (HELO torfep02.bell.net) (184.150.200.208) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 29 Dec 2018 18:18:55 +0000 Received: from bell.net torfep02 184.150.200.158 by torfep02.bell.net with ESMTP id <20181229181852.VZBU12500.torfep02.bell.net@torspm01.bell.net> for ; Sat, 29 Dec 2018 13:18:52 -0500 Received: from [192.168.2.49] (really [70.53.62.196]) by torspm01.bell.net with ESMTP id <20181229181852.PTYE10318.torspm01.bell.net@[192.168.2.49]>; Sat, 29 Dec 2018 13:18:52 -0500 To: GCC Patches Cc: Iain Buclaw From: John David Anglin Subject: [committed] : Enable building pa-d.c on all hppa targets Openpgp: preference=signencrypt Message-ID: Date: Sat, 29 Dec 2018 13:18:50 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.3 MIME-Version: 1.0 The attached patch enables building pa-c.d on all hppa targets.  Tested on hppa64-linux-gnu, hppa64-hp-hpux11.11 and hppa2.0w-hp-hpux11.11. https://gcc.gnu.org/ml/gcc-testresults/2018-12/msg03264.html https://gcc.gnu.org/ml/gcc-testresults/2018-12/msg02928.html As can be seen, the 64-bit test results are much better than the 32-bit results. Dave Index: config.gcc =================================================================== --- config.gcc (revision 267418) +++ config.gcc (working copy) @@ -1436,6 +1436,8 @@ tm_file="pa/pa64-start.h ${tm_file} dbxelf.h elfos.h gnu-user.h linux.h \ glibc-stdint.h pa/pa-linux.h pa/pa64-regs.h pa/pa-64.h \ pa/pa64-linux.h" + tmake_file="${tmake_file} pa/t-pa pa/t-linux" + d_target_objs="${d_target_objs} pa-d.o" gas=yes gnu_ld=yes ;; hppa*-*-linux*) @@ -1450,6 +1452,8 @@ tm_file="${tm_file} dbxelf.h elfos.h openbsd.h openbsd-stdint.h openbsd-libpthread.h \ pa/pa-openbsd.h pa/pa32-regs.h pa/pa32-openbsd.h" extra_options="${extra_options} openbsd.opt" + tmake_file="pa/t-pa" + d_target_objs="${d_target_objs} pa-d.o" gas=yes gnu_ld=yes ;; @@ -1470,7 +1474,8 @@ esac use_gcc_stdint=provide tm_file="${tm_file} hpux-stdint.h" - tmake_file="t-slibgcc" + tmake_file="pa/t-pa t-slibgcc" + d_target_objs="${d_target_objs} pa-d.o" case ${enable_threads} in "") if test x$have_pthread_h = xyes ; then @@ -1512,7 +1517,8 @@ esac extra_options="${extra_options} pa/pa-hpux.opt \ pa/pa-hpux1010.opt pa/pa64-hpux.opt hpux11.opt" - tmake_file="t-slibgcc" + tmake_file="pa/t-pa t-slibgcc" + d_target_objs="${d_target_objs} pa-d.o" case x${enable_threads} in x | xyes | xposix ) thread_file=posix @@ -1550,7 +1556,8 @@ extra_options="${extra_options} pa/pa-hpux1131.opt" ;; esac - tmake_file="t-slibgcc" + tmake_file="pa/t-pa t-slibgcc" + d_target_objs="${d_target_objs} pa-d.o" case x${enable_threads} in x | xyes | xposix ) thread_file=posix