bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RS6000] GNU strip doesn't remove ".debug" section


From: christian . lestrade
Subject: [RS6000] GNU strip doesn't remove ".debug" section
Date: Fri, 28 Jun 2002 10:43:06 +0200 (MEST)
User-agent: IMP/PHP IMAP webmail program 2.2.6

On IBM AIX 5.1 (RS6000) platform, the GNU "strip" program doesn't remove 
".debug" sections (unless when using --remove-section=".debug").

I suggest a fix like the following:
--- binutils-2.12.1/bfd/coffcode.h~     Thu May  9 16:48:49 2002
+++ binutils-2.12.1/bfd/coffcode.h      Fri Jun 28 10:19:12 2002
@@ -657,7 +657,7 @@
 #endif
           || strncmp (name, ".stab", 5) == 0)
     {
-#ifdef COFF_PAGE_SIZE
+#if defined (COFF_PAGE_SIZE) || defined (RS6000COFF_C)
       sec_flags |= SEC_DEBUGGING;
 #endif
     }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]