align ia64 unwind info fragments

Richard Henderson rth@redhat.com
Wed May 9 17:19:00 GMT 2001


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.  */



More information about the Binutils mailing list