]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libgcc/config/sparc/sol2-unwind.h
Use -fbuilding-libgcc for more target macros used in libgcc.
[thirdparty/gcc.git] / libgcc / config / sparc / sol2-unwind.h
index f0ececa3c96598fca18f9558151c8d6a1514a5e4..6638464997c6f40356db01213ffa97f0b6fd17e8 100644 (file)
@@ -139,7 +139,7 @@ sparc64_frob_update_context (struct _Unwind_Context *context,
 
       context->cfa -= STACK_BIAS;
 
-      for (i = 0; i < DWARF_FRAME_REGISTERS + 1; ++i)
+      for (i = 0; i < __LIBGCC_DWARF_FRAME_REGISTERS__ + 1; ++i)
        if (fs->regs.reg[i].how == REG_SAVED_OFFSET)
          _Unwind_SetGRPtr (context, i,
                            _Unwind_GetGRPtr (context, i) - STACK_BIAS);