From patchwork Tue Jul 25 02:29:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jim Wilson X-Patchwork-Id: 108605 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp40848qge; Mon, 24 Jul 2017 19:30:07 -0700 (PDT) X-Received: by 10.84.218.139 with SMTP id r11mr19660068pli.25.1500949807629; Mon, 24 Jul 2017 19:30:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500949807; cv=none; d=google.com; s=arc-20160816; b=haorLcV8x1QaS59ippsKKCjWL5OfBk0CT5V0+6YWHaD3CCyMp+jFnJQMxi8cdvb+jf jGZLf9hkZe7kuaWCuq6bP1Opa9m1p64yJnLzGzNHhmqSPxkI0EFvWydL9p4YVLSe4K/W KOlYBoTWDkagkdP/AcR9Axj+WkhjjAVxJzjnZc3xfIq0DOZmmkN3VJspkOMmgAaEnyUG iUcdWOptveeMb+2azGDvTybu9iQbvcfVYvi83U/v1AlItfK5MykafXVKCDdmzJRgP7hK Z3fAqg8S4dO17l5RdarVPsvc2L5N5Re1B/G97nQkUuoVf0S71+vHO7qyJ4sxsWFjqyIE jv9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:delivered-to:sender:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence :mailing-list:dkim-signature:domainkey-signature :arc-authentication-results; bh=XN03hpe+XmZ6XZk1Dtn50yWpAE/FlVTlpsWUCh6w6G4=; b=rOMdiq2b3OpESk1sS02F1Qe3dXPEMh/f0vkd5F447xHQtzCkFPEzws729RySjHR4ja k3asZLRR9BSEgKFzZ1XkI67lK2W2ud3J6inr+5JnkFOBX19b3mRW3PoWba1Og9rh5Ho1 bDc9ysIu/LLW/90d4z3SGGjEAVIy1Te62BnAjK5mGD7Q3uiiJEIBd1J3YIqsjmeuHedf KgXQPCcb93I1HUiVHQJu3nqE1cAvkjwZOkP27Fm2ZFSzISJU0vP2nesgc50Ql/k6fmR6 jXrhx9gVgNClSfDq+7ybfqpFiyn33W7pmxThPDYmDUowith4bCABePV3OdbNw4Sk1UWL pV/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.b=cK0jnYvf; spf=pass (google.com: domain of gcc-patches-return-458835-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-458835-patch=linaro.org@gcc.gnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id r39si7822244pld.197.2017.07.24.19.30.07 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Jul 2017 19:30:07 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-458835-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.b=cK0jnYvf; spf=pass (google.com: domain of gcc-patches-return-458835-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-458835-patch=linaro.org@gcc.gnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id; q=dns; s=default; b=dqv3lS0ni60e lBryeo/79YF4ylYanMYWh0m+CJR2MwOhBZaRWWxB+47UcuqjPg7whxJWn1MttuVM TM1sJ2ldE1ZA0OtMfHtrDj2Qocv0odPhgQOYpXtPJlgWf/2ZtDhn+h4UZXi8tkyC 2WXO+rY8E6KDU0b7LEkxIhzpQdkoLG4= 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:from :to:cc:subject:date:message-id; s=default; bh=6RXk2/1YfuEym2FSsz ydddFWsD0=; b=cK0jnYvfFtZIYqKl8h8sL1z5y73muRHx8EMT0kNfYgVCo4t6Q2 ydcyvLTYxIEAJxYHUp/Va9/xzdL+0pOdMxoEpLLIQq6w3u1g7Vw7eRn5dkvNTiYO 3oYDN+tvc8NIBxrN0xUBYRgItSm1AxpxBssBAOrqmrVNC5silixUSwoi4= Received: (qmail 76239 invoked by alias); 25 Jul 2017 02:29:49 -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 76206 invoked by uid 89); 25 Jul 2017 02:29:48 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.4 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM, SPF_PASS autolearn=ham version=3.3.2 spammy=19992017, 1999-2017, recovers X-HELO: mail-oi0-f50.google.com Received: from mail-oi0-f50.google.com (HELO mail-oi0-f50.google.com) (209.85.218.50) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 25 Jul 2017 02:29:46 +0000 Received: by mail-oi0-f50.google.com with SMTP id x3so37111151oia.1 for ; Mon, 24 Jul 2017 19:29:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=XN03hpe+XmZ6XZk1Dtn50yWpAE/FlVTlpsWUCh6w6G4=; b=hOnkgUfcb+nKtdVtyS5LvPM21EUcD7SG6OodsPGh99M9ZX0hQ2iLLZAAbBFCScgRCV OVuSpP8TmMhMdQT5JYkfW3meL3R5eh7jZv6Cxv2NoMZ2mV4aXOqOjQX0FxskVlW9Mc1A WZefL64mL3i3tPWd14xXrmXm9rzXgVvgC6GDW5bWMil3sj6HRHCe0Mb4blMekiUKRe52 AYxHvop2Scc7Bn+tPcSiCThF0gw8wJcZmRbDOYp459m9is0ZS68QsaE8386SQrKm8bJ+ E5f5kzyrHEecKVJTt9da1DCBvhRUy29aBr7KUrgEx0HZ5Kdmd8EvMGjN1sb1tn9B1SgR 17Yg== X-Gm-Message-State: AIVw111tYEw/u+OBWfjPhw2j3R15Jcjwmh5tnepPwtzjFyobMrqNXUS0 KZ2IzH/9kQPvbTAw2AK9xw== X-Received: by 10.202.186.84 with SMTP id k81mr7931021oif.155.1500949784240; Mon, 24 Jul 2017 19:29:44 -0700 (PDT) Received: from weathertop.attlocal.net ([2602:306:80a3:c890:201:73ff:fe02:1650]) by smtp.gmail.com with ESMTPSA id p65sm13446093oie.8.2017.07.24.19.29.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 24 Jul 2017 19:29:42 -0700 (PDT) From: Jim Wilson To: gcc-patches@gcc.gnu.org Cc: Jim Wilson Subject: [PATCH] Delete files unused since openbsd 2 & 3 support was dropped. Date: Mon, 24 Jul 2017 19:29:25 -0700 Message-Id: <1500949765-3577-1-git-send-email-jim.wilson@linaro.org> Trevor Saunders deleted the x86 openbsd 2 & 3 support here. https://gcc.gnu.org/ml/gcc-patches/2016-06/msg01368.html With that change, there are now 3 unused files that he missed. I noticed the gstabs.h file while looking at debugging info related files, and then did a consistency check and noticed the other two. Jeff Law preapproved the gstabs.h change, but I still need approval for the other two files. OK? Jim gcc/ * config/i386/gstabs.h: Delete. * config/i386/openbsd.h, config/i386/t-openbsd: Likewise. --- gcc/config/i386/gstabs.h | 7 ---- gcc/config/i386/openbsd.h | 101 ---------------------------------------------- gcc/config/i386/t-openbsd | 4 -- 3 files changed, 112 deletions(-) delete mode 100644 gcc/config/i386/gstabs.h delete mode 100644 gcc/config/i386/openbsd.h delete mode 100644 gcc/config/i386/t-openbsd -- 2.7.4 diff --git a/gcc/config/i386/gstabs.h b/gcc/config/i386/gstabs.h deleted file mode 100644 index e9a6218..0000000 --- a/gcc/config/i386/gstabs.h +++ /dev/null @@ -1,7 +0,0 @@ -/* We do not want to output SDB debugging information. */ - -#undef SDB_DEBUGGING_INFO - -/* We want to output DBX debugging information. */ - -#define DBX_DEBUGGING_INFO 1 diff --git a/gcc/config/i386/openbsd.h b/gcc/config/i386/openbsd.h deleted file mode 100644 index 7d37c0d..0000000 --- a/gcc/config/i386/openbsd.h +++ /dev/null @@ -1,101 +0,0 @@ -/* Configuration for an OpenBSD i386 target. - Copyright (C) 1999-2017 Free Software Foundation, Inc. - -This file is part of GCC. - -GCC is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -GCC is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GCC; see the file COPYING3. If not see -. */ - - -/* This goes away when the math-emulator is fixed */ -#undef TARGET_SUBTARGET_DEFAULT -#define TARGET_SUBTARGET_DEFAULT \ - (MASK_80387 | MASK_IEEE_FP | MASK_FLOAT_RETURNS | MASK_NO_FANCY_MATH_387) - -#define TARGET_OS_CPP_BUILTINS() \ - do \ - { \ - builtin_define ("__unix__"); \ - builtin_define ("__OpenBSD__"); \ - builtin_assert ("system=unix"); \ - builtin_assert ("system=bsd"); \ - builtin_assert ("system=OpenBSD"); \ - } \ - while (0) - -/* Layout of source language data types. */ - -/* This must agree with */ -#undef SIZE_TYPE -#define SIZE_TYPE "unsigned int" - -#undef PTRDIFF_TYPE -#define PTRDIFF_TYPE "int" - -#undef WCHAR_TYPE -#define WCHAR_TYPE "int" - -#undef WCHAR_TYPE_SIZE -#define WCHAR_TYPE_SIZE 32 - -/* Assembler format: overall framework. */ - -#undef ASM_APP_ON -#define ASM_APP_ON "#APP\n" - -#undef ASM_APP_OFF -#define ASM_APP_OFF "#NO_APP\n" - -/* Stack & calling: aggregate returns. */ - -/* Don't default to pcc-struct-return, because gcc is the only compiler, and - we want to retain compatibility with older gcc versions. */ -#define DEFAULT_PCC_STRUCT_RETURN 0 - -/* Assembler format: alignment output. */ - -/* Kludgy test: when gas is upgraded, it will have p2align, and no problems - with nops. */ -#ifndef HAVE_GAS_MAX_SKIP_P2ALIGN -/* i386 OpenBSD still uses an older gas that doesn't insert nops by default - when the .align directive demands to insert extra space in the text - segment. */ -#undef ASM_OUTPUT_ALIGN -#define ASM_OUTPUT_ALIGN(FILE,LOG) \ - if ((LOG)!=0) fprintf ((FILE), "\t.align %d,0x90\n", (LOG)) -#endif - -/* Stack & calling: profiling. */ - -/* OpenBSD's profiler recovers all information from the stack pointer. - The icky part is not here, but in machine/profile.h. */ -#undef FUNCTION_PROFILER -#define FUNCTION_PROFILER(FILE, LABELNO) \ - fputs (flag_pic ? "\tcall mcount@PLT\n": "\tcall mcount\n", FILE); - -/* Assembler format: exception region output. */ - -/* All configurations that don't use elf must be explicit about not using - dwarf unwind information. */ -#define DWARF2_UNWIND_INFO 0 - -#undef ASM_PREFERRED_EH_DATA_FORMAT - -#undef ASM_COMMENT_START -#define ASM_COMMENT_START ";#" - -/* OpenBSD gas currently does not support quad, so do not use it. */ -#undef ASM_QUAD - -#define TARGET_HAVE_NAMED_SECTIONS false diff --git a/gcc/config/i386/t-openbsd b/gcc/config/i386/t-openbsd deleted file mode 100644 index 4f8ff65..0000000 --- a/gcc/config/i386/t-openbsd +++ /dev/null @@ -1,4 +0,0 @@ -# gdb gets confused if pic code is linked with non pic -# We cope by building variants of libgcc. -MULTILIB_OPTIONS = fpic -MULTILIB_MATCHES=fpic=fPIC