{"id":809322,"url":"http://patchwork.ozlabs.org/api/patches/809322/?format=json","web_url":"http://patchwork.ozlabs.org/project/gcc/patch/20170903151648.GA14025@SDF.ORG/","project":{"id":17,"url":"http://patchwork.ozlabs.org/api/projects/17/?format=json","name":"GNU Compiler Collection","link_name":"gcc","list_id":"gcc-patches.gcc.gnu.org","list_email":"gcc-patches@gcc.gnu.org","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170903151648.GA14025@SDF.ORG>","list_archive_url":null,"date":"2017-09-03T15:16:48","name":"Add netbsd-stdint.h to several netbsd targets","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"7e08280b2a4926beeaae4cf1c4b03eb5d459e0af","submitter":{"id":69881,"url":"http://patchwork.ozlabs.org/api/people/69881/?format=json","name":"Maya Rashish","email":"coypu@sdf.org"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/gcc/patch/20170903151648.GA14025@SDF.ORG/mbox/","series":[{"id":1248,"url":"http://patchwork.ozlabs.org/api/series/1248/?format=json","web_url":"http://patchwork.ozlabs.org/project/gcc/list/?series=1248","date":"2017-09-03T15:16:48","name":"Add netbsd-stdint.h to several netbsd targets","version":1,"mbox":"http://patchwork.ozlabs.org/series/1248/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/809322/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/809322/checks/","tags":{},"related":[],"headers":{"Return-Path":"<gcc-patches-return-461361-incoming=patchwork.ozlabs.org@gcc.gnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","mailing list gcc-patches@gcc.gnu.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org\n\t(client-ip=209.132.180.131; helo=sourceware.org;\n\tenvelope-from=gcc-patches-return-461361-incoming=patchwork.ozlabs.org@gcc.gnu.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (1024-bit key;\n\tunprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org\n\theader.b=\"Lsb3QMJQ\"; dkim-atps=neutral","sourceware.org; auth=none"],"Received":["from sourceware.org (server1.sourceware.org [209.132.180.131])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xlc5y5dLMz9s3w\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon,  4 Sep 2017 01:17:08 +1000 (AEST)","(qmail 85924 invoked by alias); 3 Sep 2017 15:17:00 -0000","(qmail 85904 invoked by uid 89); 3 Sep 2017 15:16:59 -0000","from mx.sdf.org (HELO mx.sdf.org) (205.166.94.20) by\n\tsourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP;\n\tSun, 03 Sep 2017 15:16:54 +0000","from sdf.org (IDENT:coypu@sdf.lonestar.org [205.166.94.15])\tby\n\tmx.sdf.org (8.15.2/8.14.5) with ESMTPS id\n\tv83FGopb023398\t(using TLSv1.2 with cipher\n\tDHE-RSA-AES256-GCM-SHA384 (256 bits) verified NO);\n\tSun, 3 Sep 2017 15:16:50 GMT","(from coypu@localhost)\tby sdf.org (8.15.2/8.12.8/Submit) id\n\tv83FGmC2016961; Sun, 3 Sep 2017 15:16:48 GMT"],"DomainKey-Signature":"a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id\n\t:list-unsubscribe:list-archive:list-post:list-help:sender:date\n\t:from:to:cc:subject:message-id:mime-version:content-type; q=dns;\n\ts=default; b=szXmAsbOF9UPma9Y38YnyK/m2BIb5CLL69mP/c5PyJXR3COtCw\n\t57uxUILZpdRCnUISHIe3FOPx3j4bChJy7IErb2z1Qf0iAKcwHrnYW7cCBOz7NtNz\n\tk1clmzfZk9dfAVT/fDsePN9c+RXhP5AXSb6POTRA1offHBPT1cXkiGIb8=","DKIM-Signature":"v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id\n\t:list-unsubscribe:list-archive:list-post:list-help:sender:date\n\t:from:to:cc:subject:message-id:mime-version:content-type; s=\n\tdefault; bh=AV94WXm1Jf8bFXcFXdggYjg/KeU=; b=Lsb3QMJQV7tlGcdWdsTJ\n\t1O4v68EWarSAZ0/X/rX/DU8KUWgZntkZfttTuDaiMCkxT+5rMZP93fY92+G7JV0h\n\tOkzgtL9X7llr5kTh/VQDDHCLCI4cY6W5fVHusMV7VVDarANfcxooErMlTUjx9Mww\n\t/FNAd5q2uhAAyyKH8fBrViA=","Mailing-List":"contact gcc-patches-help@gcc.gnu.org; run by ezmlm","Precedence":"bulk","List-Id":"<gcc-patches.gcc.gnu.org>","List-Unsubscribe":"<mailto:gcc-patches-unsubscribe-incoming=patchwork.ozlabs.org@gcc.gnu.org>","List-Archive":"<http://gcc.gnu.org/ml/gcc-patches/>","List-Post":"<mailto:gcc-patches@gcc.gnu.org>","List-Help":"<mailto:gcc-patches-help@gcc.gnu.org>","Sender":"gcc-patches-owner@gcc.gnu.org","X-Virus-Found":"No","X-Spam-SWARE-Status":"No, score=-24.6 required=5.0 tests=AWL, BAYES_00,\n\tGIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3,\n\tKAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_NONE,\n\tRP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=","X-HELO":"mx.sdf.org","Date":"Sun, 3 Sep 2017 15:16:48 +0000","From":"Maya Rashish <coypu@sdf.org>","To":"gcc-patches@gcc.gnu.org","Cc":"krister.walfridsson@gmail.com, coypu@sdf.org","Subject":"[PATCH] Add netbsd-stdint.h to several netbsd targets","Message-ID":"<20170903151648.GA14025@SDF.ORG>","MIME-Version":"1.0","Content-Type":"text/plain; charset=us-ascii","Content-Disposition":"inline","User-Agent":"Mutt/1.8.3 (2017-05-23)"},"content":"grouping netbsd.h netbsd-stdint.h netbsd-elf.h as \"nbsd_tm_file\",\nsimilar to freebsd.\n\nI've only tested some of the archs, but the change originates in\nnetbsd's copy of GCC, so it should be safe for the untested ones as\nwell.\n\n---\n gcc/config.gcc | 21 +++++++++++----------\n 1 file changed, 11 insertions(+), 10 deletions(-)","diff":"diff --git a/gcc/config.gcc b/gcc/config.gcc\nindex 428e99a10..efbb49226 100644\n--- a/gcc/config.gcc\n+++ b/gcc/config.gcc\n@@ -799,6 +799,7 @@ case ${target} in\n   case ${enable_threads} in\n     \"\" | yes | posix) thread_file='posix' ;;\n   esac\n+  nbsd_tm_file=\"netbsd.h netbsd-stdint.h netbsd-elf.h\"\n   default_use_cxa_atexit=yes\n   ;;\n *-*-openbsd*)\n@@ -1002,7 +1003,7 @@ alpha*-*-freebsd*)\n \textra_options=\"${extra_options} alpha/elf.opt\"\n \t;;\n alpha*-*-netbsd*)\n-\ttm_file=\"elfos.h ${tm_file} netbsd.h alpha/elf.h netbsd-elf.h alpha/netbsd.h\"\n+\ttm_file=\"elfos.h ${tm_file} ${nbsd_tm_file} alpha/elf.h alpha/netbsd.h\"\n \ttmake_file=\"${tmake_file} alpha/t-alpha\"\n \textra_options=\"${extra_options} netbsd.opt netbsd-elf.opt \\\n \t\t       alpha/elf.opt\"\n@@ -1102,7 +1103,7 @@ arm*-*-freebsd*)                # ARM FreeBSD EABI\n \twith_tls=${with_tls:-gnu}\n \t;;\n arm*-*-netbsdelf*)\n-\ttm_file=\"dbxelf.h elfos.h netbsd.h netbsd-elf.h arm/elf.h arm/aout.h ${tm_file} arm/netbsd-elf.h\"\n+\ttm_file=\"dbxelf.h elfos.h ${nbsd_tm_file} arm/elf.h arm/aout.h ${tm_file} arm/netbsd-elf.h\"\n \textra_options=\"${extra_options} netbsd.opt netbsd-elf.opt\"\n \ttmake_file=\"${tmake_file} arm/t-arm\"\n \ttarget_cpu_cname=\"arm6\"\n@@ -1487,11 +1488,11 @@ x86_64-*-freebsd*)\n \ttm_file=\"${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/x86-64.h i386/freebsd.h i386/freebsd64.h\"\n \t;;\n i[34567]86-*-netbsdelf*)\n-\ttm_file=\"${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-stdint.h netbsd-elf.h i386/netbsd-elf.h\"\n+\ttm_file=\"${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${nbsd_tm_file} i386/netbsd-elf.h\"\n \textra_options=\"${extra_options} netbsd.opt netbsd-elf.opt\"\n \t;;\n x86_64-*-netbsd*)\n-\ttm_file=\"${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-stdint.h netbsd-elf.h i386/x86-64.h i386/netbsd64.h\"\n+\ttm_file=\"${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${nbsd_tm_file} i386/x86-64.h i386/netbsd64.h\"\n \textra_options=\"${extra_options} netbsd.opt netbsd-elf.opt\"\n \t;;\n i[34567]86-*-openbsd*)\n@@ -2074,7 +2075,7 @@ riscv*-*-elf* | riscv*-*-rtems*)\n \t;;\n mips*-*-netbsd*)\t\t\t# NetBSD/mips, either endian.\n \ttarget_cpu_default=\"MASK_ABICALLS\"\n-\ttm_file=\"elfos.h ${tm_file} mips/elf.h netbsd.h netbsd-elf.h mips/netbsd.h\"\n+\ttm_file=\"elfos.h ${tm_file} mips/elf.h ${nbsd_tm_file} mips/netbsd.h\"\n \textra_options=\"${extra_options} netbsd.opt netbsd-elf.opt\"\n \t;;\n mips*-img-linux*)\n@@ -2390,7 +2391,7 @@ powerpc*-*-freebsd*)\n \tesac\n \t;;\n powerpc-*-netbsd*)\n-\ttm_file=\"${tm_file} dbxelf.h elfos.h netbsd.h netbsd-elf.h freebsd-spec.h rs6000/sysv4.h rs6000/netbsd.h\"\n+\ttm_file=\"${tm_file} ${nbsd_tm_file} dbxelf.h elfos.h freebsd-spec.h rs6000/sysv4.h rs6000/netbsd.h\"\n \textra_options=\"${extra_options} netbsd.opt netbsd-elf.opt\"\n \ttmake_file=\"${tmake_file} rs6000/t-netbsd\"\n \textra_options=\"${extra_options} rs6000/sysv4.opt\"\n@@ -2732,7 +2733,7 @@ sh-*-elf* | sh[12346l]*-*-elf* | \\\n \t\t\tfi\n \t\t\ttm_file=\"${tm_file} gnu-user.h linux.h glibc-stdint.h sh/linux.h\" ;;\n \tsh*-*-netbsd*)\n-\t\t\ttm_file=\"${tm_file} netbsd.h netbsd-elf.h sh/netbsd-elf.h\"\n+\t\t\ttm_file=\"${tm_file} ${nbsd_tm_file} sh/netbsd-elf.h\"\n \t\t\textra_options=\"${extra_options} netbsd.opt netbsd-elf.opt\"\n \n \t\t\t;;\n@@ -2892,7 +2893,7 @@ sparc-*-linux*)\n \tfi\n \t;;\n sparc-*-netbsdelf*)\n-\ttm_file=\"${tm_file} dbxelf.h elfos.h sparc/sysv4.h netbsd.h netbsd-elf.h sparc/netbsd-elf.h\"\n+\ttm_file=\"${tm_file} dbxelf.h elfos.h sparc/sysv4.h ${nbsd_tm_file} sparc/netbsd-elf.h\"\n \textra_options=\"${extra_options} netbsd.opt netbsd-elf.opt\"\n \textra_options=\"${extra_options} sparc/long-double-switch.opt\"\n \ttmake_file=\"${tmake_file} sparc/t-sparc\"\n@@ -2940,7 +2941,7 @@ sparc64-*-freebsd*|ultrasparc-*-freebsd*)\n \t;;\n sparc64-*-netbsd*)\n \ttm_file=\"sparc/biarch64.h ${tm_file}\"\n-\ttm_file=\"${tm_file} dbxelf.h elfos.h sparc/sysv4.h netbsd.h netbsd-elf.h sparc/netbsd-elf.h\"\n+\ttm_file=\"${tm_file} dbxelf.h elfos.h sparc/sysv4.h ${nbsd_tm_file} sparc/netbsd-elf.h\"\n \textra_options=\"${extra_options} netbsd.opt netbsd-elf.opt\"\n \textra_options=\"${extra_options} sparc/long-double-switch.opt\"\n \ttmake_file=\"${tmake_file} sparc/t-sparc sparc/t-netbsd64\"\n@@ -3044,7 +3045,7 @@ vax-*-linux*)\n \textra_options=\"${extra_options} vax/elf.opt\"\n \t;;\n vax-*-netbsdelf*)\n-\ttm_file=\"${tm_file} elfos.h netbsd.h netbsd-elf.h vax/elf.h vax/netbsd-elf.h\"\n+\ttm_file=\"${tm_file} elfos.h ${nbsd_tm_file} vax/elf.h vax/netbsd-elf.h\"\n \textra_options=\"${extra_options} netbsd.opt netbsd-elf.opt vax/elf.opt\"\n \t;;\n vax-*-openbsd*)\n","prefixes":[]}