This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH 0/7] gas: Fixes for DWARF2 debug info with OCTETS_PER_BYTE>1
- From: Alan Modra <amodra at gmail dot com>
- To: Christian Eggers <ceggers at gmx dot de>
- Cc: binutils at sourceware dot org
- Date: Wed, 13 Mar 2019 15:18:55 +1030
- Subject: Re: [PATCH 0/7] gas: Fixes for DWARF2 debug info with OCTETS_PER_BYTE>1
- References: <20190310182158.23705-1-ceggers@gmx.de>
On Sun, Mar 10, 2019 at 07:21:51PM +0100, Christian Eggers wrote:
> I'm working on a binutils port for the SDMA controller which is inside many
> of NXP's i.MX SOCs. In contrast to most other architectures, the SDMA has
> 16 bit per instruction address (OCTETS_PER_BYTE=2). Up to now, no architecture
> with OCTETS_PER_BYTE>1 uses DWARF debug information (tic4x and tic54x use
> stabs).
>
> With OCTETS_PER_BYTE=2, the smallest addressable unit is 16 bit. This is
> problematic with DWARF2 debug information, as this format always uses 8 bit
> quantities. Resulting problems can be truncated sections and displaced
> relocations.
>
> These patch series fixes the generation of DWARF debug information in gas for
> these architectures, which is a prerequisite for the SDMA port.
I've pushed this series after fixing a number of formatting issues.
--
Alan Modra
Australia Development Lab, IBM