This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

align ia64 unwind info fragments


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]