This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Delete IRIX support
- From: "Maciej W. Rozycki" <macro at codesourcery dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: GDB Patches <gdb-patches at sourceware dot org>
- Date: Fri, 3 Oct 2014 17:25:21 +0100
- Subject: Re: [PATCH] Delete IRIX support
- Authentication-results: sourceware.org; auth=none
- References: <542E78EE dot 1080900 at redhat dot com>
On Fri, 3 Oct 2014, Pedro Alves wrote:
> mips-tdep.c is left alone. E.g., I didn't delete the GDB_OSABI_IRIX
> enum value, nor references to it in mips-tdep.c. Some comments
> mentioning Irix ABIs may still be relevant and I wouldn't know what to
> do with them. in That can always be done on a separate pass,
> preferably by someone who can test on MIPS.
Good, having to rework outstanding changes that I have and that I reckon
poke in this area would cause me more hassle than I see benefit from IRIX
removal.
> Likewise, mipsread.c is left alone. IIUC, pieces may be necessary for
> PDR records on Linux.
PDR records are actually mostly used on Linux/bare metal only, here's the
relevant piece from GAS:
/* Control generation of .pdr sections. Off by default on IRIX: the native
linker doesn't know about and discards them, but relocations against them
remain, leading to rld crashes. */
#ifdef TE_IRIX
int mips_flag_pdr = FALSE;
#else
int mips_flag_pdr = TRUE;
#endif
Maciej