Commit Graph

18 Commits

Author SHA1 Message Date
Richard Henderson
0577bad8bf elfos.h (ASM_DECLARE_OBJECT_NAME): Care for null DECL.
* config/elfos.h (ASM_DECLARE_OBJECT_NAME): Care for null DECL.
        * config/ia64/sysv4.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise.

From-SVN: r35412
2000-08-01 13:24:22 -07:00
David O'Brien
33261b0a22 elfos.h (ASM_GENERATE_INTERNAL_LABEL): Make printf specification match cast.
* config/elfos.h (ASM_GENERATE_INTERNAL_LABEL): Make printf
        specification match cast.

From-SVN: r34548
2000-06-14 10:08:28 -06:00
Richard Kenner
f2b339813f elfos.h (SELECT_SECTION): Don't access DECL_INITIAL of a CONSTRUCTOR.
* config/elfos.h (SELECT_SECTION): Don't access DECL_INITIAL of
	a CONSTRUCTOR.

From-SVN: r34019
2000-05-19 06:44:55 -04:00
Alexandre Oliva
85b0830b83 elfos.h (SELECT_SECTION): Decide whether to use a data or const section to output a CONSTRUCTOR based on...
* config/elfos.h (SELECT_SECTION): Decide whether to use a data or
const section to output a CONSTRUCTOR based on the same conditions
used for VAR_DECLs.

From-SVN: r33085
2000-04-12 00:29:43 +00:00
Geoff Keating
42235f853e elfos.h (ASM_OUTPUT_LABELREF): Don't define.
* config/elfos.h (ASM_OUTPUT_LABELREF): Don't define.  The default
is right for most ELF targets.
* config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
Let the default file use %U properly.
* config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define.  Use the
default.

* config/fp-bit.c (pack_d): Properly handle rounding of denormal
numbers.

From-SVN: r32183
2000-02-26 20:03:11 +00:00
Alan Modra
e8c3586ab8 Fix definition of UNIQUE_SECTION so that zero initialised data is placed
into .data.

From-SVN: r31563
2000-01-22 19:49:21 +00:00
Kaveh R. Ghazi
7bdb32b97e Makefile.in (optabs.o): Depend on real.h
* Makefile.in (optabs.o): Depend on real.h
	(resource.o): Depend on insn-attr.h

	* builtins.c (result_vector): Wrap prototype in macro conditions
	governing definition and use.

	* c-common.c: Include tm_p.h.

	* c-lex.c: Likewise.

	* elfos.h: Constify a char*.

	* final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
	(get_attr_length, shorten_branches, profile_after_prologue): Mark
	parameter with ATTRIBUTE_UNUSED.

	* fold-const.c (exact_real_inverse): Wrap variable `i' in
	CHECK_FLOAT_VALUE.

	* haifa-sched.c (schedule_insns): Mark parameter with
	ATTRIBUTE_UNUSED.

	* optabs.c: Include real.h.

	* real.h (ereal_atof): Add prototype arguments.

	* resource.c: Include insn-attr.h.

	* sdbout.c (sdbout_queue_anonymous_type,
	sdbout_dequeue_anonymous_types): Wrap in macro
	SDB_ALLOW_FORWARD_REFERENCES.
	(sdbout_init, sdbout_start_new_source_file): Mark parameter with
	ATTRIBUTE_UNUSED.

	* stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.

	* stupid.c: Include tm_p.h.

	* tree.c (real_value_from_int_cst): Mark parameter with
	ATTRIBUTE_UNUSED.

cp:
	* lex.c: Include tm_p.h.

ch:
	* lex.c: Include tm_p.h.

From-SVN: r31308
2000-01-10 23:48:03 +00:00
Kaveh R. Ghazi
0ce8a59c2b elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around assignment used as truth value.
* elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
	assignment used as truth value.

	* function.c (assign_temp): Mark parameter `dont_promote' with
	ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
	PROMOTE_FOR_CALL_ONLY.

	* genrecog.c (write_subroutine): Mark variable `operands' with
	ATTRIBUTE_UNUSED.

	* optabs.c (prepare_cmp_insn): Mark parameter `align' with
	ATTRIBUTE_UNUSED.

	* sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
	(sdbout_begin_block, sdbout_end_block): Likewise for `file'.

	* toplev.c (note_deferral_of_defined_inline_function): Likewise
	for `decl'.

From-SVN: r31293
2000-01-09 14:23:35 +00:00
Nick Clifton
f6cad4c9e9 Merge duplicate definitions in svr4.h into elfos.h
From-SVN: r31274
2000-01-07 18:30:43 +00:00
Catherine Moore
8d17059017 elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
* config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
        (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.

From-SVN: r30444
1999-11-07 20:46:20 -05:00
Kaveh R. Ghazi
7751947bd4 output.h (ctors_section, [...]): Prototype.
* output.h (ctors_section, dtors_section, bss_section): Prototype.

	* alpha/alpha-interix.h (text_section): Delete prototype.
	* alpha/elf.h (text_section): Likewise.
	* arm/linux-elf.h (text_section): Likewise.
	* arm/linux-telf.h (text_section): Likewise.
	* c4x/c4x.h (text_section): Likewise.
	* dsp16xx/dsp16xx.h (bss_section): Likewise.
	* elfos.h (text_section): Likewise.
	* i386/aix386ng.h (text_section): Likewise.
	* i386/i386-interix.h (text_section): Likewise.
	* i386/sco5.h (text_section): Likewise.
	* i386/svr3gas.h (text_section): Likewise.
	* nextstep.h (text_section): Likewise.
	* psos.h (text_section): Likewise.
	* ptx4.h (text_section): Likewise.
	* svr3.h (text_section): Likewise.
	* svr4.h (text_section, ctors_section, dtors_section): Likewise.

From-SVN: r30145
1999-10-24 19:38:53 +00:00
Jason Merrill
c063dc9813 gbl-ctors.h: Lose HAVE_ATEXIT.
* gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
	* libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
	(__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
	(__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
	(atexit, exit): Simplify.
	* tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
	* config/lots: Remove defns of HAVE_ATEXIT.

From-SVN: r29439
1999-09-15 17:41:16 -04:00
Joel Sherrill
d147663589 configure.in (m68k-*-rtemscoff*): Added.
* configure.in (m68k-*-rtemscoff*): Added.
        * configure.in (mips64orion-*-rtems*): Converted to ELF.
        * configure.in (sparc-*-rtemsaout*): Added as alias for old
        sparc-rtems configuration.
        * configure.in (sparc-*-rtemself*): Added.
        * configure.in (sparc-*-rtems*): Now ELF not a.out.
        * config/i386/rtems.h: Added comment.
        * config/sparc/rtemself.h: New file.

        * configure.in (m68k-rtemself): Added.
        * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
        and DWARF_DEBUGGING_INFO.
        * config/m68k/crti.s: New file.
        * config/m68k/crtn.s: New file.
        * config/m68k/t-crtstuff: New file.
        * config/m68k/rtemself.h: New file.

        * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
        global ctor/dtor and C++ exception handling.
        * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
        for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
        ENDFILE_SPEC.
        * config/i386/t-rtems-i386: New File.

Co-Authored-By: Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
Co-Authored-By: Rosimildo DaSilva <rdasilva@connecttel.com>

From-SVN: r29401
1999-09-14 03:52:09 -06:00
Jeffrey A Law
c7a159aa2f elfos.h (const_section): Output a tab before assembler directives.
* elfos.h (const_section): Output a tab before assembler directives.
	(ctors_section, dtors_section): Likewise.
	(ASM_OUTPUT_SECTION_NAME): Likewise.

From-SVN: r27845
1999-06-29 23:58:43 -06:00
Nick Clifton
cedcf9372a Move stabs specific target macros out od svr4.h and elfos.h and into dbxelf.h
From-SVN: r25995
1999-03-26 10:45:27 +00:00
Zack Weinberg
be163a70f5 flags.h: Declare flag_no_ident.
1999-01-31 17:52 -0500  Zack Weinberg  <zack@midnite.ec.rhno.columbia.edu>
	* flags.h: Declare flag_no_ident.
	* toplev.c: Define flag_no_ident.  Process -f(no-)ident here.
	* c-decl.c: Don't define flag_no_ident.  Don't process
          -f(no-)ident switches here.
	* ch/decl.c: Likewise.
	* cp/decl2.c: Likewise.
	* c-tree.h: Don't declare flag_no_ident.
	* ch/ch-tree.h: Likewise.
	* cp/cp-tree.h: Likewise.
	* config/elfos.h (ASM_FILE_END): Output final .ident directive
          only if !flag_no_ident.
	* config/ptx4.h: Likewise.
	* config/svr4.h: Likewise.
	* config/alpha/elf.h: Likewise.
	* config/arm/linux-elf.h: Likewise.
	* config/i386/sco5.h: Likewise.
	* config/i860/fx2800.h: Likewise.
	* config/mips/gnu.h: Likewise.
	* config/i386/osfrose.h: Likewise.
	* gcc.c (C specs): Map -Qn to -fno-ident.
	* ch/lang-specs.h: Likewise.
	* cp/lang-specs.h: Likewise.
	* f/lang-specs.h: Likewise.
	* objc/lang-specs.h: Likewise.
	* java/lang-specs.h: Likewise.

From-SVN: r24943
1999-01-31 17:46:42 +00:00
Jeff Law
63fdf24a7a More FSF address updates.
From-SVN: r24615
1999-01-11 06:43:27 -07:00
Jim Wilson
d1be3be367 Add m68k-elf port from Cygnus gcc sources.
* configure.in (m68020-*-elf*, m68k-*-elf*): New targets.
	* configure: Rebuild.
	* config/elfos.h: New file.
	* config/m68k/m68020-elf.h, config/m68k/m68kelf.h,
	config/m68k/t-m68kelf: New file.

From-SVN: r23835
1998-11-24 12:42:38 -08:00