Commit f5e605e5 by Richard Sandiford Committed by Richard Sandiford

* doc/tm.texi (ASM_OUTPUT_SHARED_COMMON, ASM_OUTPUT_SHARED_BSS)

	(ASM_OUTPUT_SHARED_LOCAL): Delete.
	* doc/invoke.texi (-fshared-data): Delete.
	* common.opt (fshared-data): Delete.
	* varasm.c (asm_emit_uninitialised): Remove flag_shared_data handling.
	(assemble_static_space): Remove #if 0 code.
	* system.h (ASM_OUTPUT_SHARED_COMMON, ASM_OUTPUT_SHARED_BSS)
	(ASM_OUTPUT_SHARED_LOCAL): Poison.
	* config/cris/cris.h: Remove FIXME.

From-SVN: r111330
parent 880b9e7b
2006-02-21 Richard Sandiford <richard@codesourcery.com>
* doc/tm.texi (ASM_OUTPUT_SHARED_COMMON, ASM_OUTPUT_SHARED_BSS)
(ASM_OUTPUT_SHARED_LOCAL): Delete.
* doc/invoke.texi (-fshared-data): Delete.
* common.opt (fshared-data): Delete.
* varasm.c (asm_emit_uninitialised): Remove flag_shared_data handling.
(assemble_static_space): Remove #if 0 code.
* system.h (ASM_OUTPUT_SHARED_COMMON, ASM_OUTPUT_SHARED_BSS)
(ASM_OUTPUT_SHARED_LOCAL): Poison.
* config/cris/cris.h: Remove FIXME.
2006-02-21 Paolo Bonzini <bonzini@gnu.org> 2006-02-21 Paolo Bonzini <bonzini@gnu.org>
* doc/sourcebuild.texi (Front End Directory): No more double-colon * doc/sourcebuild.texi (Front End Directory): No more double-colon
......
...@@ -799,10 +799,6 @@ frtl-abstract-sequences ...@@ -799,10 +799,6 @@ frtl-abstract-sequences
Common Report Var(flag_rtl_seqabstr) Common Report Var(flag_rtl_seqabstr)
Perform sequence abstraction optimization on RTL Perform sequence abstraction optimization on RTL
fshared-data
Common Report Var(flag_shared_data)
Mark data as shared rather than private
fshow-column fshow-column
Common C ObjC C++ ObjC++ Report Var(flag_show_column) Init(1) Common C ObjC C++ ObjC++ Report Var(flag_show_column) Init(1)
Show column numbers in diagnostics, when available. Default on Show column numbers in diagnostics, when available. Default on
......
...@@ -1243,9 +1243,6 @@ enum cris_pic_symbol_type ...@@ -1243,9 +1243,6 @@ enum cris_pic_symbol_type
#define ASM_OUTPUT_ALIGNED_DECL_LOCAL(FILE, DECL, NAME, SIZE, ALIGN) \ #define ASM_OUTPUT_ALIGNED_DECL_LOCAL(FILE, DECL, NAME, SIZE, ALIGN) \
CRIS_ASM_OUTPUT_ALIGNED_DECL_COMMON(FILE, DECL, NAME, SIZE, ALIGN, 1) CRIS_ASM_OUTPUT_ALIGNED_DECL_COMMON(FILE, DECL, NAME, SIZE, ALIGN, 1)
/* FIXME: define ASM_OUTPUT_SHARED_COMMON and emit an error when it is
used with -melinux and a.out. */
/* Node: Label Output */ /* Node: Label Output */
/* Globalizing directive for a label. */ /* Globalizing directive for a label. */
......
...@@ -761,7 +761,7 @@ See S/390 and zSeries Options. ...@@ -761,7 +761,7 @@ See S/390 and zSeries Options.
-fno-common -fno-ident @gol -fno-common -fno-ident @gol
-fpcc-struct-return -fpic -fPIC -fpie -fPIE @gol -fpcc-struct-return -fpic -fPIC -fpie -fPIE @gol
-fno-jump-tables @gol -fno-jump-tables @gol
-freg-struct-return -fshared-data -fshort-enums @gol -freg-struct-return -fshort-enums @gol
-fshort-double -fshort-wchar @gol -fshort-double -fshort-wchar @gol
-fverbose-asm -fpack-struct[=@var{n}] -fstack-check @gol -fverbose-asm -fpack-struct[=@var{n}] -fstack-check @gol
-fstack-limit-register=@var{reg} -fstack-limit-symbol=@var{sym} @gol -fstack-limit-register=@var{reg} -fstack-limit-symbol=@var{sym} @gol
...@@ -13001,14 +13001,6 @@ useful for building programs to run under WINE@. ...@@ -13001,14 +13001,6 @@ useful for building programs to run under WINE@.
code that is not binary compatible with code generated without that switch. code that is not binary compatible with code generated without that switch.
Use it to conform to a non-default application binary interface. Use it to conform to a non-default application binary interface.
@item -fshared-data
@opindex fshared-data
Requests that the data and non-@code{const} variables of this
compilation be shared data rather than private data. The distinction
makes sense only on certain operating systems, where shared data is
shared between processes running the same program, while private data
exists in one copy per process.
@item -fno-common @item -fno-common
@opindex fno-common @opindex fno-common
In C, allocate even uninitialized global variables in the data section of the In C, allocate even uninitialized global variables in the data section of the
......
...@@ -6671,12 +6671,6 @@ in place of both @code{ASM_OUTPUT_COMMON} and ...@@ -6671,12 +6671,6 @@ in place of both @code{ASM_OUTPUT_COMMON} and
the variable's decl in order to chose what to output. the variable's decl in order to chose what to output.
@end defmac @end defmac
@defmac ASM_OUTPUT_SHARED_COMMON (@var{stream}, @var{name}, @var{size}, @var{rounded})
If defined, it is similar to @code{ASM_OUTPUT_COMMON}, except that it
is used when @var{name} is shared. If not defined, @code{ASM_OUTPUT_COMMON}
will be used.
@end defmac
@defmac ASM_OUTPUT_BSS (@var{stream}, @var{decl}, @var{name}, @var{size}, @var{rounded}) @defmac ASM_OUTPUT_BSS (@var{stream}, @var{decl}, @var{name}, @var{size}, @var{rounded})
A C statement (sans semicolon) to output to the stdio stream A C statement (sans semicolon) to output to the stdio stream
@var{stream} the assembler definition of uninitialized global @var{decl} named @var{stream} the assembler definition of uninitialized global @var{decl} named
...@@ -6709,12 +6703,6 @@ Try to use function @code{asm_output_aligned_bss} defined in file ...@@ -6709,12 +6703,6 @@ Try to use function @code{asm_output_aligned_bss} defined in file
@file{varasm.c} when defining this macro. @file{varasm.c} when defining this macro.
@end defmac @end defmac
@defmac ASM_OUTPUT_SHARED_BSS (@var{stream}, @var{decl}, @var{name}, @var{size}, @var{rounded})
If defined, it is similar to @code{ASM_OUTPUT_BSS}, except that it
is used when @var{name} is shared. If not defined, @code{ASM_OUTPUT_BSS}
will be used.
@end defmac
@defmac ASM_OUTPUT_LOCAL (@var{stream}, @var{name}, @var{size}, @var{rounded}) @defmac ASM_OUTPUT_LOCAL (@var{stream}, @var{name}, @var{size}, @var{rounded})
A C statement (sans semicolon) to output to the stdio stream A C statement (sans semicolon) to output to the stdio stream
@var{stream} the assembler definition of a local-common-label named @var{stream} the assembler definition of a local-common-label named
...@@ -6746,12 +6734,6 @@ in place of both @code{ASM_OUTPUT_DECL} and ...@@ -6746,12 +6734,6 @@ in place of both @code{ASM_OUTPUT_DECL} and
the variable's decl in order to chose what to output. the variable's decl in order to chose what to output.
@end defmac @end defmac
@defmac ASM_OUTPUT_SHARED_LOCAL (@var{stream}, @var{name}, @var{size}, @var{rounded})
If defined, it is similar to @code{ASM_OUTPUT_LOCAL}, except that it
is used when @var{name} is shared. If not defined, @code{ASM_OUTPUT_LOCAL}
will be used.
@end defmac
@node Label Output @node Label Output
@subsection Output and Generation of Labels @subsection Output and Generation of Labels
......
...@@ -731,7 +731,8 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN; ...@@ -731,7 +731,8 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN;
PREDICATE_CODES SPECIAL_MODE_PREDICATES HOST_PTR_PRINTF \ PREDICATE_CODES SPECIAL_MODE_PREDICATES HOST_PTR_PRINTF \
EXTRA_SECTIONS EXTRA_SECTION_FUNCTIONS READONLY_DATA_SECTION \ EXTRA_SECTIONS EXTRA_SECTION_FUNCTIONS READONLY_DATA_SECTION \
TARGET_ASM_EXCEPTION_SECTION TARGET_ASM_EH_FRAME_SECTION \ TARGET_ASM_EXCEPTION_SECTION TARGET_ASM_EH_FRAME_SECTION \
SMALL_ARG_MAX SMALL_ARG_MAX ASM_OUTPUT_SHARED_BSS ASM_OUTPUT_SHARED_COMMON \
ASM_OUTPUT_SHARED_LOCAL
/* Hooks that are no longer used. */ /* Hooks that are no longer used. */
#pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE \ #pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE \
......
...@@ -1547,30 +1547,6 @@ asm_emit_uninitialised (tree decl, const char *name, ...@@ -1547,30 +1547,6 @@ asm_emit_uninitialised (tree decl, const char *name,
if (destination == asm_dest_bss) if (destination == asm_dest_bss)
globalize_decl (decl); globalize_decl (decl);
if (flag_shared_data)
{
switch (destination)
{
#ifdef ASM_OUTPUT_SHARED_BSS
case asm_dest_bss:
ASM_OUTPUT_SHARED_BSS (asm_out_file, decl, name, size, rounded);
return;
#endif
#ifdef ASM_OUTPUT_SHARED_COMMON
case asm_dest_common:
ASM_OUTPUT_SHARED_COMMON (asm_out_file, name, size, rounded);
return;
#endif
#ifdef ASM_OUTPUT_SHARED_LOCAL
case asm_dest_local:
ASM_OUTPUT_SHARED_LOCAL (asm_out_file, name, size, rounded);
return;
#endif
default:
break;
}
}
switch (destination) switch (destination)
{ {
#ifdef ASM_EMIT_BSS #ifdef ASM_EMIT_BSS
...@@ -2104,11 +2080,6 @@ assemble_static_space (unsigned HOST_WIDE_INT size) ...@@ -2104,11 +2080,6 @@ assemble_static_space (unsigned HOST_WIDE_INT size)
const char *namestring; const char *namestring;
rtx x; rtx x;
#if 0
if (flag_shared_data)
switch_to_section (data_section);
#endif
ASM_GENERATE_INTERNAL_LABEL (name, "LF", const_labelno); ASM_GENERATE_INTERNAL_LABEL (name, "LF", const_labelno);
++const_labelno; ++const_labelno;
namestring = ggc_strdup (name); namestring = ggc_strdup (name);
......
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