[committed] MIPS/GAS: PIC flag formatting fixes

Maciej W. Rozycki macro@codesourcery.com
Mon Oct 24 14:08:00 GMT 2011


Hi,

 I have committed the change below as obviously correct.

2011-10-24  Maciej W. Rozycki  <macro@codesourcery.com>

	gas/
	* config/tc-mips.c (s_option): Fix formatting.
	(mips_elf_final_processing): Likewise.

  Maciej

binutils-gas-mips-pic-format.diff
Index: binutils-fsf-trunk-quilt/gas/config/tc-mips.c
===================================================================
--- binutils-fsf-trunk-quilt.orig/gas/config/tc-mips.c	2011-10-24 14:49:14.925923016 +0100
+++ binutils-fsf-trunk-quilt/gas/config/tc-mips.c	2011-10-24 14:49:15.095892122 +0100
@@ -15945,7 +15945,7 @@ s_option (int x ATTRIBUTE_UNUSED)
 	mips_pic = NO_PIC;
       else if (i == 2)
 	{
-	mips_pic = SVR4_PIC;
+	  mips_pic = SVR4_PIC;
 	  mips_abicalls = TRUE;
 	}
       else
@@ -18400,7 +18400,7 @@ mips_elf_final_processing (void)
     elf_elfheader (stdoutput)->e_flags |= EF_MIPS_NOREORDER;
   if (mips_pic != NO_PIC)
     {
-    elf_elfheader (stdoutput)->e_flags |= EF_MIPS_PIC;
+      elf_elfheader (stdoutput)->e_flags |= EF_MIPS_PIC;
       elf_elfheader (stdoutput)->e_flags |= EF_MIPS_CPIC;
     }
   if (mips_abicalls)



More information about the Binutils mailing list