diff options
author | Richard Henderson <rth@redhat.com> | 2004-03-07 08:51:21 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2004-03-07 08:51:21 +0000 |
commit | 6ec51dba92b070c7c13558964c5bf07d767a1287 (patch) | |
tree | 7447336d5505ee53d3566f04e0fcf55430e6beba /gas/dw2gencfi.c | |
parent | 87c8a8809878330b934d9821113789410b3986e5 (diff) | |
download | gdb-6ec51dba92b070c7c13558964c5bf07d767a1287.zip gdb-6ec51dba92b070c7c13558964c5bf07d767a1287.tar.gz gdb-6ec51dba92b070c7c13558964c5bf07d767a1287.tar.bz2 |
* dw2gencfi.c (output_cie): Align length to 4 byte boundary.
(cfi_finish): Likewise for fde.
* gas/alpha/elf-reloc-8.d, gas/cfi/cfi-alpha-1.d,
gas/cfi/cfi-alpha-2.d, gas/cfi/cfi-alpha-3.d, gas/cfi/cfi-common-1.d,
gas/cfi/cfi-common-2.d, gas/cfi/cfi-common-3.d: Adjust offsets.
Diffstat (limited to 'gas/dw2gencfi.c')
-rw-r--r-- | gas/dw2gencfi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/dw2gencfi.c b/gas/dw2gencfi.c index 3be7e20..ff0aa35 100644 --- a/gas/dw2gencfi.c +++ b/gas/dw2gencfi.c @@ -857,6 +857,7 @@ output_cie (struct cie_entry *cie) for (i = cie->first; i != cie->last; i = i->next) output_cfi_insn (i); + frag_align (2, 0, 0); symbol_set_value_now (end_address); } @@ -906,8 +907,7 @@ output_fde (struct fde_entry *fde, struct cie_entry *cie, for (; first; first = first->next) output_cfi_insn (first); - if (align) - frag_align (align, 0, 0); + frag_align (align, 0, 0); symbol_set_value_now (end_address); } @@ -1035,7 +1035,7 @@ cfi_finish (void) struct cie_entry *cie; cie = select_cie_for_fde (fde, &first); - output_fde (fde, cie, first, fde->next == NULL ? EH_FRAME_ALIGNMENT : 0); + output_fde (fde, cie, first, fde->next == NULL ? EH_FRAME_ALIGNMENT : 2); } flag_traditional_format = save_flag_traditional_format; |