From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11188 invoked by alias); 7 Apr 2011 08:54:31 -0000 Received: (qmail 11177 invoked by uid 22791); 7 Apr 2011 08:54:28 -0000 X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,FSL_RU_URL,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-wy0-f175.google.com (HELO mail-wy0-f175.google.com) (74.125.82.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 07 Apr 2011 08:54:22 +0000 Received: by wye20 with SMTP id 20so2336213wye.20 for ; Thu, 07 Apr 2011 01:54:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.227.182.135 with SMTP id cc7mr619393wbb.91.1302166460929; Thu, 07 Apr 2011 01:54:20 -0700 (PDT) Received: by 10.227.0.140 with HTTP; Thu, 7 Apr 2011 01:54:20 -0700 (PDT) In-Reply-To: <1724308265.20110406225911@post.ru> References: <1724308265.20110406225911@post.ru> Date: Thu, 07 Apr 2011 08:54:00 -0000 Message-ID: Subject: Re: [PATCH] Remove ASM_OUTPUT_BSS macro. From: Richard Guenther To: Anatoly Sokolov Cc: gcc-patches@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-04/txt/msg00538.txt.bz2 2011/4/6 Anatoly Sokolov : > Hi. > > =A0No one back end does not use ASM_OUTPUT_BSS macro now, this patch remo= ve it. > The GCC have more flexible ASM_OUTPUT_ALIGNED_BSS macro. > > =A0The patch has been bootstrapped on and regression tested on > x86_64-unknown-linux-gnu for c. > > =A0OK to install? Ok. Thanks, Richard. > =A0 =A0 =A0 =A0* doc/tm.texi.in (ASM_OUTPUT_BSS): Remove documentation. > =A0 =A0 =A0 =A0(BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS): Update docum= entation. > =A0 =A0 =A0 =A0* doc/tm.texi: Regenerate. > =A0 =A0 =A0 =A0* system.h (ASM_OUTPUT_BSS): Poison. > =A0 =A0 =A0 =A0* varasm.c (asm_output_bss): Remove function. > =A0 =A0 =A0 =A0(emit_bss, init_varasm_once): Don't use ASM_OUTPUT_BSS mac= ro. > > =A0 =A0 =A0 =A0* config/frv/frv.h (BSS_SECTION_ASM_OP): Remove comment. > =A0 =A0 =A0 =A0* config/frv/fr30.h (BSS_SECTION_ASM_OP): Likewise. > =A0 =A0 =A0 =A0* config/i386/djgpp.h (BSS_SECTION_ASM_OP): Likewise. > =A0 =A0 =A0 =A0* config/i386/i386elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_AL= IGNED_BSS): > =A0 =A0 =A0 =A0Likewise. > =A0 =A0 =A0 =A0* config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_B= SS): > =A0 =A0 =A0 =A0Likewise. > =A0 =A0 =A0 =A0* config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_AL= IGNED_BSS): > =A0 =A0 =A0 =A0Likewise. > =A0 =A0 =A0 =A0* config/m68k/netbsd-elf.h (ASM_OUTPUT_ALIGNED_BSS): Likew= ise. > > > Index: gcc/doc/tm.texi > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- gcc/doc/tm.texi =A0 =A0 (revision 172058) > +++ gcc/doc/tm.texi =A0 =A0 (working copy) > @@ -6821,8 +6821,8 @@ > =A0@defmac BSS_SECTION_ASM_OP > =A0If defined, a C expression whose value is a string, including spacing, > =A0containing the assembler operation to identify the following data as > -uninitialized global data. =A0If not defined, and neither > -@code{ASM_OUTPUT_BSS} nor @code{ASM_OUTPUT_ALIGNED_BSS} are defined, > +uninitialized global data. =A0If not defined, and > +@code{ASM_OUTPUT_ALIGNED_BSS} not defined, > =A0uninitialized global data will be output in the data section if > =A0@option{-fno-common} is passed, otherwise @code{ASM_OUTPUT_COMMON} wil= l be > =A0used. > @@ -7598,20 +7598,19 @@ > =A0the variable's decl in order to chose what to output. > =A0@end defmac > > -@defmac ASM_OUTPUT_BSS (@var{stream}, @var{decl}, @var{name}, @var{size}= , @var{rounded}) > +@defmac ASM_OUTPUT_ALIGNED_BSS (@var{stream}, @var{decl}, @var{name}, @v= ar{size}, @var{alignment}) > =A0A C statement (sans semicolon) to output to the stdio stream > =A0@var{stream} the assembler definition of uninitialized global @var{dec= l} named > -@var{name} whose size is @var{size} bytes. =A0The variable @var{rounded} > -is the size rounded up to whatever alignment the caller wants. > +@var{name} whose size is @var{size} bytes. =A0The variable @var{alignmen= t} > +is the alignment specified as the number of bits. > > -Try to use function @code{asm_output_bss} defined in @file{varasm.c} when > -defining this macro. =A0If unable, use the expression > +Try to use function @code{asm_output_aligned_bss} defined in file > +@file{varasm.c} when defining this macro. =A0If unable, use the expressi= on > =A0@code{assemble_name (@var{stream}, @var{name})} to output the name its= elf; > =A0before and after that, output the additional assembler syntax for defi= ning > =A0the name, and a newline. > > -There are two ways of handling global BSS@. =A0One is to define either > -this macro or its aligned counterpart, @code{ASM_OUTPUT_ALIGNED_BSS}. > +There are two ways of handling global BSS@. =A0One is to define this mac= ro. > =A0The other is to have @code{TARGET_ASM_SELECT_SECTION} return a > =A0switchable BSS section (@pxref{TARGET_HAVE_SWITCHABLE_BSS_SECTIONS}). > =A0You do not need to do both. > @@ -7623,17 +7622,6 @@ > =A0common in order to save space in the object file. > =A0@end defmac > > -@defmac ASM_OUTPUT_ALIGNED_BSS (@var{stream}, @var{decl}, @var{name}, @v= ar{size}, @var{alignment}) > -Like @code{ASM_OUTPUT_BSS} except takes the required alignment as a > -separate, explicit argument. =A0If you define this macro, it is used in > -place of @code{ASM_OUTPUT_BSS}, and gives you more flexibility in > -handling the required alignment of the variable. =A0The alignment is spe= cified > -as the number of bits. > - > -Try to use function @code{asm_output_aligned_bss} defined in file > -@file{varasm.c} when defining this macro. > -@end defmac > - > =A0@defmac ASM_OUTPUT_LOCAL (@var{stream}, @var{name}, @var{size}, @var{r= ounded}) > =A0A C statement (sans semicolon) to output to the stdio stream > =A0@var{stream} the assembler definition of a local-common-label named > Index: gcc/doc/tm.texi.in > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- gcc/doc/tm.texi.in =A0(revision 172058) > +++ gcc/doc/tm.texi.in =A0(working copy) > @@ -6799,8 +6799,8 @@ > =A0@defmac BSS_SECTION_ASM_OP > =A0If defined, a C expression whose value is a string, including spacing, > =A0containing the assembler operation to identify the following data as > -uninitialized global data. =A0If not defined, and neither > -@code{ASM_OUTPUT_BSS} nor @code{ASM_OUTPUT_ALIGNED_BSS} are defined, > +uninitialized global data. =A0If not defined, and > +@code{ASM_OUTPUT_ALIGNED_BSS} not defined, > =A0uninitialized global data will be output in the data section if > =A0@option{-fno-common} is passed, otherwise @code{ASM_OUTPUT_COMMON} wil= l be > =A0used. > @@ -7564,20 +7564,19 @@ > =A0the variable's decl in order to chose what to output. > =A0@end defmac > > -@defmac ASM_OUTPUT_BSS (@var{stream}, @var{decl}, @var{name}, @var{size}= , @var{rounded}) > +@defmac ASM_OUTPUT_ALIGNED_BSS (@var{stream}, @var{decl}, @var{name}, @v= ar{size}, @var{alignment}) > =A0A C statement (sans semicolon) to output to the stdio stream > =A0@var{stream} the assembler definition of uninitialized global @var{dec= l} named > -@var{name} whose size is @var{size} bytes. =A0The variable @var{rounded} > -is the size rounded up to whatever alignment the caller wants. > +@var{name} whose size is @var{size} bytes. =A0The variable @var{alignmen= t} > +is the alignment specified as the number of bits. > > -Try to use function @code{asm_output_bss} defined in @file{varasm.c} when > -defining this macro. =A0If unable, use the expression > +Try to use function @code{asm_output_aligned_bss} defined in file > +@file{varasm.c} when defining this macro. =A0If unable, use the expressi= on > =A0@code{assemble_name (@var{stream}, @var{name})} to output the name its= elf; > =A0before and after that, output the additional assembler syntax for defi= ning > =A0the name, and a newline. > > -There are two ways of handling global BSS@. =A0One is to define either > -this macro or its aligned counterpart, @code{ASM_OUTPUT_ALIGNED_BSS}. > +There are two ways of handling global BSS@. =A0One is to define this mac= ro. > =A0The other is to have @code{TARGET_ASM_SELECT_SECTION} return a > =A0switchable BSS section (@pxref{TARGET_HAVE_SWITCHABLE_BSS_SECTIONS}). > =A0You do not need to do both. > @@ -7589,17 +7588,6 @@ > =A0common in order to save space in the object file. > =A0@end defmac > > -@defmac ASM_OUTPUT_ALIGNED_BSS (@var{stream}, @var{decl}, @var{name}, @v= ar{size}, @var{alignment}) > -Like @code{ASM_OUTPUT_BSS} except takes the required alignment as a > -separate, explicit argument. =A0If you define this macro, it is used in > -place of @code{ASM_OUTPUT_BSS}, and gives you more flexibility in > -handling the required alignment of the variable. =A0The alignment is spe= cified > -as the number of bits. > - > -Try to use function @code{asm_output_aligned_bss} defined in file > -@file{varasm.c} when defining this macro. > -@end defmac > - > =A0@defmac ASM_OUTPUT_LOCAL (@var{stream}, @var{name}, @var{size}, @var{r= ounded}) > =A0A C statement (sans semicolon) to output to the stdio stream > =A0@var{stream} the assembler definition of a local-common-label named > Index: gcc/varasm.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- gcc/varasm.c =A0 =A0 =A0 =A0(revision 172058) > +++ gcc/varasm.c =A0 =A0 =A0 =A0(working copy) > @@ -121,10 +121,6 @@ > =A0static void globalize_decl (tree); > =A0static bool decl_readonly_section_1 (enum section_category); > =A0#ifdef BSS_SECTION_ASM_OP > -#ifdef ASM_OUTPUT_BSS > -static void asm_output_bss (FILE *, tree, const char *, > - =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 unsigned HOST_WIDE_= INT, unsigned HOST_WIDE_INT); > -#endif > =A0#ifdef ASM_OUTPUT_ALIGNED_BSS > =A0static void asm_output_aligned_bss (FILE *, tree, const char *, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0un= signed HOST_WIDE_INT, int) > @@ -427,34 +423,6 @@ > > =A0#ifdef BSS_SECTION_ASM_OP > > -#ifdef ASM_OUTPUT_BSS > - > -/* Utility function for ASM_OUTPUT_BSS for targets to use if > - =A0 they don't support alignments in .bss. > - =A0 ??? It is believed that this function will work in most cases so su= ch > - =A0 support is localized here. =A0*/ > - > -static void ATTRIBUTE_UNUSED > -asm_output_bss (FILE *file, tree decl ATTRIBUTE_UNUSED, > - =A0 =A0 =A0 =A0 =A0 =A0 =A0 const char *name, > - =A0 =A0 =A0 =A0 =A0 =A0 =A0 unsigned HOST_WIDE_INT size ATTRIBUTE_UNUSE= D, > - =A0 =A0 =A0 =A0 =A0 =A0 =A0 unsigned HOST_WIDE_INT rounded) > -{ > - =A0gcc_assert (strcmp (XSTR (XEXP (DECL_RTL (decl), 0), 0), name) =3D= =3D 0); > - =A0targetm.asm_out.globalize_decl_name (file, decl); > - =A0switch_to_section (bss_section); > -#ifdef ASM_DECLARE_OBJECT_NAME > - =A0last_assemble_variable_decl =3D decl; > - =A0ASM_DECLARE_OBJECT_NAME (file, name, decl); > -#else > - =A0/* Standard thing is just output label for the object. =A0*/ > - =A0ASM_OUTPUT_LABEL (file, name); > -#endif /* ASM_DECLARE_OBJECT_NAME */ > - =A0ASM_OUTPUT_SKIP (file, rounded ? rounded : 1); > -} > - > -#endif > - > =A0#ifdef ASM_OUTPUT_ALIGNED_BSS > > =A0/* Utility function for targets to use in implementing > @@ -1795,7 +1763,7 @@ > > =A0/* A noswitch_section_callback for bss_noswitch_section. =A0*/ > > -#if defined ASM_OUTPUT_ALIGNED_BSS || defined ASM_OUTPUT_BSS > +#if defined ASM_OUTPUT_ALIGNED_BSS > =A0static bool > =A0emit_bss (tree decl ATTRIBUTE_UNUSED, > =A0 =A0 =A0 =A0 =A0const char *name ATTRIBUTE_UNUSED, > @@ -1805,9 +1773,6 @@ > =A0#if defined ASM_OUTPUT_ALIGNED_BSS > =A0 ASM_OUTPUT_ALIGNED_BSS (asm_out_file, decl, name, size, DECL_ALIGN (d= ecl)); > =A0 return true; > -#else > - =A0ASM_OUTPUT_BSS (asm_out_file, decl, name, size, rounded); > - =A0return false; > =A0#endif > =A0} > =A0#endif > @@ -6004,7 +5969,7 @@ > =A0 comm_section =3D get_noswitch_section (SECTION_WRITE | SECTION_BSS > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 | SECTION_COMMON, emit_common); > > -#if defined ASM_OUTPUT_ALIGNED_BSS || defined ASM_OUTPUT_BSS > +#if defined ASM_OUTPUT_ALIGNED_BSS > =A0 bss_noswitch_section =3D get_noswitch_section (SECTION_WRITE | SECTIO= N_BSS, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 emit_bss); > =A0#endif > Index: gcc/system.h > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- gcc/system.h =A0 =A0 =A0 =A0(revision 172058) > +++ gcc/system.h =A0 =A0 =A0 =A0(working copy) > @@ -830,7 +830,7 @@ > =A0 =A0 =A0 =A0FUNCTION_ARG_BOUNDARY MUST_USE_SJLJ_EXCEPTIONS US_SOFTWARE= _GOFAST =A0\ > =A0 =A0 =A0 =A0USING_SVR4_H SVR4_ASM_SPEC FUNCTION_ARG FUNCTION_ARG_ADVAN= CE =A0 =A0 =A0 \ > =A0 =A0 =A0 =A0FUNCTION_INCOMING_ARG IRA_COVER_CLASSES TARGET_VERSION =A0= =A0 =A0 =A0 =A0 =A0 \ > - =A0 =A0 =A0 MACHINE_TYPE TARGET_HAS_TARGETCM > + =A0 =A0 =A0 MACHINE_TYPE TARGET_HAS_TARGETCM ASM_OUTPUT_BSS > > =A0/* Hooks that are no longer used. =A0*/ > =A0#pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE = =A0\ > Index: gcc/config/frv/frv.h > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- gcc/config/frv/frv.h =A0 =A0 =A0 =A0(revision 172058) > +++ gcc/config/frv/frv.h =A0 =A0 =A0 =A0(working copy) > @@ -1574,13 +1574,6 @@ > =A0 =A0`".data"' is right. =A0*/ > =A0#define DATA_SECTION_ASM_OP "\t.data" > > -/* If defined, a C expression whose value is a string containing the > - =A0 assembler operation to identify the following data as > - =A0 uninitialized global data. =A0If not defined, and neither > - =A0 `ASM_OUTPUT_BSS' nor `ASM_OUTPUT_ALIGNED_BSS' are defined, > - =A0 uninitialized global data will be output in the data section if > - =A0 `-fno-common' is passed, otherwise `ASM_OUTPUT_COMMON' will be > - =A0 used. =A0*/ > =A0#define BSS_SECTION_ASM_OP "\t.section .bss,\"aw\"" > > =A0/* Short Data Support */ > Index: gcc/config/i386/djgpp.h > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- gcc/config/i386/djgpp.h =A0 =A0 (revision 172058) > +++ gcc/config/i386/djgpp.h =A0 =A0 (working copy) > @@ -24,13 +24,6 @@ > =A0/* Don't assume anything about the header files. =A0*/ > =A0#define NO_IMPLICIT_EXTERN_C > > -/* If defined, a C expression whose value is a string containing the > - =A0 assembler operation to identify the following data as > - =A0 uninitialized global data. =A0If not defined, and neither > - =A0 `ASM_OUTPUT_BSS' nor `ASM_OUTPUT_ALIGNED_BSS' are defined, > - =A0 uninitialized global data will be output in the data section if > - =A0 `-fno-common' is passed, otherwise `ASM_OUTPUT_COMMON' will be > - =A0 used. =A0*/ > =A0#undef BSS_SECTION_ASM_OP > =A0#define BSS_SECTION_ASM_OP "\t.section\t.bss" > > Index: gcc/config/i386/i386elf.h > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- gcc/config/i386/i386elf.h =A0 (revision 172058) > +++ gcc/config/i386/i386elf.h =A0 (working copy) > @@ -100,24 +100,9 @@ > =A0/* Switch into a generic section. =A0*/ > =A0#define TARGET_ASM_NAMED_SECTION =A0default_elf_asm_named_section > > -/* If defined, a C expression whose value is a string containing the > - =A0 assembler operation to identify the following data as > - =A0 uninitialized global data. =A0If not defined, and neither > - =A0 `ASM_OUTPUT_BSS' nor `ASM_OUTPUT_ALIGNED_BSS' are defined, > - =A0 uninitialized global data will be output in the data section if > - =A0 `-fno-common' is passed, otherwise `ASM_OUTPUT_COMMON' will be > - =A0 used. =A0*/ > =A0#undef BSS_SECTION_ASM_OP > =A0#define BSS_SECTION_ASM_OP "\t.section\t.bss" > > -/* Like `ASM_OUTPUT_BSS' except takes the required alignment as a > - =A0 separate, explicit argument. =A0If you define this macro, it is used > - =A0 in place of `ASM_OUTPUT_BSS', and gives you more flexibility in > - =A0 handling the required alignment of the variable. =A0The alignment is > - =A0 specified as the number of bits. > - > - =A0 Try to use function `asm_output_aligned_bss' defined in file > - =A0 `varasm.c' when defining this macro. =A0*/ > =A0#undef ASM_OUTPUT_ALIGNED_BSS > =A0#define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \ > =A0 asm_output_aligned_bss (FILE, DECL, NAME, SIZE, ALIGN) > Index: gcc/config/sh/sh.h > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- gcc/config/sh/sh.h =A0(revision 172058) > +++ gcc/config/sh/sh.h =A0(working copy) > @@ -2113,26 +2113,10 @@ > =A0# endif > =A0#endif > > - > -/* If defined, a C expression whose value is a string containing the > - =A0 assembler operation to identify the following data as > - =A0 uninitialized global data. =A0If not defined, and neither > - =A0 `ASM_OUTPUT_BSS' nor `ASM_OUTPUT_ALIGNED_BSS' are defined, > - =A0 uninitialized global data will be output in the data section if > - =A0 `-fno-common' is passed, otherwise `ASM_OUTPUT_COMMON' will be > - =A0 used. =A0*/ > =A0#ifndef BSS_SECTION_ASM_OP > =A0#define BSS_SECTION_ASM_OP =A0 =A0 "\t.section\t.bss" > =A0#endif > > -/* Like `ASM_OUTPUT_BSS' except takes the required alignment as a > - =A0 separate, explicit argument. =A0If you define this macro, it is used > - =A0 in place of `ASM_OUTPUT_BSS', and gives you more flexibility in > - =A0 handling the required alignment of the variable. =A0The alignment is > - =A0 specified as the number of bits. > - > - =A0 Try to use function `asm_output_aligned_bss' defined in file > - =A0 `varasm.c' when defining this macro. =A0*/ > =A0#ifndef ASM_OUTPUT_ALIGNED_BSS > =A0#define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \ > =A0 asm_output_aligned_bss (FILE, DECL, NAME, SIZE, ALIGN) > Index: gcc/config/fr30/fr30.h > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- gcc/config/fr30/fr30.h =A0 =A0 =A0(revision 172058) > +++ gcc/config/fr30/fr30.h =A0 =A0 =A0(working copy) > @@ -702,13 +702,6 @@ > =A0 =A0`".data"' is right. =A0*/ > =A0#define DATA_SECTION_ASM_OP "\t.data" > > -/* If defined, a C expression whose value is a string containing the > - =A0 assembler operation to identify the following data as > - =A0 uninitialized global data. =A0If not defined, and neither > - =A0 `ASM_OUTPUT_BSS' nor `ASM_OUTPUT_ALIGNED_BSS' are defined, > - =A0 uninitialized global data will be output in the data section if > - =A0 `-fno-common' is passed, otherwise `ASM_OUTPUT_COMMON' will be > - =A0 used. =A0*/ > =A0#define BSS_SECTION_ASM_OP "\t.section .bss" > > =A0/*}}}*/ > Index: gcc/config/m68k/m68kelf.h > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- gcc/config/m68k/m68kelf.h =A0 (revision 172058) > +++ gcc/config/m68k/m68kelf.h =A0 (working copy) > @@ -139,25 +139,10 @@ > =A0#undef STARTFILE_SPEC > =A0#define STARTFILE_SPEC "crtbegin.o%s" > > -/* If defined, a C expression whose value is a string containing the > - =A0 assembler operation to identify the following data as > - =A0 uninitialized global data. =A0If not defined, and neither > - =A0 `ASM_OUTPUT_BSS' nor `ASM_OUTPUT_ALIGNED_BSS' are defined, > - =A0 uninitialized global data will be output in the data section if > - =A0 `-fno-common' is passed, otherwise `ASM_OUTPUT_COMMON' will be > - =A0 used. =A0*/ > =A0#ifndef BSS_SECTION_ASM_OP > =A0#define BSS_SECTION_ASM_OP =A0 =A0 "\t.section\t.bss" > =A0#endif > > -/* Like `ASM_OUTPUT_BSS' except takes the required alignment as a > - =A0 separate, explicit argument. =A0If you define this macro, it is used > - =A0 in place of `ASM_OUTPUT_BSS', and gives you more flexibility in > - =A0 handling the required alignment of the variable. =A0The alignment is > - =A0 specified as the number of bits. > - > - =A0 Try to use function `asm_output_aligned_bss' defined in file > - =A0 `varasm.c' when defining this macro. =A0*/ > =A0#ifndef ASM_OUTPUT_ALIGNED_BSS > =A0#define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \ > =A0 asm_output_aligned_bss (FILE, DECL, NAME, SIZE, ALIGN) > Index: gcc/config/m68k/netbsd-elf.h > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- gcc/config/m68k/netbsd-elf.h =A0 =A0 =A0 =A0(revision 172058) > +++ gcc/config/m68k/netbsd-elf.h =A0 =A0 =A0 =A0(working copy) > @@ -171,15 +171,6 @@ > =A0#define BSS_SECTION_ASM_OP =A0 =A0 ".section\t.bss" > > > -/* Like `ASM_OUTPUT_BSS' except takes the required alignment as a > - =A0 separate, explicit argument. =A0If you define this macro, it is used > - =A0 in place of `ASM_OUTPUT_BSS', and gives you more flexibility in > - =A0 handling the required alignment of the variable. =A0The alignment is > - =A0 specified as the number of bits. > - > - =A0 Try to use function `asm_output_aligned_bss' defined in file > - =A0 `varasm.c' when defining this macro. =A0*/ > - > =A0#undef ASM_OUTPUT_ALIGNED_BSS > =A0#define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) =A0 =A0 = =A0 =A0 =A0\ > =A0 asm_output_aligned_bss (FILE, DECL, NAME, SIZE, ALIGN) > > > Anatoly. > >