diff options
author | Jim Wilson <wilson@tuliptree.org> | 2004-05-06 22:32:44 +0000 |
---|---|---|
committer | Jim Wilson <wilson@tuliptree.org> | 2004-05-06 22:32:44 +0000 |
commit | 5e819f9c88ce065461ffaaf454933102dfc88944 (patch) | |
tree | b60dd53f09a4f6d22ab628a9dda474bab5a78e19 /gas | |
parent | bd7f6e305cba2bc1c830d82eb28a062656b17407 (diff) | |
download | gdb-5e819f9c88ce065461ffaaf454933102dfc88944.zip gdb-5e819f9c88ce065461ffaaf454933102dfc88944.tar.gz gdb-5e819f9c88ce065461ffaaf454933102dfc88944.tar.bz2 |
Patch from David Mosberger-Tang.
* config/tc-ia64.c (dot_serialize): Declare.
(dot_serialize): New function.
(md_pseudo_table): Add ".serialize.data" and
".serialize.instruction" directives.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 7 | ||||
-rw-r--r-- | gas/config/tc-ia64.c | 20 |
2 files changed, 27 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 0433a7c..cb4ab6e 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,10 @@ +2004-05-06 David Mosberger-Tang <davidm@hpl.hp.com> + + * config/tc-ia64.c (dot_serialize): Declare. + (dot_serialize): New function. + (md_pseudo_table): Add ".serialize.data" and + ".serialize.instruction" directives. + 2004-05-06 Nick Clifton <nickc@redhat.com> * messages (as_internal_value_out_of_range): Print a message about diff --git a/gas/config/tc-ia64.c b/gas/config/tc-ia64.c index c5c35ef..0dc438c 100644 --- a/gas/config/tc-ia64.c +++ b/gas/config/tc-ia64.c @@ -750,6 +750,7 @@ static void dot_xfloat_cons_ua PARAMS ((int)); static void print_prmask PARAMS ((valueT mask)); static void dot_pred_rel PARAMS ((int)); static void dot_reg_val PARAMS ((int)); +static void dot_serialize PARAMS ((int)); static void dot_dv_mode PARAMS ((int)); static void dot_entry PARAMS ((int)); static void dot_mem_offset PARAMS ((int)); @@ -4651,6 +4652,23 @@ dot_reg_val (dummy) demand_empty_rest_of_line (); } +/* + .serialize.data + .serialize.instruction + */ +static void +dot_serialize (type) + int type; +{ + insn_group_break (0, 0, 0); + if (type) + instruction_serialization (); + else + data_serialization (); + insn_group_break (0, 0, 0); + demand_empty_rest_of_line (); +} + /* select dv checking mode .auto .explicit @@ -5033,6 +5051,8 @@ const pseudo_typeS md_pseudo_table[] = { "pred.rel.mutex", dot_pred_rel, 'm' }, { "pred.safe_across_calls", dot_pred_rel, 's' }, { "reg.val", dot_reg_val, 0 }, + { "serialize.data", dot_serialize, 0 }, + { "serialize.instruction", dot_serialize, 1 }, { "auto", dot_dv_mode, 'a' }, { "explicit", dot_dv_mode, 'e' }, { "default", dot_dv_mode, 'd' }, |