Commit c9280dfe by Alan Modra Committed by Alan Modra

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
parent 433cd9c9
2003-03-28 Alan Modra <amodra@bigpond.net.au> 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. * loop.c: (find_mem_in_note_1, find_mem_in_note): New functions.
(replace_loop_mems): Add "written" param. Remove invalid REG_EQUAL (replace_loop_mems): Add "written" param. Remove invalid REG_EQUAL
notes after hoisting. notes after hoisting.
......
/* Definitions of target machine for GNU compiler, for DEC Alpha w/ELF. /* 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. Free Software Foundation, Inc.
Contributed by Richard Henderson (rth@tamu.edu). Contributed by Richard Henderson (rth@tamu.edu).
...@@ -156,7 +156,6 @@ do { \ ...@@ -156,7 +156,6 @@ do { \
#undef ASM_OUTPUT_ALIGNED_BSS #undef ASM_OUTPUT_ALIGNED_BSS
#define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \ #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \
do { \ do { \
(*targetm.asm_out.globalize_label) (FILE, NAME); \
ASM_OUTPUT_ALIGNED_LOCAL (FILE, NAME, SIZE, ALIGN); \ ASM_OUTPUT_ALIGNED_LOCAL (FILE, NAME, SIZE, ALIGN); \
} while (0) } while (0)
......
/* Definitions for non-Linux based ARM systems using ELF /* 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> Contributed by Catherine Moore <clm@cygnus.com>
This file is part of GCC. This file is part of GCC.
...@@ -61,8 +62,6 @@ ...@@ -61,8 +62,6 @@
else \ else \
bss_section (); \ bss_section (); \
\ \
(*targetm.asm_out.globalize_label) (FILE, NAME); \
\
ASM_OUTPUT_ALIGN (FILE, floor_log2 (ALIGN / BITS_PER_UNIT)); \ ASM_OUTPUT_ALIGN (FILE, floor_log2 (ALIGN / BITS_PER_UNIT)); \
\ \
last_assemble_variable_decl = DECL; \ last_assemble_variable_decl = DECL; \
......
...@@ -1289,9 +1289,6 @@ extern struct rtx_def *i960_compare_op0, *i960_compare_op1; ...@@ -1289,9 +1289,6 @@ extern struct rtx_def *i960_compare_op0, *i960_compare_op1;
#define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \ #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \
do { \ do { \
fputs (".globl ", (FILE)); \
assemble_name ((FILE), (NAME)); \
fputs ("\n", (FILE)); \
ASM_OUTPUT_ALIGNED_LOCAL (FILE, NAME, SIZE, ALIGN); \ ASM_OUTPUT_ALIGNED_LOCAL (FILE, NAME, SIZE, ALIGN); \
} while (0) } while (0)
......
...@@ -1800,7 +1800,6 @@ extern char m32r_punct_chars[256]; ...@@ -1800,7 +1800,6 @@ extern char m32r_punct_chars[256];
#define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \ #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \
do \ do \
{ \ { \
(*targetm.asm_out.globalize_label) (FILE, NAME); \
ASM_OUTPUT_ALIGNED_COMMON (FILE, NAME, SIZE, ALIGN); \ ASM_OUTPUT_ALIGNED_COMMON (FILE, NAME, SIZE, ALIGN); \
} \ } \
while (0) while (0)
......
/* Definitions of target machine for GNU compiler. MIPS R3000 version with /* Definitions of target machine for GNU compiler. MIPS R3000 version with
GOFAST floating point library. 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. This file is part of GNU CC.
...@@ -105,7 +106,6 @@ do { \ ...@@ -105,7 +106,6 @@ do { \
#ifndef ASM_OUTPUT_ALIGNED_BSS #ifndef ASM_OUTPUT_ALIGNED_BSS
#define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \ #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \
do { \ do { \
(*targetm.asm_out.globalize_label) (FILE, NAME); \
if (SIZE > 0 && SIZE <= mips_section_threshold) \ if (SIZE > 0 && SIZE <= mips_section_threshold) \
sbss_section (); \ sbss_section (); \
else \ else \
......
/* Definitions for MIPS running Linux-based GNU systems with ELF format. /* 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. This file is part of GNU CC.
...@@ -45,7 +46,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -45,7 +46,6 @@ Boston, MA 02111-1307, USA. */
`varasm.c' when defining this macro. */ `varasm.c' when defining this macro. */
#define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \ #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \
do { \ do { \
(*targetm.asm_out.globalize_label) (FILE, NAME); \
if (SIZE > 0 && SIZE <= mips_section_threshold) \ if (SIZE > 0 && SIZE <= mips_section_threshold) \
sbss_section (); \ sbss_section (); \
else \ else \
......
/* Definitions of target machine for GNU compiler, for Sun SPARC. /* Definitions of target machine for GNU compiler, for Sun SPARC.
Copyright (C) 1987, 1988, 1989, 1992, 1994, 1995, 1996, 1997, 1998, 1999 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). Contributed by Michael Tiemann (tiemann@cygnus.com).
64 bit SPARC V9 support by Michael Tiemann, Jim Wilson, and Doug Evans, 64 bit SPARC V9 support by Michael Tiemann, Jim Wilson, and Doug Evans,
at Cygnus Support. at Cygnus Support.
...@@ -2818,9 +2818,6 @@ do { \ ...@@ -2818,9 +2818,6 @@ do { \
#define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \ #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \
do { \ do { \
fputs (".globl ", (FILE)); \
assemble_name ((FILE), (NAME)); \
fputs ("\n", (FILE)); \
ASM_OUTPUT_ALIGNED_LOCAL (FILE, NAME, SIZE, ALIGN); \ ASM_OUTPUT_ALIGNED_LOCAL (FILE, NAME, SIZE, ALIGN); \
} while (0) } while (0)
......
/* Subroutines for insn-output.c for NEC V850 series /* 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. Free Software Foundation, Inc.
Contributed by Jeff Law (law@cygnus.com). Contributed by Jeff Law (law@cygnus.com).
...@@ -2815,8 +2815,6 @@ v850_output_aligned_bss (file, decl, name, size, align) ...@@ -2815,8 +2815,6 @@ v850_output_aligned_bss (file, decl, name, size, align)
int size; int size;
int align; int align;
{ {
(*targetm.asm_out.globalize_label) (file, name);
switch (v850_get_data_area (decl)) switch (v850_get_data_area (decl))
{ {
case DATA_AREA_ZDA: case DATA_AREA_ZDA:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment