From patchwork Tue Dec 20 18:57:50 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 707541 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 3tjn9j5mcFz9tkH for ; Wed, 21 Dec 2016 05:58:16 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="rquOG8j6"; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:cc:subject:message-id:reply-to:mime-version :content-type; q=dns; s=default; b=uWZBb/glHfivShnRYqVdWTKJl1znc vD8hTg8B+pVKgL8nmlsLPTZSDHhUuTY9bvAgNA9hB1tlm8C1pw/UUxBaUyfZDleG THaAxiWfZ7eP1t8zhARfGVzC5KMJyZvSNa6SGCfpjtN7ASlw6zqotStlYaWgGLm7 vJTTsEIZFvI+HQ= 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:date :from:to:cc:subject:message-id:reply-to:mime-version :content-type; s=default; bh=CCFh3QR7ZA3+w+Lod8KDHpSfHG0=; b=rqu OG8j6GaPIJMpFOKLcUQx2KWaanD13qqu4pUROwzBUvDzOO8PhLM03nB/LyCOkCsi QhQi73f29ilNBgqvpKUbcCaQL7UPUWjKTiLyk5/lF3H3jMwrr591A2J6JJsz4w1z YHIj0dB1cYnX05VsGDfCk++nOHTSEDUpMCjnni4Q= Received: (qmail 27799 invoked by alias); 20 Dec 2016 18:58:07 -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 27787 invoked by uid 89); 20 Dec 2016 18:58:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.0 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=UD:dwarf2.def, dwarf2def, dwarf2.def, 20161031 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 20 Dec 2016 18:57:56 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7FAF783F3E for ; Tue, 20 Dec 2016 18:57:55 +0000 (UTC) Received: from tucnak.zalov.cz (ovpn-116-54.ams2.redhat.com [10.36.116.54]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id uBKIvrBI003033 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 20 Dec 2016 13:57:54 -0500 Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.15.2/8.15.2) with ESMTP id uBKIvp55029321; Tue, 20 Dec 2016 19:57:51 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.15.2/8.15.2/Submit) id uBKIvo6i029320; Tue, 20 Dec 2016 19:57:50 +0100 Date: Tue, 20 Dec 2016 19:57:50 +0100 From: Jakub Jelinek To: Jason Merrill Cc: gcc-patches@gcc.gnu.org, Mark Wielaard Subject: [PATCH] Replace DW_FORM_ref_sup with DW_FORM_ref_sup{4,8} Message-ID: <20161220185750.GL21933@tucnak> Reply-To: Jakub Jelinek MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.7.1 (2016-10-04) X-IsSubscribed: yes Hi! Recently DW_FORM_ref_sup (which is meant e.g. for dwz, gcc doesn't emit it) has been renamed to DW_FORM_ref_sup4 (and changed so that it is always 4 byte) and DW_FORM_ref_sup8 (always 8 byte) has been added. Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2016-12-20 Jakub Jelinek * dwarf2.def (DW_FORM_ref_sup): Renamed to ... (DW_FORM_ref_sup4): ... this. New form. (DW_FORM_ref_sup8): New form. Jakub --- include/dwarf2.def.jj 2016-10-31 13:28:05.000000000 +0100 +++ include/dwarf2.def 2016-12-19 11:40:07.303525953 +0100 @@ -212,13 +212,14 @@ DW_FORM (DW_FORM_ref_sig8, 0x20) /* DWARF 5. */ DW_FORM (DW_FORM_strx, 0x1a) DW_FORM (DW_FORM_addrx, 0x1b) -DW_FORM (DW_FORM_ref_sup, 0x1c) +DW_FORM (DW_FORM_ref_sup4, 0x1c) DW_FORM (DW_FORM_strp_sup, 0x1d) DW_FORM (DW_FORM_data16, 0x1e) DW_FORM (DW_FORM_line_strp, 0x1f) DW_FORM (DW_FORM_implicit_const, 0x21) DW_FORM (DW_FORM_loclistx, 0x22) DW_FORM (DW_FORM_rnglistx, 0x23) +DW_FORM (DW_FORM_ref_sup8, 0x24) /* Extensions for Fission. See http://gcc.gnu.org/wiki/DebugFission. */ DW_FORM (DW_FORM_GNU_addr_index, 0x1f01) DW_FORM (DW_FORM_GNU_str_index, 0x1f02)