From: Ben Elliston Date: Thu, 26 Oct 2006 00:16:50 +0000 (+0000) Subject: * dw2gencfi.c (cfi_add_CFA_offset): X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ba5f0fda8626f08b75117e8361a18497b4e0a1c4;p=binutils-gdb.git * dw2gencfi.c (cfi_add_CFA_offset): Assert DWARF2_CIE_DATA_ALIGNMENT is non-zero. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index bb58516c373..edfdd6658b6 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2006-10-26 Ben Elliston + + * dw2gencfi.c (cfi_add_CFA_offset): + Assert DWARF2_CIE_DATA_ALIGNMENT is non-zero. + 2006-10-25 Trevor Smigiel Yukishige Shibata Nobuhisa Fujinami diff --git a/gas/dw2gencfi.c b/gas/dw2gencfi.c index bfa5d5cf45a..4732dbb3e01 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