From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS17314 8.43.84.0/22 X-Spam-Status: No, score=-3.8 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, PDS_RDNS_DYNAMIC_FP,RCVD_IN_DNSWL_HI,RDNS_DYNAMIC,SPF_HELO_PASS, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 325291F953 for ; Tue, 7 Dec 2021 15:46:21 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1B241385842D for ; Tue, 7 Dec 2021 15:46:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1B241385842D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1638891980; bh=Lf2VC2dixhEtpYYpO/Bg65Bq1FPUOFq6SBNUw0x/aWM=; h=To:Subject:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=nDOHBHYy7GjCqnQgzhcZ4VAwHIdjxyK8YolQi+wK3Mc/8yXCXnjpqhZmOaT316GLX 3i4AggcuBhGQC2DFqAVdt6BpBTspbe03tuNkdq7H+fi8+qlX9qxASdpab5AMc4DMOl t0tHTGCXiIhBg7IDHPSJWW30uUpbOxkPZ2v3Y0yk= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 0B84C3858C60 for ; Tue, 7 Dec 2021 15:46:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0B84C3858C60 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-125-sDO5ot06Mk-3J0XV8604Aw-1; Tue, 07 Dec 2021 10:45:56 -0500 X-MC-Unique: sDO5ot06Mk-3J0XV8604Aw-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 7F5A110247A7; Tue, 7 Dec 2021 15:45:55 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.39.193.123]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 75ADB13A58; Tue, 7 Dec 2021 15:45:54 +0000 (UTC) To: Adhemerval Zanella Subject: Re: [PATCH] elf: Add elf checks for main executable References: <20211119150329.2200675-1-adhemerval.zanella@linaro.org> <87bl1tmtxz.fsf@oldenburg.str.redhat.com> <873a6969-8c06-5233-2b4c-48360e120f07@linaro.org> <877dchlbb8.fsf@oldenburg.str.redhat.com> <6386c389-086d-e123-d4d6-a97777f207ed@linaro.org> Date: Tue, 07 Dec 2021 16:45:52 +0100 In-Reply-To: <6386c389-086d-e123-d4d6-a97777f207ed@linaro.org> (Adhemerval Zanella's message of "Mon, 6 Dec 2021 18:07:06 -0300") Message-ID: <87czm8quz3.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.79 on 10.5.11.13 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain 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: , From: Florian Weimer via Libc-alpha Reply-To: Florian Weimer Cc: GNU C Library Errors-To: libc-alpha-bounces+e=80x24.org@sourceware.org Sender: "Libc-alpha" * Adhemerval Zanella: > It does, but only for specific configurations. bintutils does have a > testcase for it, pr21375*, but not all configurations does bump because > they do not require ABS relocations (for instance, for n64 -mmicromips > --defsym hidn=1 does set the ABI version to 4). Should this tell us something at DT_RELR? That binutils doesn't help us to prevent crashes for other features? Thanks, Florian