diff options
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/dwarf2out.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 363f217..23eba3b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2001-03-03 Richard Henderson <rth@redhat.com> + + * dwarf2out.c (output_call_frame_info): Fix augmentation length. + Sat Mar 3 04:17:17 2001 J"orn Rennecke <amylaar@redhat.com> * combine.c (try_combine): If split with mode-changed scratch diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 48777fe..adf0204 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -1678,7 +1678,7 @@ output_call_frame_info (for_eh) frame. Make the augmentation string three bytes (including the trailing null) so the pointer is 4-byte aligned. The Solaris ld can't handle unaligned relocs. */ - dw2_asm_output_nstring ("eh", 3, "CIE Augmentation"); + dw2_asm_output_nstring ("eh", -1, "CIE Augmentation"); dw2_asm_output_offset (DWARF2_ADDR_SIZE, "__EXCEPTION_TABLE__", "pointer to exception region info"); } |