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]

[Xtensa] add GAS default relax state


I've committed this patch from Sterling Augustine to avoid confusion when debugging GAS for Xtensa. For frags that are not machine-dependent, the relaxation state field is not used, but the default value of zero mapped to an enum value that is used in other contexts. The patch adds a new default state value to avoid confusion.

2008-03-03  Sterling Augustine  <sterling@tensilica.com>
	
	* config/tc-xtensa.h (RELAX_XTENSA_NONE): New.
Index: config/tc-xtensa.h
===================================================================
RCS file: /cvs/src/src/gas/config/tc-xtensa.h,v
diff -u -p -r1.28 -r1.29
--- config/tc-xtensa.h	30 Nov 2007 23:47:55 -0000	1.28
+++ config/tc-xtensa.h	3 Mar 2008 22:14:45 -0000	1.29
@@ -1,5 +1,5 @@
 /* tc-xtensa.h -- Header file for tc-xtensa.c.
-   Copyright (C) 2003, 2004, 2005, 2007 Free Software Foundation, Inc.
+   Copyright (C) 2003, 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
 
@@ -46,6 +46,8 @@ struct fix;
 
 enum xtensa_relax_statesE
 {
+  RELAX_XTENSA_NONE,
+
   RELAX_ALIGN_NEXT_OPCODE,
   /* Use the first opcode of the next fragment to determine the
      alignment requirements.  This is ONLY used for LOOPs currently.  */

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