This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
align ia64 unwind info fragments
- To: binutils at sources dot redhat dot com
- Subject: align ia64 unwind info fragments
- From: Richard Henderson <rth at redhat dot com>
- Date: Wed, 9 May 2001 17:19:41 -0700
We aligned the section, but not the fragment. Which meant
that the second function's unwind data would not be aligned.
r~
* config/tc-ia64.c (generate_unwind_image): Align the fragment
beginning a function's unwind info block.
Index: gas/config/tc-ia64.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-ia64.c,v
retrieving revision 1.49
diff -c -p -d -r1.49 tc-ia64.c
*** tc-ia64.c 2001/04/27 20:42:55 1.49
--- tc-ia64.c 2001/05/10 00:14:38
*************** generate_unwind_image (text_name)
*** 3165,3170 ****
--- 3187,3193 ----
SEC_LOAD | SEC_ALLOC | SEC_READONLY);
/* Make sure the section has 8 byte alignment. */
+ frag_align (3, 0, 0);
record_alignment (now_seg, 3);
/* Set expression which points to start of unwind descriptor area. */