[PATCH] Delete IRIX support

Maciej W. Rozycki macro@codesourcery.com
Fri Oct 3 16:25:00 GMT 2014


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



More information about the Gdb-patches mailing list