diff options
author | Alan Modra <amodra@bigpond.net.au> | 2003-03-28 08:07:03 +0000 |
---|---|---|
committer | Alan Modra <amodra@gcc.gnu.org> | 2003-03-28 18:37:03 +1030 |
commit | c9280dfe849bffd09f1cb74741eb55b4f5a52686 (patch) | |
tree | 50e9900980a3dc5782de3b2fe02240b98189e4b9 | |
parent | 433cd9c9cb32d90aa5747bcc47d821ed8b8287b5 (diff) | |
download | gcc-c9280dfe849bffd09f1cb74741eb55b4f5a52686.zip gcc-c9280dfe849bffd09f1cb74741eb55b4f5a52686.tar.gz gcc-c9280dfe849bffd09f1cb74741eb55b4f5a52686.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 12 | ||||
-rw-r--r-- | gcc/config/alpha/elf.h | 3 | ||||
-rw-r--r-- | gcc/config/arm/unknown-elf.h | 5 | ||||
-rw-r--r-- | gcc/config/i960/i960.h | 3 | ||||
-rw-r--r-- | gcc/config/m32r/m32r.h | 1 | ||||
-rw-r--r-- | gcc/config/mips/elf.h | 4 | ||||
-rw-r--r-- | gcc/config/mips/linux.h | 4 | ||||
-rw-r--r-- | gcc/config/sparc/sparc.h | 5 | ||||
-rw-r--r-- | gcc/config/v850/v850.c | 4 |
9 files changed, 21 insertions, 20 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8b28019..9fd7949 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,17 @@ 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. (replace_loop_mems): Add "written" param. Remove invalid REG_EQUAL notes after hoisting. diff --git a/gcc/config/alpha/elf.h b/gcc/config/alpha/elf.h index afe9646..bd0d97c 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 747d80d..2528ed3 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 <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; \ diff --git a/gcc/config/i960/i960.h b/gcc/config/i960/i960.h index f93f015..83ba191 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 0c48b3e..df9ee5a 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 c64bb46..8df5c37 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 959a065..894fcd0 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 2e47ba4..830467d 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 f029a46..01859da 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: |