From 5e6cbf410d036264fabdb28319642462d470f516 Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Sun, 14 May 2000 18:53:18 +0000 Subject: [PATCH] Apply David O'Brien's comment patch. --- gas/ChangeLog | 20 ++++++++++++++++++++ gas/config/te-386bsd.h | 5 +++-- gas/config/te-aux.h | 2 +- gas/config/te-dpx2.h | 4 ++-- gas/config/te-go32.h | 6 ++---- gas/config/te-hp300.h | 3 ++- gas/config/te-hppa.h | 11 +++++------ gas/config/te-i386aix.h | 18 ++++++------------ gas/config/te-ic960.h | 6 ++---- gas/config/te-interix.h | 2 +- gas/config/te-nbsd532.h | 16 +++++----------- gas/config/te-pc532mach.h | 16 +++++----------- gas/config/te-ppcnw.h | 5 +++-- gas/config/te-psos.h | 10 +++------- gas/config/te-sparcaout.h | 3 ++- gas/config/te-sun3.h | 4 ++-- gas/config/te-sysv32.h | 2 +- 17 files changed, 65 insertions(+), 68 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index f12872d38d4..a1d76a9004b 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,23 @@ +2000-05-14 David O'Brien + + * config/te-386bsd.h: Clean up comments to adhere to the GNU coding + standards. + * config/te-aux.h: Likewise. + * config/te-dpx2.h: Likewise. + * config/te-go32.h: Likewise. + * config/te-hp300.h: Likewise. + * config/te-hppa.h: Likewise. + * config/te-i386aix.h: Likewise. + * config/te-ic960.h: Likewise. + * config/te-interix.h: Likewise. + * config/te-nbsd532.h: Likewise. + * config/te-pc532mach.h: Likewise. + * config/te-ppcnw.h: Likewise. + * config/te-psos.h: Likewise. + * config/te-sparcaout.h: Likewise. + * config/te-sun3.h: Likewise. + * config/te-sysv32.h: Likewise. + 2000-05-14 Alan Modra * config/tc-h8300.c (do_a_fix_imm): Don't rely on `short' being 16 diff --git a/gas/config/te-386bsd.h b/gas/config/te-386bsd.h index dbff99027ea..f96cde96e79 100644 --- a/gas/config/te-386bsd.h +++ b/gas/config/te-386bsd.h @@ -15,7 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. */ #define TE_386BSD 1 @@ -28,4 +29,4 @@ * End: */ -/* end of te-sun3.h */ +/* end of te-386bsd.h */ diff --git a/gas/config/te-aux.h b/gas/config/te-aux.h index da6fa0164cf..38445d9920c 100644 --- a/gas/config/te-aux.h +++ b/gas/config/te-aux.h @@ -2,7 +2,7 @@ /* From obj-coff.h: This internal_lineno crap is to stop namespace pollution from the - bfd internal coff headerfile. */ + bfd internal coff headerfile. */ #define internal_lineno bfd_internal_lineno #include "coff/aux-coff.h" /* override bits in coff/internal.h */ #undef internal_lineno diff --git a/gas/config/te-dpx2.h b/gas/config/te-dpx2.h index 45341ca5b3e..5daeb9f036e 100644 --- a/gas/config/te-dpx2.h +++ b/gas/config/te-dpx2.h @@ -1,6 +1,6 @@ -/* Machine specific defines for the dpx2 machine */ +/* Machine specific defines for the dpx2 machine. */ -/* The magic number is not the usual MC68MAGIC. */ +/* The magic number is not the usual MC68MAGIC. */ #define COFF_MAGIC MC68KBCSMAGIC #define REGISTER_PREFIX_OPTIONAL 1 diff --git a/gas/config/te-go32.h b/gas/config/te-go32.h index 085c958631d..c346021153c 100644 --- a/gas/config/te-go32.h +++ b/gas/config/te-go32.h @@ -1,6 +1,4 @@ -/* - * This file is te-go32.h - */ +/* This file is te-go32.h */ #define TE_GO32 @@ -9,7 +7,7 @@ #define TARGET_FORMAT "coff-go32" -/* GAS should treat '.align value' as an alignment of 2**value */ +/* GAS should treat '.align value' as an alignment of 2**value. */ #define USE_ALIGN_PTWO #define COFF_LONG_SECTION_NAMES diff --git a/gas/config/te-hp300.h b/gas/config/te-hp300.h index 8e94ab4167d..5cb0c7ddd3b 100644 --- a/gas/config/te-hp300.h +++ b/gas/config/te-hp300.h @@ -15,7 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. */ #define LOCAL_LABELS_DOLLAR 1 #define LOCAL_LABELS_FB 1 diff --git a/gas/config/te-hppa.h b/gas/config/te-hppa.h index 8fc4fa7806c..466f5f9ee11 100644 --- a/gas/config/te-hppa.h +++ b/gas/config/te-hppa.h @@ -15,12 +15,11 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. */ -/* - HP PA-RISC and OSF/1 support was contributed by the Center for - Software Science at the University of Utah. - */ +/* HP PA-RISC and OSF/1 support was contributed by the Center for + Software Science at the University of Utah. */ -/* these define interfaces */ +/* These define interfaces. */ #include "obj-format.h" diff --git a/gas/config/te-i386aix.h b/gas/config/te-i386aix.h index f8f0945c94e..d089010e3bc 100644 --- a/gas/config/te-i386aix.h +++ b/gas/config/te-i386aix.h @@ -1,22 +1,16 @@ -/* - * This file is te-i386aix.h and is built from pieces of code from Minh Tran-Le - * by rich@cygnus.com. - */ +/* This file is te-i386aix.h and is built from pieces of code from + Minh Tran-Le by rich@cygnus.com. */ #define TE_I386AIX 1 #include "obj-format.h" -/* - * Undefine REVERSE_SORT_RELOCS to keep the relocation entries sorted - * in ascending vaddr. - */ +/* Undefine REVERSE_SORT_RELOCS to keep the relocation entries sorted + in ascending vaddr. */ #undef REVERSE_SORT_RELOCS -/* - * Define KEEP_RELOC_INFO so that the strip reloc info flag F_RELFLG - * is not used in the filehdr for COFF output. - */ +/* Define KEEP_RELOC_INFO so that the strip reloc info flag F_RELFLG is + not used in the filehdr for COFF output. */ #define KEEP_RELOC_INFO /* diff --git a/gas/config/te-ic960.h b/gas/config/te-ic960.h index 8331fb962ea..decb26e3df1 100644 --- a/gas/config/te-ic960.h +++ b/gas/config/te-ic960.h @@ -18,10 +18,8 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* - * This file is te-ic960.h and is intended to define ic960 environment - * specific differences. - */ +/* This file is te-ic960.h and is intended to define ic960 environment + specific differences. */ #define OBJ_COFF_OMIT_OPTIONAL_HEADER diff --git a/gas/config/te-interix.h b/gas/config/te-interix.h index 073ad24762c..4bf44220e37 100644 --- a/gas/config/te-interix.h +++ b/gas/config/te-interix.h @@ -8,7 +8,7 @@ #define GLOBAL_OFFSET_TABLE_NAME "__GLOBAL_OFFSET_TABLE_" -/* Both architectures use these */ +/* Both architectures use these. */ #ifndef LOCAL_LABELS_FB #define LOCAL_LABELS_FB 1 #endif diff --git a/gas/config/te-nbsd532.h b/gas/config/te-nbsd532.h index 8cf9e5fab5f..2e60d4a15a1 100644 --- a/gas/config/te-nbsd532.h +++ b/gas/config/te-nbsd532.h @@ -1,19 +1,13 @@ -/* - * This file is te-netbsd532.h - * - * Written by Ian Dall - * - * 19-Jun-94 - * - */ +/* This file is te-netbsd532.h + Written by Ian Dall + 19-Jun-94. */ #define TARGET_FORMAT "a.out-ns32k-netbsd" #include "obj-format.h" /* Maybe these should be more like TC_NS32532 and TC_NS32381 in case - * of conflicts. NS32381 is used in opcode/ns32k.h and that is also - * used by GDB. Need to check. - */ + of conflicts. NS32381 is used in opcode/ns32k.h and that is also + used by GDB. Need to check. */ #define NS32532 #define NS32381 diff --git a/gas/config/te-pc532mach.h b/gas/config/te-pc532mach.h index 0ee7ff8d795..d39ba4957ab 100644 --- a/gas/config/te-pc532mach.h +++ b/gas/config/te-pc532mach.h @@ -1,19 +1,13 @@ -/* - * This file is te-pc532.h - * - * Written by Ian Dall - * - * 24-May-94 - * - */ +/* This file is te-pc532.h + Written by Ian Dall + 24-May-94. */ #define TARGET_FORMAT "a.out-pc532-mach" #include "obj-format.h" /* Maybe these should be more like TC_NS32532 and TC_NS32381 in case - * of conflicts. NS32381 is used in opcode/ns32k.h and that is also - * used by GDB. Need to check. - */ + of conflicts. NS32381 is used in opcode/ns32k.h and that is also + used by GDB. Need to check. */ #define NS32532 #define NS32381 diff --git a/gas/config/te-ppcnw.h b/gas/config/te-ppcnw.h index 2ddf050381c..2c365bbca18 100644 --- a/gas/config/te-ppcnw.h +++ b/gas/config/te-ppcnw.h @@ -15,7 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. */ /* Added these, because if we don't know what we're targetting we may need an assembler version of libgcc, and that will use local @@ -26,6 +27,6 @@ /* these define interfaces */ #include "obj-format.h" -/* gcc uses escape sequences for ppc/netware */ +/* gcc uses escape sequences for ppc/netware. */ #undef NO_STRING_ESCAPES diff --git a/gas/config/te-psos.h b/gas/config/te-psos.h index 2ad4153b81a..3fd47d8f1bc 100644 --- a/gas/config/te-psos.h +++ b/gas/config/te-psos.h @@ -1,20 +1,16 @@ -/* - * This file is te-psos.h for embedded systems running pSOS. - * Contributed by Martin Anantharaman (martin@mail.imech.uni-duisburg.de) - */ +/* This file is te-psos.h for embedded systems running pSOS. + Contributed by Martin Anantharaman (martin@mail.imech.uni-duisburg.de). */ #define TE_PSOS /* Added these, because if we don't know what we're targetting we may need an assembler version of libgcc, and that will use local labels. */ - #define LOCAL_LABELS_DOLLAR 1 #define LOCAL_LABELS_FB 1 /* This makes GAS more versatile and blocks some ELF'isms in - tc-m68k.h. */ - + tc-m68k.h. */ #define REGISTER_PREFIX_OPTIONAL 1 #include "obj-format.h" diff --git a/gas/config/te-sparcaout.h b/gas/config/te-sparcaout.h index 63101840fa4..cf35c3f3c6c 100644 --- a/gas/config/te-sparcaout.h +++ b/gas/config/te-sparcaout.h @@ -15,7 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. */ #define TE_SPARCAOUT 1 #include "obj-format.h" diff --git a/gas/config/te-sun3.h b/gas/config/te-sun3.h index 475d42b74f5..358588c71d7 100644 --- a/gas/config/te-sun3.h +++ b/gas/config/te-sun3.h @@ -15,7 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. */ /* This header file contains the #defines specific to SUN computer SUN 3 series computers. (The only kind @@ -24,7 +25,6 @@ Rumor has it that this file will work on the Sun-2 if the assembler is called with -m68010 This is not tested. */ - #define TE_SUN3 1 #define LOCAL_LABELS_DOLLAR 1 diff --git a/gas/config/te-sysv32.h b/gas/config/te-sysv32.h index 923e6e5799f..c60728a975d 100644 --- a/gas/config/te-sysv32.h +++ b/gas/config/te-sysv32.h @@ -1,4 +1,4 @@ -/* Remove leading underscore from the gcc generated symbol names */ +/* Remove leading underscore from the gcc generated symbol names. */ #define STRIP_UNDERSCORE #include "obj-format.h" -- 2.30.2