This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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



  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]