[PATCH]: Fix as dwarf2 for HC11/HC12

Stephane Carrez stcarrez@nerim.fr
Thu Jul 24 20:59:00 GMT 2003


Hi!

This patch fixes gas to generate correct dwarf2 debug info for HC11/HC12.
We need 32-bit address to represent symbols because they may be in paged memory
(and thus require > 16-bit for them).  It was using 16-bit because the default
uses bfd_arch_bits_per_address () which is 16-bit.

Committed on mainline and 2_14 branch.

	Stephane

2003-07-24  Stephane Carrez  <stcarrez@nerim.fr>

	* config/tc-m68hc11.h (DWARF2_ADDR_SIZE): Use 32-bit address for
	debugging symbols so that we handle page memory correctly.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tc-m68hc11.h.diffs
URL: <https://sourceware.org/pipermail/binutils/attachments/20030724/cf7af527/attachment.ksh>


More information about the Binutils mailing list