aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZack Weinberg <zack@gcc.gnu.org>2003-12-01 18:25:39 +0000
committerZack Weinberg <zack@gcc.gnu.org>2003-12-01 18:25:39 +0000
commitdc170a876af22c8edc00e48943983144bc442334 (patch)
treebd3f467d60cdf0b7a3dff1f88986d9d2837be3ca
parenta68a270a1a2f37d3a48f863173dc3062ca993492 (diff)
downloadgcc-dc170a876af22c8edc00e48943983144bc442334.zip
gcc-dc170a876af22c8edc00e48943983144bc442334.tar.gz
gcc-dc170a876af22c8edc00e48943983144bc442334.tar.bz2
common.opt: Remove -fgnu-linker.
* common.opt: Remove -fgnu-linker. * flags.h: Remove flag_gnu_linker. * opts.c: Don't handle OPT_fgnu_linker. * toplev.c: Don't initialize flag_gnu_linker. Remove gnu-linker entry from f_options. * config/dsp16xx/dsp16xx.h (OPTIMIZATION_OPTIONS): Don't reset flag_gnu_linker. * config/mips/mips.c (override_options): Likewise. * doc/invoke.texi: Remove all mention of -fgnu-linker. From-SVN: r74117
-rw-r--r--gcc/ChangeLog38
-rw-r--r--gcc/common.opt4
-rw-r--r--gcc/config/dsp16xx/dsp16xx.h2
-rw-r--r--gcc/config/mips/mips.c2
-rw-r--r--gcc/doc/invoke.texi13
-rw-r--r--gcc/flags.h4
-rw-r--r--gcc/opts.c4
-rw-r--r--gcc/toplev.c10
8 files changed, 26 insertions, 51 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c9f29da..d3d205c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,17 @@
+2003-12-01 Zack Weinberg <zack@codesourcery.com>
+
+ * common.opt: Remove -fgnu-linker.
+ * flags.h: Remove flag_gnu_linker.
+ * opts.c: Don't handle OPT_fgnu_linker.
+ * toplev.c: Don't initialize flag_gnu_linker.
+ Remove gnu-linker entry from f_options.
+ * config/dsp16xx/dsp16xx.h (OPTIMIZATION_OPTIONS):
+ Don't reset flag_gnu_linker.
+ * config/mips/mips.c (override_options): Likewise.
+ * doc/invoke.texi: Remove all mention of -fgnu-linker.
+
2003-12-01 Daniel Berlin <dberlin@dberlin.org>
-
+
* ggc-zone.c (ggc_pch_write_object): Calculate object size using
ggc_get_size (which accounts for large objects properly).
@@ -76,14 +88,14 @@
2003-11-30 Andreas Krebbel <krebbel1@de.ibm.com>
- * config/s390/s390.md ("tmdi_reg", "tmsi_reg", "*movdi_64", "*movdi_31",
+ * config/s390/s390.md ("tmdi_reg", "tmsi_reg", "*movdi_64", "*movdi_31",
"iordi3"): Insns now use multiple letter constraints.
("*movdi_lhi", "*movdi_lli", "*movdi_lay"): Insns deleted. They are now
covered by "*movdi_64".
("*movsi_lhi", "*movsi_lli", "*movsi_lay"): Insns deleted. They are now
covered by "*movsi_zarch" and "*movsi_esa".
("*movsi_zarch", "*movsi_!zarch"): New insns.
- ("*llgt_sisi_split", "*llgt_didi_split"): Insns deleted. Now covered
+ ("*llgt_sisi_split", "*llgt_didi_split"): Insns deleted. Now covered
by "*andsi3_zarch" and "anddi3".
("*anddi3_ni"): Insn merged with "anddi3".
("*andsi3_ni"): Insn merged with "*andsi3_zarch".
@@ -92,20 +104,20 @@
("*iorsi3_oi"): Insn merged with "*iorsi3_zarch".
("*iorsi3_zarch", "*iorsi3_esa"): New insns.
- * config/s390/s390.c (s390_single_qi, s390_single_hi): Functions
+ * config/s390/s390.c (s390_single_qi, s390_single_hi): Functions
merged to s390_single_part.
(s390_single_part): New function.
NOTE: Semantics have changed a bit. Now the value of the part must
be different from the others to get a non-negative return value.
- (s390_extract_qi, s390_extract_hi): Functions merged to
+ (s390_extract_qi, s390_extract_hi): Functions merged to
s390_extract_part.
(s390_extract_part, s390_extra_constraint_str,
- s390_const_ok_for_constraint_p): New functions. The L constraint got a
- new meaning and the N constraint was added as a multiple letter
+ s390_const_ok_for_constraint_p): New functions. The L constraint got a
+ new meaning and the N constraint was added as a multiple letter
constraint.
(s390_extra_constraint): Function deleted.
(print_operand): New output modifier 'i' and 'j' added.
- All uses of CONST_OK_FOR_LETTER_P were replaced by
+ All uses of CONST_OK_FOR_LETTER_P were replaced by
CONST_OK_FOR_CONSTRAINT_P.
* config/s390/s390-protos.h: Function prototypes adapted.
@@ -181,7 +193,7 @@
* config/gnu.h (HURD_TARGET_OS_CPP_BUILTINS): New.
* config/linux.h (LINUX_TARGET_OS_CPP_BUILTINS): New.
-
+
* config/alpha/gnu.h, config/alpha/linux.h,
config/arm/linux-elf.h, config/cris/cris.h, config/cris/linux.h,
config/i370/linux.h, config/i386/gnu.h, config/i386/i386.h,
@@ -248,7 +260,7 @@
2003-11-27 Randolph Chung <tausq@debian.org>
John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
- * pa.c (hppa_profile_hook): Split gen_call_profiler into separate
+ * pa.c (hppa_profile_hook): Split gen_call_profiler into separate
insns. Use the regular call expander for the call to the profiler.
* pa.md (call_profiler): Delete.
(load_offset_label_address): New insn to load the address of the
@@ -338,7 +350,7 @@
* configure: Regenerate.
2003-11-26 Eric Botcazou <ebotcazou@libertysurf.fr>
- Olivier Hainque <hainque@act-europe.fr>
+ Olivier Hainque <hainque@act-europe.fr>
PR target/6466
* config/sparc/sparc-protos.h (compute_frame_size): New prototype.
@@ -405,7 +417,7 @@
(start_function): Use.
(c_push_function_context): Ditto.
(c-pop_function_context): Ditto.
- (language_function): Move...
+ (language_function): Move...
* c-tree.h: ... here. Add x_in_iteration_stmt, and
x_in_case_stmt.
* c-parse.in (do_stmt_start, select_or_iter_stmt, stmt): Use
@@ -995,7 +1007,7 @@
(umodsi3): Likewise.
2003-11-13 Mark Mitchell <mark@codesourcery.com>
- Kean Johnston <jkj@sco.com>
+ Kean Johnston <jkj@sco.com>
PR c/13029
* toplev.c (check_global_declarations): Do not warn about unused
diff --git a/gcc/common.opt b/gcc/common.opt
index fdb7a84..a3dc84e 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -366,10 +366,6 @@ fgcse-las
Common
Perform redundant load after store elimination in global common subexpression elimination
-fgnu-linker
-Common
-Output GNU ld formatted global initializers
-
fguess-branch-probability
Common
Enable guessing of branch probabilities
diff --git a/gcc/config/dsp16xx/dsp16xx.h b/gcc/config/dsp16xx/dsp16xx.h
index 7e2d540..cea995c 100644
--- a/gcc/config/dsp16xx/dsp16xx.h
+++ b/gcc/config/dsp16xx/dsp16xx.h
@@ -293,8 +293,6 @@ extern int target_flags;
#define OPTIMIZATION_OPTIONS(LEVEL,SIZE) \
{ \
- flag_gnu_linker = FALSE; \
- \
if (LEVEL >= 2) \
{ \
/* The dsp16xx family has so few registers \
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index 87e2089..2b362a4 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -4622,8 +4622,6 @@ override_options (void)
defaults for the N32/N64 ABIs. */
if (TARGET_IRIX && !TARGET_SGI_O32_AS)
{
- flag_gnu_linker = 1;
-
targetm.have_ctors_dtors = true;
targetm.asm_out.constructor = default_named_section_asm_out_constructor;
targetm.asm_out.destructor = default_named_section_asm_out_destructor;
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 4dde50d..a195d08 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -675,7 +675,7 @@ in the following sections.
-fnon-call-exceptions -funwind-tables @gol
-fasynchronous-unwind-tables @gol
-finhibit-size-directive -finstrument-functions @gol
--fno-common -fno-ident -fno-gnu-linker @gol
+-fno-common -fno-ident @gol
-fpcc-struct-return -fpic -fPIC -fpie -fPIE @gol
-freg-struct-return -fshared-data -fshort-enums @gol
-fshort-double -fshort-wchar @gol
@@ -11285,17 +11285,6 @@ program will work on other systems which always work this way.
@opindex fno-ident
Ignore the @samp{#ident} directive.
-@item -fno-gnu-linker
-@opindex fno-gnu-linker
-Do not output global initializations (such as C++ constructors and
-destructors) in the form used by the GNU linker (on systems where the GNU
-linker is the standard method of handling them). Use this option when
-you want to use a non-GNU linker, which also requires using the
-@command{collect2} program to make sure the system linker includes
-constructors and destructors. (@command{collect2} is included in the GCC
-distribution.) For systems which @emph{must} use @command{collect2}, the
-compiler driver @command{gcc} is configured to do this automatically.
-
@item -finhibit-size-directive
@opindex finhibit-size-directive
Don't output a @code{.size} assembler directive, or anything else that
diff --git a/gcc/flags.h b/gcc/flags.h
index c2b2fad..f172ec3 100644
--- a/gcc/flags.h
+++ b/gcc/flags.h
@@ -549,10 +549,6 @@ extern int flag_dump_rtl_in_asm;
in generated assembly code. */
extern int flag_leading_underscore;
-/* -fgnu-linker specifies use of the GNU linker for initializations.
- -fno-gnu-linker says that collect will be used. */
-extern int flag_gnu_linker;
-
/* Tag all structures with __attribute__(packed) */
extern int flag_pack_struct;
diff --git a/gcc/opts.c b/gcc/opts.c
index cbfbd64..41cecc1 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -1023,10 +1023,6 @@ common_handle_option (size_t scode, const char *arg,
flag_gcse_las = value;
break;
- case OPT_fgnu_linker:
- flag_gnu_linker = value;
- break;
-
case OPT_fguess_branch_probability:
flag_guess_branch_prob = value;
break;
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 2956ac6..f31b76e 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -882,15 +882,6 @@ int flag_debug_asm = 0;
int flag_dump_rtl_in_asm = 0;
-/* -fgnu-linker specifies use of the GNU linker for initializations.
- (Or, more generally, a linker that handles initializations.)
- -fno-gnu-linker says that collect2 will be used. */
-#ifdef USE_COLLECT2
-int flag_gnu_linker = 0;
-#else
-int flag_gnu_linker = 1;
-#endif
-
/* Nonzero means put zero initialized data in the bss section. */
int flag_zero_initialized_in_bss = 1;
@@ -1112,7 +1103,6 @@ static const lang_independent_options f_options[] =
{"function-sections", &flag_function_sections, 1 },
{"data-sections", &flag_data_sections, 1 },
{"verbose-asm", &flag_verbose_asm, 1 },
- {"gnu-linker", &flag_gnu_linker, 1 },
{"regmove", &flag_regmove, 1 },
{"optimize-register-move", &flag_regmove, 1 },
{"pack-struct", &flag_pack_struct, 1 },