diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2014-05-18 20:28:04 +0100 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2014-05-18 20:28:04 +0100 |
commit | fd5c94abf6b9e73f758ec6ae2ae3de6c57ff78a9 (patch) | |
tree | 2ff740543fbee000d0b26c1d277ed5e531aa32de /gas | |
parent | d7e4851a0c37b4597111dd03599d74895b83e30a (diff) | |
download | gdb-fd5c94abf6b9e73f758ec6ae2ae3de6c57ff78a9.zip gdb-fd5c94abf6b9e73f758ec6ae2ae3de6c57ff78a9.tar.gz gdb-fd5c94abf6b9e73f758ec6ae2ae3de6c57ff78a9.tar.bz2 |
gas/
* config/tc-mips.c (md_obj_begin): Delete.
(md_obj_end): Fold into...
(md_mips_end): ...here. Move to end of file.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/config/tc-mips.c | 34 |
2 files changed, 14 insertions, 26 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 5db5e37..2243570 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2014-05-18 Richard Sandiford <rdsandiford@googlemail.com> + + * config/tc-mips.c (md_obj_begin): Delete. + (md_obj_end): Fold into... + (md_mips_end): ...here. Move to end of file. + 2014-05-17 Nick Clifton <nickc@redhat.com> PR gas/16946 diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 7739d95..95ffe50 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -1295,8 +1295,6 @@ static void s_ehword (int); static void s_cpadd (int); static void s_insn (int); static void s_nan (int); -static void md_obj_begin (void); -static void md_obj_end (void); static void s_mips_ent (int); static void s_mips_end (int); static void s_mips_frame (int); @@ -3629,22 +3627,11 @@ md_begin (void) subseg_set (seg, subseg); } - if (! ECOFF_DEBUGGING) - md_obj_begin (); - if (mips_fix_vr4120) init_vr4120_conflicts (); } void -md_mips_end (void) -{ - mips_emit_delays (); - if (! ECOFF_DEBUGGING) - md_obj_end (); -} - -void md_assemble (char *str) { struct mips_cl_insn insn; @@ -17522,19 +17509,6 @@ mips_handle_align (fragS *fragp) fragp->fr_var = size; } -static void -md_obj_begin (void) -{ -} - -static void -md_obj_end (void) -{ - /* Check for premature end, nesting errors, etc. */ - if (cur_proc_ptr) - as_warn (_("missing .end at end of assembly")); -} - static long get_number (void) { @@ -18375,3 +18349,11 @@ mips_convert_symbolic_attribute (const char *name) return -1; } + +void +md_mips_end (void) +{ + mips_emit_delays (); + if (cur_proc_ptr) + as_warn (_("missing .end at end of assembly")); +} |