This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[committed] MIPS/GAS: PIC flag formatting fixes
- From: "Maciej W. Rozycki" <macro at codesourcery dot com>
- To: <binutils at sourceware dot org>
- Date: Mon, 24 Oct 2011 15:08:26 +0100
- Subject: [committed] MIPS/GAS: PIC flag formatting fixes
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)