re PR debug/2714 (Stabs truncated on AIX)
authorDavid Edelsohn <dje.gcc@gmail.com>
Sat, 7 Feb 2015 02:34:38 +0000 (02:34 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Sat, 7 Feb 2015 02:34:38 +0000 (21:34 -0500)
        PR debug/2714
        PR bootstrap/64256
        * xcoffout.h (DBX_CONTIN_LENGTH): Define as 16384.
        (DBX_CONTIN_CHAR): Define.

From-SVN: r220501

gcc/ChangeLog
gcc/xcoffout.h

index fb90851..15158f1 100644 (file)
@@ -1,3 +1,10 @@
+2015-02-06  David Edelsohn  <dje.gcc@gmail.com>
+
+       PR debug/2714
+       PR bootstrap/64256
+       * xcoffout.h (DBX_CONTIN_LENGTH): Define as 16384.
+       (DBX_CONTIN_CHAR): Define.
+
 2015-02-06  Sebastian Pop  <s.pop@samsung.com>
            Brian Rzycki  <b.rzycki@samsung.com>
 
index ad714f2..41b6554 100644 (file)
@@ -161,8 +161,11 @@ do {                                                       \
 /* Do not emit any marker for XCOFF until assembler allows XFT_CV.  */
 #define NO_DBX_GCC_MARKER
 
-/* Do not break .stabs pseudos into continuations.  */
-#define DBX_CONTIN_LENGTH 0
+/* XCOFF32 maximum length is 64K; XLC limits to 16K.  */
+#define DBX_CONTIN_LENGTH 16384
+
+/* XLC uses '?' as continuation character.  */
+#define DBX_CONTIN_CHAR '?'
 
 /* Don't try to use the `x' type-cross-reference character in DBX data.
    Also has the consequence of putting each struct, union or enum