aboutsummaryrefslogtreecommitdiff
path: root/gas/dw2gencfi.c
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/dw2gencfi.c
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/dw2gencfi.c')
-rw-r--r--gas/dw2gencfi.c1
1 files changed, 1 insertions, 0 deletions
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