aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-05-14 18:45:10 -0700
committerRichard Henderson <rth@gcc.gnu.org>2001-05-14 18:45:10 -0700
commitc64688ae797cb3ed06f9403cd20cfc51e0b6276a (patch)
tree50bd83db98d2cce1d8acec334cafab9afd6aedf9 /gcc/gcc.c
parente8b073c1bd1c589eb6c92da2db2ce00e932d04d4 (diff)
downloadgcc-c64688ae797cb3ed06f9403cd20cfc51e0b6276a.zip
gcc-c64688ae797cb3ed06f9403cd20cfc51e0b6276a.tar.gz
gcc-c64688ae797cb3ed06f9403cd20cfc51e0b6276a.tar.bz2
configure.in (gcc_cv_as_eh_frame): New test.
* configure.in (gcc_cv_as_eh_frame): New test. * config.in, configure: Rebuild. * gcc.c (init_spec): Honor USE_AS_TRADITIONAL_FORMAT. From-SVN: r42092
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 1ba86ee..d92f56a 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -1454,6 +1454,15 @@ init_spec ()
libgcc_spec = obstack_finish (&obstack);
}
#endif
+#ifdef USE_AS_TRADITIONAL_FORMAT
+ /* Prepend "--traditional-format" to whatever asm_spec we had before. */
+ {
+ static char tf[] = "--traditional-format ";
+ obstack_grow (&obstack, tf, sizeof(tf) - 1);
+ obstack_grow0 (&obstack, asm_spec, strlen (asm_spec));
+ asm_spec = obstack_finish (&obstack);
+ }
+#endif
specs = sl;
}