]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
collect2.c (main): Log frame table count.
authorRichard Henderson <rth@cygnus.com>
Mon, 21 Jun 1999 20:14:24 +0000 (13:14 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 21 Jun 1999 20:14:24 +0000 (13:14 -0700)
        * collect2.c (main): Log frame table count.
        (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
        (scan_prog_file) [COFF]: Handle frame tables.

From-SVN: r27678

gcc/ChangeLog
gcc/collect2.c

index f65e10d31438bc0827c15882360be913d8bdc11d..f3a87496306935e9feef40d2259a3886346e6003 100644 (file)
@@ -1,3 +1,14 @@
+Mon Jun 21 20:10:42 1999  Richard Henderson  <rth@cygnus.com>
+
+       * collect2.c (main): Log frame table count.
+       (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
+       (scan_prog_file) [COFF]: Handle frame tables.
+
+       * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
+       (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
+       * alpha/elf.h: Undef them again.
+       * alpha/vms.h: Remove their definitions.
+
 1999-06-21  Jakub Jelinek  <jj@ultra.linux.cz>
 
        * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
index 10f76921598063d137af808e2673ece95a3200e3..121ad39270453536b724918db4cc9b91defbfdbf 100644 (file)
@@ -1555,6 +1555,7 @@ main (argc, argv)
     {
       notice ("%d constructor(s) found\n", constructors.number);
       notice ("%d destructor(s)  found\n", destructors.number);
+      notice ("%d frame table(s) found\n", frame_tables.number);
     }
 
   if (constructors.number == 0 && destructors.number == 0
@@ -2372,6 +2373,7 @@ scan_prog_file (prog_name, which_pass)
        case 5:
          if (which_pass != PASS_LIB)
            add_to_list (&frame_tables, name);
+         break;
 
        default:                /* not a constructor or destructor */
          continue;
@@ -2816,7 +2818,7 @@ scan_libraries (prog_name)
 #if defined(EXTENDED_COFF)
 #   define GCC_SYMBOLS(X)      (SYMHEADER(X).isymMax + SYMHEADER(X).iextMax)
 #   define GCC_SYMENT          SYMR
-#   define GCC_OK_SYMBOL(X)    ((X).st == stProc && (X).sc == scText)
+#   define GCC_OK_SYMBOL(X)    ((X).st == stProc || (X).st == stGlobal)
 #   define GCC_SYMINC(X)       (1)
 #   define GCC_SYMZERO(X)      (SYMHEADER(X).isymMax)
 #   define GCC_CHECK_HDR(X)    (PSYMTAB(X) != 0)
@@ -2956,6 +2958,11 @@ scan_prog_file (prog_name, which_pass)
                          break;
 #endif
 
+                       case 5:
+                         if (! is_shared)
+                           add_to_list (&frame_tables, name);
+                         break;
+
                        default:        /* not a constructor or destructor */
 #ifdef COLLECT_EXPORT_LIST
                          /* If we are building a shared object on AIX we need