]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
elf.h (ASM_OUTPUT_ALIGNED_BSS): Remove unnecessary globalize_label.
authorAlan Modra <amodra@bigpond.net.au>
Fri, 28 Mar 2003 08:07:03 +0000 (08:07 +0000)
committerAlan Modra <amodra@gcc.gnu.org>
Fri, 28 Mar 2003 08:07:03 +0000 (18:37 +1030)
* config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): Remove unnecessary
globalize_label.
* config/arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
* config/i960/i960.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
* config/m32r/m32r.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
* config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
* config/mips/linux.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
* config/sparc/sparc.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
* config/v850/v850.c (v850_output_aligned_bss): Likewise.

From-SVN: r64954

gcc/ChangeLog
gcc/config/alpha/elf.h
gcc/config/arm/unknown-elf.h
gcc/config/i960/i960.h
gcc/config/m32r/m32r.h
gcc/config/mips/elf.h
gcc/config/mips/linux.h
gcc/config/sparc/sparc.h
gcc/config/v850/v850.c

index 8b2801939ed0241928c6547a064e43318bcb99f8..9fd7949510a4a18a8038076edfa609c573681dfe 100644 (file)
@@ -1,3 +1,15 @@
+2003-03-28  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): Remove unnecessary
+       globalize_label.
+       * config/arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
+       * config/i960/i960.h (ASM_OUTPUT_ALIGNED_BSS): Likewise. 
+       * config/m32r/m32r.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
+       * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
+       * config/mips/linux.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
+       * config/sparc/sparc.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
+       * config/v850/v850.c (v850_output_aligned_bss): Likewise.
+
 2003-03-28  Alan Modra  <amodra@bigpond.net.au>
 
        * loop.c: (find_mem_in_note_1, find_mem_in_note): New functions.
index afe96462d4ed38f59628716288765613c3bdef7f..bd0d97cb202e479e97657e614d3c0009ae54c98d 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions of target machine for GNU compiler, for DEC Alpha w/ELF.
-   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
+   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
    Free Software Foundation, Inc.
    Contributed by Richard Henderson (rth@tamu.edu).
 
@@ -156,7 +156,6 @@ do {                                                                        \
 #undef  ASM_OUTPUT_ALIGNED_BSS
 #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN)          \
 do {                                                                   \
-  (*targetm.asm_out.globalize_label) (FILE, NAME);                     \
   ASM_OUTPUT_ALIGNED_LOCAL (FILE, NAME, SIZE, ALIGN);                  \
 } while (0)
 
index 747d80d1d16b4e6a45bfb92387e1b14542c97a42..2528ed3a299bf60b864f453f67db127234b25383 100644 (file)
@@ -1,5 +1,6 @@
 /* Definitions for non-Linux based ARM systems using ELF
-   Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+   Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+   Free Software Foundation, Inc.
    Contributed by Catherine Moore <clm@cygnus.com>
 
    This file is part of GCC.
@@ -61,8 +62,6 @@
       else                                                             \
        bss_section ();                                                 \
                                                                        \
-      (*targetm.asm_out.globalize_label) (FILE, NAME);                 \
-                                                                       \
       ASM_OUTPUT_ALIGN (FILE, floor_log2 (ALIGN / BITS_PER_UNIT));     \
                                                                        \
       last_assemble_variable_decl = DECL;                              \
index f93f0159f10a2219042eadc50e4e65a34f915e0c..83ba1912924832e0cd8464256b4fee3e1db364b1 100644 (file)
@@ -1289,9 +1289,6 @@ extern struct rtx_def *i960_compare_op0, *i960_compare_op1;
 
 #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN)  \
   do {                                                         \
-    fputs (".globl ", (FILE));                                 \
-    assemble_name ((FILE), (NAME));                            \
-    fputs ("\n", (FILE));                                      \
     ASM_OUTPUT_ALIGNED_LOCAL (FILE, NAME, SIZE, ALIGN);                \
   } while (0)
 
index 0c48b3ea4c59176cd058848ae23dc0d999c2d995..df9ee5aee4d684c66f5bda3bfb6251e5bf39f3f7 100644 (file)
@@ -1800,7 +1800,6 @@ extern char m32r_punct_chars[256];
 #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN)  \
   do                                                           \
     {                                                          \
-      (*targetm.asm_out.globalize_label) (FILE, NAME);         \
       ASM_OUTPUT_ALIGNED_COMMON (FILE, NAME, SIZE, ALIGN);     \
     }                                                          \
   while (0)
index c64bb46b62183cf1943cd028be32283aa463b6ed..8df5c376d36774873f4bedfb44413fa5c8d87e87 100644 (file)
@@ -1,6 +1,7 @@
 /* Definitions of target machine for GNU compiler.  MIPS R3000 version with
    GOFAST floating point library.
-   Copyright (C) 1994, 1997, 1999, 2000, 2002 Free Software Foundation, Inc.
+   Copyright (C) 1994, 1997, 1999, 2000, 2002, 2003
+   Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -105,7 +106,6 @@ do {                                                \
 #ifndef ASM_OUTPUT_ALIGNED_BSS
 #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \
 do {                                                                   \
-  (*targetm.asm_out.globalize_label) (FILE, NAME);                     \
   if (SIZE > 0 && SIZE <= mips_section_threshold)                      \
     sbss_section ();                                                   \
   else                                                                 \
index 959a065d2fcac59073092dc3c63c48b46d9e694f..894fcd03b34c6a37ebb09948e0e808920f4282ff 100644 (file)
@@ -1,5 +1,6 @@
 /* Definitions for MIPS running Linux-based GNU systems with ELF format.
-   Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+   Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+   Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -45,7 +46,6 @@ Boston, MA 02111-1307, USA.  */
    `varasm.c' when defining this macro.  */
 #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN)  \
 do {                                                           \
-  (*targetm.asm_out.globalize_label) (FILE, NAME);             \
   if (SIZE > 0 && SIZE <= mips_section_threshold)              \
     sbss_section ();                                           \
   else                                                         \
index 2e47ba456e74f1c4bc872dd86de0cea211b0c556..830467dfb936d5fad67e1150ad45a9ec552bec1d 100644 (file)
@@ -1,6 +1,6 @@
 /* Definitions of target machine for GNU compiler, for Sun SPARC.
    Copyright (C) 1987, 1988, 1989, 1992, 1994, 1995, 1996, 1997, 1998, 1999
-   2000, 2001, 2002 Free Software Foundation, Inc.
+   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
    Contributed by Michael Tiemann (tiemann@cygnus.com).
    64 bit SPARC V9 support by Michael Tiemann, Jim Wilson, and Doug Evans,
    at Cygnus Support.
@@ -2818,9 +2818,6 @@ do {                                                                      \
 
 #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN)  \
   do {                                                         \
-    fputs (".globl ", (FILE));                                 \
-    assemble_name ((FILE), (NAME));                            \
-    fputs ("\n", (FILE));                                      \
     ASM_OUTPUT_ALIGNED_LOCAL (FILE, NAME, SIZE, ALIGN);                \
   } while (0)
 
index f029a463233db1bc3ce124673d51015e115e438c..01859dad7f4673e832024d7ed1adef9bbf2af884 100644 (file)
@@ -1,5 +1,5 @@
 /* Subroutines for insn-output.c for NEC V850 series
-   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
+   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
    Free Software Foundation, Inc.
    Contributed by Jeff Law (law@cygnus.com).
 
@@ -2815,8 +2815,6 @@ v850_output_aligned_bss (file, decl, name, size, align)
      int size;
      int align;
 {
-  (*targetm.asm_out.globalize_label) (file, name);
-
   switch (v850_get_data_area (decl))
     {
     case DATA_AREA_ZDA: