aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2006-10-26 00:16:50 +0000
committerBen Elliston <bje@au.ibm.com>2006-10-26 00:16:50 +0000
commitba5f0fda8626f08b75117e8361a18497b4e0a1c4 (patch)
tree53b2147f302409a504c3500762b44633f5e4fce1 /gas
parent761c7f08fff8fe6c0ac4f5c5e21f2152b46e0700 (diff)
downloadgdb-ba5f0fda8626f08b75117e8361a18497b4e0a1c4.zip
gdb-ba5f0fda8626f08b75117e8361a18497b4e0a1c4.tar.gz
gdb-ba5f0fda8626f08b75117e8361a18497b4e0a1c4.tar.bz2
* dw2gencfi.c (cfi_add_CFA_offset):
Assert DWARF2_CIE_DATA_ALIGNMENT is non-zero.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/dw2gencfi.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index bb58516..edfdd66 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2006-10-26 Ben Elliston <bje@au.ibm.com>
+
+ * dw2gencfi.c (cfi_add_CFA_offset):
+ Assert DWARF2_CIE_DATA_ALIGNMENT is non-zero.
+
2006-10-25 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
Yukishige Shibata <shibata@rd.scei.sony.co.jp>
Nobuhisa Fujinami <fnami@rd.scei.sony.co.jp>
diff --git a/gas/dw2gencfi.c b/gas/dw2gencfi.c
index bfa5d5c..4732dbb 100644
--- a/gas/dw2gencfi.c
+++ b/gas/dw2gencfi.c
@@ -252,6 +252,7 @@ cfi_add_CFA_offset (unsigned regno, offsetT offset)
{
unsigned int abs_data_align;
+ assert (DWARF2_CIE_DATA_ALIGNMENT != 0);
cfi_add_CFA_insn_reg_offset (DW_CFA_offset, regno, offset);
abs_data_align = (DWARF2_CIE_DATA_ALIGNMENT < 0