Patch: gas, xstormy16, and Dwarf-2 instruction size
Tom Tromey
tromey@redhat.com
Tue Feb 19 15:27:00 GMT 2002
RIght now gas claims that the Dwarf-2 minimum instruction size for the
xstormy16 is 1. However, the minimum instruction size is for this
architecture is actually 2 bytes. This patch fixes the problem.
Ok?
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
* config/tc-xstormy16.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
Index: config/tc-xstormy16.h
===================================================================
RCS file: /cvs/src/src/gas/config/tc-xstormy16.h,v
retrieving revision 1.1
diff -u -r1.1 tc-xstormy16.h
--- config/tc-xstormy16.h 2001/12/08 03:45:55 1.1
+++ config/tc-xstormy16.h 2002/02/18 22:16:58
@@ -1,5 +1,5 @@
/* tc-xstormy16.h -- Header file for tc-xstormy16.c.
- Copyright (C) 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@@ -67,3 +67,6 @@
extern void xstormy16_cons_fix_new PARAMS ((fragS *f, int, int, expressionS *));
#define md_cgen_record_fixup_exp xstormy16_cgen_record_fixup_exp
+
+/* Minimum instruction is two bytes. */
+#define DWARF2_LINE_MIN_INSN_LENGTH 2
More information about the Binutils
mailing list