This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

Re: 3.1 bootstrap failure on irix6.5: as error - must give attri bute values for new section


On Mon, May 21, 2001 at 04:08:47AM -0000, Billinghurst, David (CRTS) wrote:
> as: Error: /libgcc2.s, line 171: must give attribute values for new section
>       .section .debug_frame

Doh!  Missed one that was off hiding by itself.


r~


        * dwarf2out.c (DEBUG_FRAME_SECTION): Rename from FRAME_SECTION.
        Update all users.

Index: dwarf2out.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/dwarf2out.c,v
retrieving revision 1.271
diff -c -p -d -r1.271 dwarf2out.c
*** dwarf2out.c	2001/05/21 03:14:29	1.271
--- dwarf2out.c	2001/05/21 07:01:03
*************** static void def_cfa_1		 	PARAMS ((const 
*** 283,290 ****
  #endif
  #endif
  
! #ifndef FRAME_SECTION
! #define FRAME_SECTION		".debug_frame"
  #endif
  
  #ifndef FUNC_BEGIN_LABEL
--- 283,290 ----
  #endif
  #endif
  
! #ifndef DEBUG_FRAME_SECTION
! #define DEBUG_FRAME_SECTION	".debug_frame"
  #endif
  
  #ifndef FUNC_BEGIN_LABEL
*************** output_call_frame_info (for_eh)
*** 1762,1768 ****
        assemble_label ("__FRAME_BEGIN__");
      }
    else
!     ASM_OUTPUT_SECTION (asm_out_file, FRAME_SECTION);
  
    /* Output the CIE.  */
    ASM_GENERATE_INTERNAL_LABEL (l1, CIE_AFTER_SIZE_LABEL, for_eh);
--- 1762,1768 ----
        assemble_label ("__FRAME_BEGIN__");
      }
    else
!     ASM_OUTPUT_SECTION (asm_out_file, DEBUG_FRAME_SECTION);
  
    /* Output the CIE.  */
    ASM_GENERATE_INTERNAL_LABEL (l1, CIE_AFTER_SIZE_LABEL, for_eh);
*************** output_call_frame_info (for_eh)
*** 1884,1890 ****
  	dw2_asm_output_delta (4, l1, "__FRAME_BEGIN__", "FDE CIE offset");
        else
  	dw2_asm_output_offset (DWARF_OFFSET_SIZE,
! 			       stripattributes (FRAME_SECTION),
  			       "FDE CIE offset");
  
        if (for_eh)
--- 1884,1890 ----
  	dw2_asm_output_delta (4, l1, "__FRAME_BEGIN__", "FDE CIE offset");
        else
  	dw2_asm_output_offset (DWARF_OFFSET_SIZE,
! 			       stripattributes (DEBUG_FRAME_SECTION),
  			       "FDE CIE offset");
  
        if (for_eh)


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