Gcc 2.96 endianness fixes for MIPS/Linux and MIPS/*

Jeffrey A Law law@cygnus.com
Mon Aug 21 07:35:00 GMT 2000


  In message < Pine.GSO.3.96.1000818165029.8281D-100000@delta.ds2.pg.gda.pl >you 
write:
  > Hi,
  > 
  >  I've noticed the '-E[BL]' endianness option does not get passed to the
  > assembler for the default endianness (i.e. when no override is specified) 
  > for MIPS/*.  The option does not get passed to the linker for MIPS/Linux,
  > as well.
  > 
  >  The following patch fixes these problems.  As both the assembler and the
  > linker uses the same options for the endianness I decided to use a common
  > spec for both to prevent possible future discrepancies.
  > 
  > 2000-08-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
  > 
  > 	* config/mips/mips.h: Change LINKER_ENDIAN_SPEC to ENDIAN_SPEC
  > 	and linker_endian_spec to endian_spec. 
  > 	(ENDIAN_SPEC): Add %{EB} and %{EL}.
  > 	(LINK_SPEC): Remove %{EB} and %{EL}.
  > 	(ASM_SPEC): Likewise.  Use %(endian_spec). 
  > 
  > 	* config/mips/linux.h (LINK_SPEC): Use %(endian_spec).
Thanks.  Installed.

jeff



More information about the Gcc-patches mailing list