* config/pa/som.h (NM_FLAGS): Define.
authorJeffrey A Law <law@cygnus.com>
Fri, 20 Apr 2001 18:22:53 +0000 (18:22 +0000)
committerJeff Law <law@gcc.gnu.org>
Fri, 20 Apr 2001 18:22:53 +0000 (12:22 -0600)
From-SVN: r41467

gcc/ChangeLog
gcc/config/pa/som.h

index 893f79d..99e7b9b 100644 (file)
@@ -1,3 +1,7 @@
+Fri Apr 20 12:24:50 2001  Jeffrey A Law  (law@cygnus.com)
+
+       * config/pa/som.h (NM_FLAGS): Define.
+
 2001-04-20  Bernd Schmidt  <bernds@redhat.com>
 
        * ia64.h (MD_SCHED_REORDER, MD_SCHED_REORDER2): Pass CLOCK to called
index 57f69ac..ae7ae04 100644 (file)
@@ -51,6 +51,11 @@ Boston, MA 02111-1307, USA.  */
   fprintf (FILE,                                                       \
           "\t.stabs \"\",%d,0,0,L$text_end0000\nL$text_end0000:\n", N_SO)
 
+/* The HP supplied NM will print out the subspace names for each symbol it
+   finds, which can cause false matches when looking for ctors/dtors.  The
+   "-p" argument changes the output to not include subspace names.  */
+#define NM_FLAGS "-p -n"
+
 /* HPUX has a program 'chatr' to list the dependencies of dynamically
    linked executables and shared libraries.  */
 #define LDD_SUFFIX "chatr"