From c9280dfe849bffd09f1cb74741eb55b4f5a52686 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 28 Mar 2003 08:07:03 +0000 Subject: [PATCH] elf.h (ASM_OUTPUT_ALIGNED_BSS): Remove unnecessary globalize_label. * 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 | 12 ++++++++++++ gcc/config/alpha/elf.h | 3 +-- gcc/config/arm/unknown-elf.h | 5 ++--- gcc/config/i960/i960.h | 3 --- gcc/config/m32r/m32r.h | 1 - gcc/config/mips/elf.h | 4 ++-- gcc/config/mips/linux.h | 4 ++-- gcc/config/sparc/sparc.h | 5 +---- gcc/config/v850/v850.c | 4 +--- 9 files changed, 21 insertions(+), 20 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8b2801939ed0..9fd7949510a4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,15 @@ +2003-03-28 Alan Modra + + * 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 * loop.c: (find_mem_in_note_1, find_mem_in_note): New functions. diff --git a/gcc/config/alpha/elf.h b/gcc/config/alpha/elf.h index afe96462d4ed..bd0d97cb202e 100644 --- a/gcc/config/alpha/elf.h +++ b/gcc/config/alpha/elf.h @@ -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) diff --git a/gcc/config/arm/unknown-elf.h b/gcc/config/arm/unknown-elf.h index 747d80d1d16b..2528ed3a299b 100644 --- a/gcc/config/arm/unknown-elf.h +++ b/gcc/config/arm/unknown-elf.h @@ -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 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; \ diff --git a/gcc/config/i960/i960.h b/gcc/config/i960/i960.h index f93f0159f10a..83ba19129248 100644 --- a/gcc/config/i960/i960.h +++ b/gcc/config/i960/i960.h @@ -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) diff --git a/gcc/config/m32r/m32r.h b/gcc/config/m32r/m32r.h index 0c48b3ea4c59..df9ee5aee4d6 100644 --- a/gcc/config/m32r/m32r.h +++ b/gcc/config/m32r/m32r.h @@ -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) diff --git a/gcc/config/mips/elf.h b/gcc/config/mips/elf.h index c64bb46b6218..8df5c376d367 100644 --- a/gcc/config/mips/elf.h +++ b/gcc/config/mips/elf.h @@ -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 \ diff --git a/gcc/config/mips/linux.h b/gcc/config/mips/linux.h index 959a065d2fca..894fcd03b34c 100644 --- a/gcc/config/mips/linux.h +++ b/gcc/config/mips/linux.h @@ -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 \ diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index 2e47ba456e74..830467dfb936 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -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) diff --git a/gcc/config/v850/v850.c b/gcc/config/v850/v850.c index f029a463233d..01859dad7f46 100644 --- a/gcc/config/v850/v850.c +++ b/gcc/config/v850/v850.c @@ -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: -- 2.47.3