From 56d27c17b8e8c726a559744b532d00a800f5e021 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 4 Oct 2000 00:28:45 +0000 Subject: [PATCH] Excise C++ style comments. --- gas/ChangeLog | 11 ++++++++--- gas/config/tc-i370.c | 30 ++++++++++++++++-------------- gas/config/tc-ia64.c | 2 +- 3 files changed, 25 insertions(+), 18 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 00764c61fd..0424192f30 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2000-10-04 Ralf Baechle + + * config/tc-ia64.c (operand_match): Don't use // style comments. + * config/tc-i370.c: Likewise. + 2000-09-29 Hans-Peter Nilsson Changes to handle varying register prefix and user symbol prefix. @@ -83,7 +88,7 @@ 2000-09-22 Michael Sokolov - * config/tc-m68k.c (md_relax_table, m68k_ip, md_convert_frag_1, + * config/tc-m68k.c (md_relax_table, m68k_ip, md_convert_frag_1, md_estimate_size_before_relax): Redesign and clean up the relaxation mechanism. @@ -161,7 +166,7 @@ (struct rsrc): Add parallel comparison type. (resources_match): Skip special cases of PR usage (non-conflicting parallel compares). - + 2000-09-13 Kazu Hirata * config/obj-ecoff.c: Fix formatting. @@ -176,7 +181,7 @@ * config/obj-vms.h: Likewise. 2000-09-13 Anders Norlander - + * config/tc-mips.c (md_begin): Recognize 4Kc, 4Km and 4Kp processors. (md_parse_option): Ditto. (md_longopts): Add -mips32 option. diff --git a/gas/config/tc-i370.c b/gas/config/tc-i370.c index 4d549e9aec..a39df090fd 100644 --- a/gas/config/tc-i370.c +++ b/gas/config/tc-i370.c @@ -552,7 +552,7 @@ i370_set_cpu () } /* Figure out the BFD architecture to use. */ -// hack alert -- specify the different 370 architectures +/* hack alert -- specify the different 370 architectures */ enum bfd_architecture i370_arch () @@ -656,14 +656,13 @@ i370_insert_operand (insn, operand, val) #ifdef OBJ_ELF /* Parse @got, etc. and return the desired relocation. - * Currently, i370 does not support (don't really need to support) any - * of these fancier markups ... for example, no one is going to - * write 'L 6,=V(bogus)@got' it just doesn't make sense (at least to me). - * So basically, we could get away with this routine returning - * BFD_RELOC_UNUSED in all circumstances. However, I'll leave - * in for now in case someone ambitious finds a good use for this stuff ... - * this routine was pretty much just copied from the powerpc code ... - */ + Currently, i370 does not support (don't really need to support) any + of these fancier markups ... for example, no one is going to + write 'L 6,=V(bogus)@got' it just doesn't make sense (at least to me). + So basically, we could get away with this routine returning + BFD_RELOC_UNUSED in all circumstances. However, I'll leave + in for now in case someone ambitious finds a good use for this stuff ... + this routine was pretty much just copied from the powerpc code ... */ static bfd_reloc_code_real_type i370_elf_suffix (str_p, exp_p) char **str_p; @@ -687,11 +686,14 @@ i370_elf_suffix (str_p, exp_p) static struct map_bfd mapping[] = { - // MAP ("l", BFD_RELOC_LO16), - // MAP ("h", BFD_RELOC_HI16), - // MAP ("ha", BFD_RELOC_HI16_S), - MAP ("fixup", BFD_RELOC_CTOR), /* warnings with -mrelocatable */ - { (char *)0, 0, BFD_RELOC_UNUSED } +#if 0 + MAP ("l", BFD_RELOC_LO16), + MAP ("h", BFD_RELOC_HI16), + MAP ("ha", BFD_RELOC_HI16_S), +#endif + /* warnings with -mrelocatable. */ + MAP ("fixup", BFD_RELOC_CTOR), + { (char *)0, 0, BFD_RELOC_UNUSED } }; if (*str++ != '@') diff --git a/gas/config/tc-ia64.c b/gas/config/tc-ia64.c index a0ec50821d..21cf83a988 100644 --- a/gas/config/tc-ia64.c +++ b/gas/config/tc-ia64.c @@ -7910,7 +7910,7 @@ note_register_values (idesc) else if (strncmp (idesc->name, "br.call", 6) == 0 || strncmp (idesc->name, "brl.call", 7) == 0) { - // FIXME keep GR values which are marked as "safe_across_calls" + /* FIXME keep GR values which are marked as "safe_across_calls" */ clear_register_values (); clear_qp_mutex (~qp_safe_across_calls); clear_qp_implies (~qp_safe_across_calls, ~qp_safe_across_calls); -- 2.34.1