* config/tc-mips.c (s_mips_end): Remove !BFD_ASSEMBLER case.
(s_mips_ent): Likewise.
This commit is contained in:
parent
fff371e860
commit
149495708c
2 changed files with 7 additions and 28 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2003-03-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
|
||||||
|
|
||||||
|
* config/tc-mips.c (s_mips_end): Remove !BFD_ASSEMBLER case.
|
||||||
|
(s_mips_ent): Likewise.
|
||||||
|
|
||||||
2003-03-04 Dmitry Diky <diwil@mail.ru>
|
2003-03-04 Dmitry Diky <diwil@mail.ru>
|
||||||
|
|
||||||
* config/tc-msp430.c (mcu_types): Add recently announced x1122
|
* config/tc-msp430.c (mcu_types): Add recently announced x1122
|
||||||
|
|
|
@ -14080,7 +14080,6 @@ s_mips_end (x)
|
||||||
int x ATTRIBUTE_UNUSED;
|
int x ATTRIBUTE_UNUSED;
|
||||||
{
|
{
|
||||||
symbolS *p;
|
symbolS *p;
|
||||||
int maybe_text;
|
|
||||||
|
|
||||||
/* Following functions need their own .frame and .cprestore directives. */
|
/* Following functions need their own .frame and .cprestore directives. */
|
||||||
mips_frame_reg_valid = 0;
|
mips_frame_reg_valid = 0;
|
||||||
|
@ -14094,19 +14093,7 @@ s_mips_end (x)
|
||||||
else
|
else
|
||||||
p = NULL;
|
p = NULL;
|
||||||
|
|
||||||
#ifdef BFD_ASSEMBLER
|
if ((bfd_get_section_flags (stdoutput, now_seg) & SEC_CODE) == 0)
|
||||||
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"));
|
as_warn (_(".end not in text section"));
|
||||||
|
|
||||||
if (!cur_proc_ptr)
|
if (!cur_proc_ptr)
|
||||||
|
@ -14178,7 +14165,6 @@ s_mips_ent (aent)
|
||||||
int aent;
|
int aent;
|
||||||
{
|
{
|
||||||
symbolS *symbolP;
|
symbolS *symbolP;
|
||||||
int maybe_text;
|
|
||||||
|
|
||||||
symbolP = get_symbol ();
|
symbolP = get_symbol ();
|
||||||
if (*input_line_pointer == ',')
|
if (*input_line_pointer == ',')
|
||||||
|
@ -14188,19 +14174,7 @@ s_mips_ent (aent)
|
||||||
|| *input_line_pointer == '-')
|
|| *input_line_pointer == '-')
|
||||||
get_number ();
|
get_number ();
|
||||||
|
|
||||||
#ifdef BFD_ASSEMBLER
|
if ((bfd_get_section_flags (stdoutput, now_seg) & SEC_CODE) == 0)
|
||||||
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."));
|
as_warn (_(".ent or .aent not in text section."));
|
||||||
|
|
||||||
if (!aent && cur_proc_ptr)
|
if (!aent && cur_proc_ptr)
|
||||||
|
|
Loading…
Reference in a new issue