From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by sourceware.org (Postfix) with ESMTPS id 30B64385AC20 for ; Thu, 29 Jul 2021 07:18:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 30B64385AC20 Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 16T77CqQ043170 for ; Thu, 29 Jul 2021 03:18:25 -0400 Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 3a3fb0vq0q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 29 Jul 2021 03:18:25 -0400 Received: from m0098399.ppops.net (m0098399.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 16T77N2n044076 for ; Thu, 29 Jul 2021 03:18:24 -0400 Received: from ppma05wdc.us.ibm.com (1b.90.2fa9.ip4.static.sl-reverse.com [169.47.144.27]) by mx0a-001b2d01.pphosted.com with ESMTP id 3a3fb0vq0b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 29 Jul 2021 03:18:24 -0400 Received: from pps.filterd (ppma05wdc.us.ibm.com [127.0.0.1]) by ppma05wdc.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 16T72hbu026455; Thu, 29 Jul 2021 07:18:23 GMT Received: from b03cxnp08025.gho.boulder.ibm.com (b03cxnp08025.gho.boulder.ibm.com [9.17.130.17]) by ppma05wdc.us.ibm.com with ESMTP id 3a2364a6mn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 29 Jul 2021 07:18:23 +0000 Received: from b03ledav005.gho.boulder.ibm.com (b03ledav005.gho.boulder.ibm.com [9.17.130.236]) by b03cxnp08025.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 16T7IMCa27132164 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 29 Jul 2021 07:18:22 GMT Received: from b03ledav005.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6E837BE06F; Thu, 29 Jul 2021 07:18:22 +0000 (GMT) Received: from b03ledav005.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5932BBE065; Thu, 29 Jul 2021 07:18:22 +0000 (GMT) Received: from mww0272.dal12m.mail.ibm.com (unknown [9.208.64.29]) by b03ledav005.gho.boulder.ibm.com (Postfix) with ESMTPS; Thu, 29 Jul 2021 07:18:22 +0000 (GMT) MIME-Version: 1.0 In-Reply-To: <21185e6d3118c97c9dde66df366bb9ff3b31dede.camel@vnet.ibm.com> Subject: Re: [Patch v2] Handle .TOC. sections during gdb-compile for rs6000 target. To: "will schmidt" Cc: "Alan Modra" , "Carl E. Love" , "gdb-patches@sourceware.org" , "rogerio" Message-ID: From: "Ulrich Weigand" Date: Thu, 29 Jul 2021 09:18:18 +0200 References: <21185e6d3118c97c9dde66df366bb9ff3b31dede.camel@vnet.ibm.com> X-KeepSent: 78EDB233:0582DEBF-C1258721:00280644; name=$KeepSent; type=4 X-Mailer: IBM Notes Release 9.0.1FP7 Octobe4, 2013 X-Disclaimed: 46535 X-MIMETrack: CD-MIME by Router on MWW0272/03/M/IBM at 07/29/2021 07:18:22, CD-MIME complete at 07/29/2021 07:18:22,Itemize by Router on MWW0272/03/M/IBM at 07/29/2021 07:18:22 X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: OinzZrUPggDQk8zeQRm-BK05NcAS7SPw X-Proofpoint-GUID: fXbf7IDIrJrwLob_cechRtPLBgJ1-rui X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-07-29_06:2021-07-27, 2021-07-29 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 mlxlogscore=809 suspectscore=0 bulkscore=0 mlxscore=0 lowpriorityscore=0 spamscore=0 malwarescore=0 adultscore=0 priorityscore=1501 phishscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2107140000 definitions=main-2107290048 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, HTML_MESSAGE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, 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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jul 2021 07:18:29 -0000 "will schmidt" wrote on 28.07.2021 21:08:21: > + sym->section =3D toc=5Ffallback; > + sym->value =3D 0x8000; > + bfd=5Fset=5Fgp=5Fvalue(abfd.get(), toc=5Ffallback->vma); For compatibility with BFD, shouldn't this be rather: bfd=5Fset=5Fgp=5Fvalue(abfd.get(), toc=5Ffallback->vma + sym->value= ); Alan, can you confirm? Bye, Ulrich