From: Rainer Orth Date: Tue, 26 Apr 2011 15:33:10 +0000 (+0000) Subject: mips.h (DBX_OUTPUT_SOURCE_LINE): Remove. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c2f36e21b2471dfa7443555f304c178edd759ec5;p=gcc.git mips.h (DBX_OUTPUT_SOURCE_LINE): Remove. * config/mips/mips.h (DBX_OUTPUT_SOURCE_LINE): Remove. * config/mips/mips.opt (mmips-tfile): Remove. * doc/install.texi (Specific, mips-*-*): Move mips-tfile, mips-tdump reference to ... (Specific, alpha*-dec-osf5.1): ... here. Adapt for Tru64 UNIX. * doc/trouble.texi (Cross-Compiler Problems): Replace MIPS reference by Tru64 UNIX. From-SVN: r172975 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b528cf31eae..af485995ea1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,15 @@ +2011-04-26 Rainer Orth + + * config/mips/mips.h (DBX_OUTPUT_SOURCE_LINE): Remove. + * config/mips/mips.opt (mmips-tfile): Remove. + + * doc/install.texi (Specific, mips-*-*): Move mips-tfile, + mips-tdump reference to ... + (Specific, alpha*-dec-osf5.1): ... here. + Adapt for Tru64 UNIX. + * doc/trouble.texi (Cross-Compiler Problems): Replace MIPS + reference by Tru64 UNIX. + 2011-04-26 Jakub Jelinek PR debug/48768 diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index 4386ce0028e..59716b0c195 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -2555,12 +2555,6 @@ do \ } \ while (0) -/* mips-tfile does not understand .stabd directives. */ -#define DBX_OUTPUT_SOURCE_LINE(STREAM, LINE, COUNTER) do { \ - dbxout_begin_stabn_sline (LINE); \ - dbxout_stab_value_internal_label ("LM", &COUNTER); \ -} while (0) - /* Use .loc directives for SDB line numbers. */ #define SDB_OUTPUT_SOURCE_LINE(STREAM, LINE) \ fprintf (STREAM, "\t.loc\t%d %d\n", num_source_filenames, LINE) diff --git a/gcc/config/mips/mips.opt b/gcc/config/mips/mips.opt index 4ce3c40c7c1..04381f62d9f 100644 --- a/gcc/config/mips/mips.opt +++ b/gcc/config/mips/mips.opt @@ -226,10 +226,6 @@ mmemcpy Target Report Mask(MEMCPY) Don't optimize block moves -mmips-tfile -Target -Use the mips-tfile postpass - mmt Target Report Var(TARGET_MT) Allow the use of MT instructions diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index 688628f9438..df2a6c89637 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -3104,6 +3104,10 @@ As of GNU binutils 2.21, neither GNU @command{as} nor GNU @command{ld} are supported on Tru64 UNIX, so you must not configure GCC with @option{--with-gnu-as} or @option{--with-gnu-ld}. +Cross-compilers for the Tru64 UNIX target currently do not work because +the auxiliary programs @command{mips-tdump} and @command{mips-tfile} can't +be compiled on anything but Tru64 UNIX. + GCC writes a @samp{.verstamp} directive to the assembler output file unless it is built as a cross-compiler. It gets the version to use from the system header file @file{/usr/include/stamp.h}. If you install a @@ -3845,12 +3849,6 @@ the use of break, use the @option{--with-divide=breaks} @command{configure} option when configuring GCC@. The default is to use traps on systems that support them. -Cross-compilers for the MIPS as target using the MIPS assembler -currently do not work, because the auxiliary programs -@file{mips-tdump.c} and @file{mips-tfile.c} can't be compiled on -anything but a MIPS@. It does work to cross compile for a MIPS -if you use the GNU assembler and linker. - The assembler from GNU binutils 2.17 and earlier has a bug in the way it sorts relocations for REL targets (o32, o64, EABI). This can cause bad code to be generated for simple C++ programs. Also the linker diff --git a/gcc/doc/trouble.texi b/gcc/doc/trouble.texi index 03e399373b4..3fc3910d79e 100644 --- a/gcc/doc/trouble.texi +++ b/gcc/doc/trouble.texi @@ -55,7 +55,7 @@ for several reasons. @itemize @bullet @item At present, the program @file{mips-tfile} which adds debug -support to object files on MIPS systems does not work in a cross +support to object files on Tru64 UNIX systems does not work in a cross compile environment. @end itemize