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 A50A13858D38 for ; Thu, 3 Nov 2022 10:26:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A50A13858D38 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=1667471167; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kZT+pOZnioVyj5xxB9zWQukqvKrlV/HfR3C50v4Nraw=; b=Cf/sswAtx+xboQF3RV+bC2Rp5J1eULeX2A3fTw4gs+7b3vhI+BB8b0uGg57f9bais//xbx bw50qqYNSSlOurIauq1Op0QiJgmZcuAbDPEbW2j7hn2zalzQ7EpuN07g/8y8cPzMJjiGPi 8xVBHLy0hUfN/o22lv+AfBCoJd0o3yU= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-477-fX32B4xwOHe2XIT8-EZANQ-1; Thu, 03 Nov 2022 06:26:06 -0400 X-MC-Unique: fX32B4xwOHe2XIT8-EZANQ-1 Received: by mail-wr1-f72.google.com with SMTP id m24-20020adfa3d8000000b00236774fd74aso342261wrb.8 for ; Thu, 03 Nov 2022 03:26:05 -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:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=kZT+pOZnioVyj5xxB9zWQukqvKrlV/HfR3C50v4Nraw=; b=hR9E8IL/j7FubhMsp18swm/KkEz6qrtrLGJsRBveKwo+ryBRWYXYF9L01x3/IZptuB 14PKPdC6LiGM/SIPrItJWLr1oEe7Siy3nV6qW+LsqU/p5lJoFZzJk3VKJdfeA8S/9INK v/2vqF1zCmh4OXiiv8R/3rcVokIK5BHfrCwchf87wdM281uarTH+w9ZR9/ZAMREd/kw+ IFWsQc1IzX5Ga1BMOLNcouucFg2AxSUmt+ozM3n1NVwD4xVKUwuvu1AJrFxFaF2qdLPx zPjvTSYx76xOKRMsYtZRIwl8hexEtAUbafqaJf1wwge2QZ8h6ZPAWDHRUF7oyIr1bIY/ ZpKw== X-Gm-Message-State: ACrzQf0lQW54UINoPJMW2d4m9N/Cp8yeQVn0zjw74gzQ0dxdb73Wwv13 YMrdEijWmA8JkTK1ziFkZHmix57xcTaxdJ7+JwYLNLuCfF+4HMjZBx9FnF1Oa7FTC0i/9v/MBxN 4C2H6ltcMrIWAn7XsVQ== X-Received: by 2002:a5d:5942:0:b0:225:7425:4e39 with SMTP id e2-20020a5d5942000000b0022574254e39mr17822899wri.566.1667471165142; Thu, 03 Nov 2022 03:26:05 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5Nf/Nj7TIx/Kc6TjL8kzLSlV19uic3C0NMO3KWKYmYSDOiuiJfoXv3DwTVoiKXokw9IgWQvQ== X-Received: by 2002:a5d:5942:0:b0:225:7425:4e39 with SMTP id e2-20020a5d5942000000b0022574254e39mr17822878wri.566.1667471164879; Thu, 03 Nov 2022 03:26:04 -0700 (PDT) Received: from [192.168.1.18] (adsl-164-85.freeuk.com. [80.168.164.85]) by smtp.gmail.com with ESMTPSA id z11-20020a5d654b000000b0023662d97130sm488167wrv.20.2022.11.03.03.26.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Nov 2022 03:26:04 -0700 (PDT) Message-ID: Date: Thu, 3 Nov 2022 10:26:03 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: [PATCH v3] Support multiple .eh_frame sections To: Jojo R , binutils@sourceware.org References: <20221102080112.33378-1-rjiejie@linux.alibaba.com> <20221103020409.37322-1-rjiejie@linux.alibaba.com> From: Nick Clifton In-Reply-To: <20221103020409.37322-1-rjiejie@linux.alibaba.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.7 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_NONE,RCVD_IN_MSPIKE_H2,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 Jojo, > This patch is based on MULTIPLE_FRAME_SECTIONS and EH_FRAME_LINKONCE, > it allows backend to enable this feature and use '--gc-sections' simply. > > * gas/dw2gencfi.h (TARGET_MULTIPLE_EH_FRAME_SECTIONS): New. > (MULTIPLE_FRAME_SECTIONS): Add TARGET_MULTIPLE_EH_FRAME_SECTIONS. > * gas/dw2gencfi.c (EH_FRAME_LINKONCE): Add TARGET_MULTIPLE_EH_FRAME_SECTIONS. > (is_now_linkonce_segment): Likewise. > (get_cfi_seg): Create relocation info between .eh_frame.* and .text.* section. > > * bfd/elf-bfd.h (elf_backend_can_make_multiple_eh_frame): New. > * bfd/elfxx-target.h (elf_backend_can_make_multiple_eh_frame): Likewise. > * bfd/elflink.c (_bfd_elf_default_action_discarded): Add checking for > elf_backend_can_make_multiple_eh_frame. Approved - please apply. Cheers Nick