]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix building the V850 port using recent versions of gcc.
authorNick Clifton <nickc@redhat.com>
Thu, 18 Mar 2021 12:57:25 +0000 (12:57 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 18 Mar 2021 12:57:25 +0000 (12:57 +0000)
gcc/
* config/v850/v850.c (construct_restore_jr): Increase static
 buffer size.
(construct_save_jarl): Likewise.
* config/v850/v850.h (DWARF2_DEBUGGING_INFO): Define.

gcc/config/v850/v850.c
gcc/config/v850/v850.h

index 249cb400177d2936cdbc7696dc6565445948b749..e0e5005d865b2eec3e7cc2d21d14a6f81e3a08d8 100644 (file)
@@ -2181,7 +2181,7 @@ construct_restore_jr (rtx op)
   unsigned long int first;
   unsigned long int last;
   int i;
-  static char buff [100]; /* XXX */
+  static char buff [256]; /* XXX */
   
   if (count <= 2)
     {
@@ -2286,7 +2286,7 @@ construct_save_jarl (rtx op)
   unsigned long int first;
   unsigned long int last;
   int i;
-  static char buff [100]; /* XXX */
+  static char buff [255]; /* XXX */
   
   if (count <= (TARGET_LONG_CALLS ? 3 : 2)) 
     {
index 23dfdf67dffd521ccbbfce13c3fe063bd0c62565..386f9f59e0b37303a4394dd8149dd142b8acf366 100644 (file)
@@ -700,6 +700,7 @@ typedef enum
 /* Use dwarf2 debugging info by default.  */
 #undef  PREFERRED_DEBUGGING_TYPE
 #define PREFERRED_DEBUGGING_TYPE   DWARF2_DEBUG
+#define DWARF2_DEBUGGING_INFO     1
 
 #define DWARF2_FRAME_INFO          1
 #define DWARF2_UNWIND_INFO         0