This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[PATCH] MIPS gas: Remove non-BFD_ASSEMBLER cases
- From: Thiemo Seufer <ica2_ts at csv dot ica dot uni-stuttgart dot de>
- To: binutils at sources dot redhat dot com
- Date: Mon, 3 Mar 2003 00:29:45 +0100
- Subject: [PATCH] MIPS gas: Remove non-BFD_ASSEMBLER cases
Hello All,
the MIPS gas is always a BFD Assembler.
2003-03-03 Thiemo Seufer <seufer at csv dot ica dot uni-stuttgart dot de>
/gas/ChangeLog
* config/tc-mips.c (s_mips_end): Remove !BFD_ASSEMBLER case.
(s_mips_ent): Likewise.
--- source-orig/gas/config/tc-mips.c Mon Mar 3 00:23:15 2003
+++ source/gas/config/tc-mips.c Mon Mar 3 00:20:39 2003
@@ -14252,17 +14252,10 @@ s_mips_end (x)
else
p = NULL;
-#ifdef BFD_ASSEMBLER
if ((bfd_get_section_flags (stdoutput, now_seg) & SEC_CODE) != 0)
maybe_text = 1;
else
maybe_text = 0;
-#else
- if (now_seg != data_section && now_seg != bss_section)
- maybe_text = 1;
- else
- maybe_text = 0;
-#endif
if (!maybe_text)
as_warn (_(".end not in text section"));
@@ -14346,17 +14339,10 @@ s_mips_ent (aent)
|| *input_line_pointer == '-')
get_number ();
-#ifdef BFD_ASSEMBLER
if ((bfd_get_section_flags (stdoutput, now_seg) & SEC_CODE) != 0)
maybe_text = 1;
else
maybe_text = 0;
-#else
- if (now_seg != data_section && now_seg != bss_section)
- maybe_text = 1;
- else
- maybe_text = 0;
-#endif
if (!maybe_text)
as_warn (_(".ent or .aent not in text section."));