This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: Recording MIPS ABI selection in binaries
- To: Nick Clifton <nickc at redhat dot com>
- Subject: Re: RFA: Recording MIPS ABI selection in binaries
- From: Richard Henderson <rth at cygnus dot com>
- Date: Tue, 8 Aug 2000 16:05:26 -0700
- Cc: gcc-patches at gcc dot gnu dot org, gdb-patces at sources dot redhat dot com
- References: <200008082120.OAA19516@elmo.cygnus.com>
It doesn't sound unreasonable, though I'd prefer someone more
familiar with the mips situation in the ELF headers to comment.
On Tue, Aug 08, 2000 at 02:20:56PM -0700, Nick Clifton wrote:
> + fprintf (stream, "\t.section .mdebug.%s\n", abi_string);
> +
> + /* Restore the default section. */
> + fprintf (stream, "\t.section .text\n");
However, I do recommend that you call named_section and
text_section instead of fiddling with fprintf like this.
r~