From patchwork Mon Sep 20 11:17:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 45178 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 413BD3858414 for ; Mon, 20 Sep 2021 11:17:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 413BD3858414 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1632136657; bh=Di8Gz7bCC+gJkf7FHhvY1xPXJBHDK9bthS4iJ6txYAQ=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=pEmtnyQtEbEqD6eEMDBvuMM2N5TciBDW77mh0+N1xYhT0BQqu8oCcBAC4qIqJSMa1 b3oD7G+X5N0X4oIL8dcWM468G/QsY6OUvKgD5JknbLl0t8G2U6dpFG8UfjdnvWGfvJ NvFCpnPkBRSjsx1udsXgbiyxF+l2Kuh2MduaJTHo= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTP id 2CF8D3858C60 for ; Mon, 20 Sep 2021 11:17:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 2CF8D3858C60 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-302-zWqUJslSM9ucXrnEw-6jfA-1; Mon, 20 Sep 2021 07:17:13 -0400 X-MC-Unique: zWqUJslSM9ucXrnEw-6jfA-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 939C9824FA6 for ; Mon, 20 Sep 2021 11:17:12 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.39.192.16]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6044C101F68C for ; Mon, 20 Sep 2021 11:17:11 +0000 (UTC) To: libc-alpha@sourceware.org Subject: [PATCH] elf: Include in elf/dl-debug-symbols.S Date: Mon, 20 Sep 2021 13:17:09 +0200 Message-ID: <87h7ef4hu2.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-13.2 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Florian Weimer via Libc-alpha From: Florian Weimer Reply-To: Florian Weimer Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" This is necessary to generate assembler marker sections on some targets. Reviewed-by: Szabolcs Nagy --- Built with build-many-glibcs.py. elf/dl-debug-symbols.S | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/elf/dl-debug-symbols.S b/elf/dl-debug-symbols.S index b7e9f5d947..28456ab1f2 100644 --- a/elf/dl-debug-symbols.S +++ b/elf/dl-debug-symbols.S @@ -18,6 +18,10 @@ . */ #include +#include + +/* Some targets define a macro to denote the zero register. */ +#undef zero /* Define 2 symbols, _r_debug_extended and _r_debug, which is an alias of _r_debug_extended, but with the size of struct r_debug. */