aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-mips.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/tc-mips.c')
-rw-r--r--gas/config/tc-mips.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index 79863cd..d90c7e6 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -923,8 +923,7 @@ md_begin ()
mips_cprmask[3] = 0;
/* set the default alignment for the text section (2**2) */
- if (OUTPUT_FLAVOR != bfd_target_elf_flavour)
- record_alignment (text_section, 2);
+ record_alignment (text_section, 2);
if (USE_GLOBAL_POINTER_OPT)
bfd_set_gp_size (stdoutput, g_switch_value);
@@ -1182,17 +1181,6 @@ append_insn (place, ip, address_expr, reloc_type, unmatched_hi)
fixS *fixp;
int nops = 0;
- /* Make sure the section will be aligned appropriately. Note that
- we do not insert an alignment directive; it remains the user's
- responsibility to align instructions if necessary. Here we only
- ensure that the section will have the right default alignment, so
- that the right thing will happen if no alignment directive is
- used. */
- if (mips16)
- record_alignment (now_seg, 1);
- else
- record_alignment (now_seg, 2);
-
/* Mark instruction labels in mips16 mode. This permits the linker
to handle them specially, such as generating jalx instructions
when needed. We also make them odd for the duration of the