diff options
author | Richard Henderson <rth@redhat.com> | 2001-05-14 18:45:10 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2001-05-14 18:45:10 -0700 |
commit | c64688ae797cb3ed06f9403cd20cfc51e0b6276a (patch) | |
tree | 50bd83db98d2cce1d8acec334cafab9afd6aedf9 /gcc/gcc.c | |
parent | e8b073c1bd1c589eb6c92da2db2ce00e932d04d4 (diff) | |
download | gcc-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.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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; } |