aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-mips.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index af915ff..44debdc 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2017-10-23 Maciej W. Rozycki <macro@imgtec.com>
+
+ * config/tc-mips.c (mips_elf_final_processing): Don't set
+ EF_MIPS_ABI2 in `e_flags'.
+
2017-10-22 Hans-Peter Nilsson <hp@axis.com>
PR gas/22304
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index e4351f7..040a373 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -19140,10 +19140,8 @@ mips_elf_final_processing (void)
else
elf_elfheader (stdoutput)->e_flags |= E_MIPS_ABI_EABI32;
}
- else if (mips_abi == N32_ABI)
- elf_elfheader (stdoutput)->e_flags |= EF_MIPS_ABI2;
- /* Nothing to do for N64_ABI. */
+ /* Nothing to do for N32_ABI or N64_ABI. */
if (mips_32bitmode)
elf_elfheader (stdoutput)->e_flags |= EF_MIPS_32BITMODE;