This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 0/7] gas: Fixes for DWARF2 debug info with OCTETS_PER_BYTE>1


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]