toplev.c (main): On an IA-64, make flag_unwind_tables defauit to true.
authorAndrew Haley <aph@cygnus.com>
Thu, 29 Jun 2000 17:27:28 +0000 (17:27 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Thu, 29 Jun 2000 17:27:28 +0000 (17:27 +0000)
2000-06-29  Andrew Haley  <aph@cygnus.com>

* toplev.c (main): On an IA-64, make flag_unwind_tables defauit
to true.

From-SVN: r34784

gcc/ChangeLog
gcc/toplev.c

index 60bd1ab..8b5487e 100644 (file)
@@ -1,5 +1,10 @@
 2000-06-29  Andrew Haley  <aph@cygnus.com>
 
+       * toplev.c (main): On an IA-64, make flag_unwind_tables defauit
+       to true.
+
+2000-06-29  Andrew Haley  <aph@cygnus.com>
+
         * config/ia64/linux.h (JMP_BUF_SIZE): Size is in Pmode units, not
         bytes: remove the multiply by 8.
 
index 87c80fc..d02f840 100644 (file)
@@ -4542,6 +4542,12 @@ main (argc, argv)
   target_flags = 0;
   set_target_switch ("");
 
+  /* Unwind tables are always present in an ABI-conformant IA-64
+     object file, so the default should be ON. */
+#ifdef IA64_UNWIND_INFO
+  flag_unwind_tables = IA64_UNWIND_INFO;
+#endif
+
 #ifdef OPTIMIZATION_OPTIONS
   /* Allow default optimizations to be specified on a per-machine basis.  */
   OPTIMIZATION_OPTIONS (optimize, optimize_size);