This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
RE: RFC: Is it OK to disassemble instructions twice ?
- From: Tamar Christina <Tamar dot Christina at arm dot com>
- To: "nickc at redhat dot com" <nickc at redhat dot com>, Florian Weimer <fweimer at redhat dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>, nd <nd at arm dot com>
- Date: Mon, 19 Aug 2019 14:12:22 +0000
- Subject: RE: RFC: Is it OK to disassemble instructions twice ?
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TUfA09Ay6nntA85R8w02V55TpJW5Y+1lu9qohVvx2e0=; b=iURIQ3P+g7KkXut/WjlPuaskd7K0IF6npBFle6waQdXWiHlKmIK3Le2250L7xasMRy4TiAExkkuV+IWzYCX+A+8xLEFE38zerWQJTy5qxto7vPAp2n0uc1rawxf2kXcN/yyIVLBQYLlmi1g/8NTiLysKYCDvYsvySObp+rts+UJF/+vm013XkVjmnIlOSTL4yuFyKNUyYAHQzmHqCTmRHaj7hllkKgkqcL5HBS7cgGSezpTgu5H95Yw54136a4p/rx8voZiJf39QFQCxMAa3IsSbUbPhtuueQW+8ewVjQEKIPmF+O7AcTd1tr+Gpkl2tNQMdYcxrMEH9ZVlDKlr2dQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SUqjEK9NY9W+2k6VtfegpKHi0Zax1I/tqXyR5lfOgRr5ThtKiMhvOKz1JtcfJiTrrEMZCL08oKvS27XlzfFFNZq+wgtQk7t6QV8O4lrfP48wdBNdl2hQsCg8vsd0G4Jd5kbaPbCcZi15sAhEnmOZdeD0MjtlSLM78aRhfT9xt/Fk+e/vCsBn6zO5KqbrWXgtVpRlr1gP/Wl/x4cDwjgjJfqqOpLSweEbzCs8hZ0YekZfVJzrR/migd1VYuAhCoOeJJlLmfbr13MwLAWqhs6aDzg+6G+6tdJox7yyAul5G3dagivUyor92YXxXfFaU/PnYADiHRhaERc6V/k0dZVKSw==
- Original-authentication-results: spf=none (sender IP is ) smtp.mailfrom=Tamar dot Christina at arm dot com;
- References: <87k1bdmsiq.fsf@redhat.com> <DB6PR0802MB2309CB6ECB62E427D6343D4DFFAF0@DB6PR0802MB2309.eurprd08.prod.outlook.com> <87sgq11g3a.fsf@oldenburg2.str.redhat.com> <12d9e0a5-b292-db8d-728c-e600f46f7a16@redhat.com> <DB6PR0802MB2309B01C4B197CCAB473D040FFAF0@DB6PR0802MB2309.eurprd08.prod.outlook.com> <c71d4aae-e4b9-3a93-3bae-d1900d65f67e@redhat.com>
Thanks Nick!
Cheers,
Tamar
> -----Original Message-----
> From: Nick Clifton <nickc@redhat.com>
> Sent: Monday, August 19, 2019 12:03
> To: Tamar Christina <Tamar.Christina@arm.com>; Florian Weimer
> <fweimer@redhat.com>
> Cc: binutils@sourceware.org; nd <nd@arm.com>
> Subject: Re: RFC: Is it OK to disassemble instructions twice ?
>
> Hi Tamar,
>
> > So I'd say giving the target an opt-out of this would also be desirable.
>
> Agreed. I thought about this some more, and I am now trying out a patch
> which extends the bfd_arch_info structure with a field specifying the
> maximum offset of a reloc from the start of an insn. For most (all ?)
> architectures I intend to set this to zero, and this will bypass the double
> disassemble code in objdump...
>
> Cheers
> Nick
>
>