From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 350F83854172 for ; Fri, 30 Sep 2022 10:51:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 350F83854172 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1664535105; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Xri2PUpPT0Wy8VmiA2Ro9shDORd+4PkLWdkBKOWEyDg=; b=Rs4LkcrepZNTqiIFNWSk9xI4mt/2Qjvn0h5ENiVOmIDgAtErLRhXPCat1z+9N2gcTu64BT Pe4h3lYoMGafLLkoNykba/IVa9gb6kq3XaEjX6E2bFZKG6vT2a57TqaxUua2bHNWrd7xTI be+VO3eD1QgtQPR+VzvCYq87iQaIOTQ= Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-657-RCir-QCeM6qrqzj4Bn4mxA-1; Fri, 30 Sep 2022 06:51:44 -0400 X-MC-Unique: RCir-QCeM6qrqzj4Bn4mxA-1 Received: by mail-qk1-f198.google.com with SMTP id n13-20020a05620a294d00b006cf933c40feso3483037qkp.20 for ; Fri, 30 Sep 2022 03:51:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:subject:from:references:cc:to :content-language:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=Xri2PUpPT0Wy8VmiA2Ro9shDORd+4PkLWdkBKOWEyDg=; b=TMhHoV5SFVWrlwPaZoRPscpK8ezIFbHS7SaWFP6VCG/ZcHnSyXm7BdLG6up6woF0uW JBfsWnIcRsxiZLsy0veKjRYffV7Mmb0QMVH87bXSAdUWFNjyZ3M8XcxXissAUp5BkBMg hxbl6eZWpOYxSVCJk5YeLXe5Am0SDakMZ9N03N9Tvs+XxIlVlwF9fqfDw4L6LzV4nuEA FTMtAAsSgPVItng0Ey9d5jt9hNN3p8iosHPd67QPUUT4hoWrpwonkoyoiTyQ5HbkXlBc on3Y+QyhISbegccLOHdbS9GU7IzjwdsURkANs2sall2mmz+PNzxEybX7/1iMrPI0YeNT uApQ== X-Gm-Message-State: ACrzQf2PQ7ctcDEKDI51xVCl5UeYDrNhv38CkTdVPHx8rYXlwOBGU7MS E/qM2IqkMYraNwFxnEhWeM1hnxOCCaWynGfv3iCcQ5WYDRz7gIpzBZJ4XcG0ySavxzWCqwgmpOl dVZZldPk56xFjCaJR/Q== X-Received: by 2002:a05:620a:f15:b0:6cf:1efa:3705 with SMTP id v21-20020a05620a0f1500b006cf1efa3705mr5424019qkl.439.1664535104356; Fri, 30 Sep 2022 03:51:44 -0700 (PDT) X-Google-Smtp-Source: AMsMyM48qKqZDHlysLmJsTT9bAZ5sj7MnGKtzA41OzKI2zRtwdVuFLmkuGDP21Eho6bv8oXfYFgMHA== X-Received: by 2002:a05:620a:f15:b0:6cf:1efa:3705 with SMTP id v21-20020a05620a0f1500b006cf1efa3705mr5424009qkl.439.1664535104167; Fri, 30 Sep 2022 03:51:44 -0700 (PDT) Received: from [192.168.1.18] ([79.123.82.157]) by smtp.gmail.com with ESMTPSA id ay9-20020a05620a178900b006aedb35d8a1sm2419411qkb.74.2022.09.30.03.51.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 30 Sep 2022 03:51:43 -0700 (PDT) Message-ID: <5c72a29c-4b6e-86b9-fa1b-753297d3ec98@redhat.com> Date: Fri, 30 Sep 2022 11:51:42 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 To: Indu Bhagat , binutils@sourceware.org Cc: weimin.pan@oracle.com References: <20220930000440.1672106-1-indu.bhagat@oracle.com> <20220930000440.1672106-7-indu.bhagat@oracle.com> From: Nick Clifton Subject: Re: [PATCH,V1 06/14] bfd: linker: merge .sframe sections In-Reply-To: <20220930000440.1672106-7-indu.bhagat@oracle.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-GB Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi Indu, > ld/testsuite/ChangeLog: > > * ld/testsuite/ld-aarch64/aarch64-elf.exp: Add new test > sframe-simple-1. > * ld/testsuite/ld-aarch64/sframe-bar.s: New file. > * ld/testsuite/ld-aarch64/sframe-foo.s: Likewise. > * ld/testsuite/ld-aarch64/sframe-simple-1.d: Likewise. > * ld/testsuite/ld-sframe/sframe-empty.d: New test. > * ld/testsuite/ld-sframe/sframe-empty.s: New file. > * ld/testsuite/ld-sframe/sframe.exp: New testsuite. Unfortunately I have found one way to make this new test fail: Executing on host: sh -c {./ld-new -z norelro -L/work/sources/binutils/upstream/current/ld/testsuite/ld-aarch64 -shared -o tmpdir/dump tmpdir/sframe-foo.o tmpdir/sframe-bar.o 2>&1} /dev/null dump.tmp (timeout = 300) spawn [open ...] succeeded with: , no expected output FAIL: Simple link The cause was the fact that I was using a big-endian, 32-bit AArch64 toolchain. Ie one configured as --target=aarch64_be-linux-gnu_ilp32 Not your typical configuration, but a valid one nonetheless. Cheers Nick