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 f12872d38d..a1d76a9004 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 dbff99027e..f96cde96e7 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 da6fa0164c..38445d9920 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 45341ca5b3..5daeb9f036 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 085c958631..c346021153 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 8e94ab4167..5cb0c7ddd3 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 8fc4fa7806..466f5f9ee1 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 f8f0945c94..d089010e3b 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 8331fb962e..decb26e3df 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 073ad24762..4bf44220e3 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 8cf9e5fab5..2e60d4a15a 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 0ee7ff8d79..d39ba4957a 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 2ddf050381..2c365bbca1 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 2ad4153b81..3fd47d8f1b 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 63101840fa..cf35c3f3c6 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 475d42b74f..358588c71d 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 923e6e5799..c60728a975 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"