From: Alan Modra Date: Wed, 4 Oct 2000 00:28:45 +0000 (+0000) Subject: Excise C++ style comments. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=56d27c17b8e8c726a559744b532d00a800f5e021;p=binutils-gdb.git Excise C++ style comments. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 00764c61fdc..0424192f30e 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 4d549e9aecd..a39df090fd0 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 a0ec50821d9..21cf83a988c 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);