aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2006-09-13 00:46:09 +0000
committerAlan Modra <amodra@gmail.com>2006-09-13 00:46:09 +0000
commit1a1219cba35fb0e6a08c91224160be3dc6663da6 (patch)
treec1a2f1dac5c67c1f2143461179179ba2cb2bf3c3 /gas
parente336c79f902f57994318217d5f991260ec5e2868 (diff)
downloadgdb-1a1219cba35fb0e6a08c91224160be3dc6663da6.zip
gdb-1a1219cba35fb0e6a08c91224160be3dc6663da6.tar.gz
gdb-1a1219cba35fb0e6a08c91224160be3dc6663da6.tar.bz2
PR gas/3165
* config/tc-sh (DWARF2_CIE_DATA_ALIGNMENT): Wrap negative number in parens.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/tc-sh.h4
2 files changed, 8 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index ce3b293..6d72a47 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,11 @@
2006-09-13 Alan Modra <amodra@bigpond.net.au>
+ PR gas/3165
+ * config/tc-sh (DWARF2_CIE_DATA_ALIGNMENT): Wrap negative number
+ in parens.
+
+2006-09-13 Alan Modra <amodra@bigpond.net.au>
+
* input-file.c (input_file_open): Replace as_perror with as_bad
so that gas exits with error on file errors. Correct error
message.
diff --git a/gas/config/tc-sh.h b/gas/config/tc-sh.h
index 9ba0b94..4f0d11e 100644
--- a/gas/config/tc-sh.h
+++ b/gas/config/tc-sh.h
@@ -1,6 +1,6 @@
/* This file is tc-sh.h
Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
- 2003, 2004, 2005 Free Software Foundation, Inc.
+ 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@@ -232,6 +232,6 @@ extern int sh_regname_to_dw2regnum (char *regname);
/* All SH instructions are multiples of 16 bits. */
#define DWARF2_LINE_MIN_INSN_LENGTH 2
#define DWARF2_DEFAULT_RETURN_COLUMN 17
-#define DWARF2_CIE_DATA_ALIGNMENT -4
+#define DWARF2_CIE_DATA_ALIGNMENT (-4)
#endif /* OBJ_ELF */