diff options
author | oldham <oldham@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-15 03:33:56 +0000 |
---|---|---|
committer | oldham <oldham@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-15 03:33:56 +0000 |
commit | 246dd8156238526ae92c4052535ca888ea786042 (patch) | |
tree | 5b522cca0fe69fade7ce32a3bd076b8b4accee35 /gcc/defaults.h | |
parent | 8d846d6062fe3b791bf4ef8dada434bb885180dc (diff) | |
download | gcc-246dd8156238526ae92c4052535ca888ea786042.tar.gz |
gcc/ChangeLog:
2001-01-14 Jeffrey Oldham <oldham@codesourcery.com>
* defaults.h (SUPPORTS_INIT_PRIORITY): New macro to indicate the
linker supports the init_priority C++ attribute.
* tm.texi (SUPPORTS_INIT_PRIORITY): Documentation for new macro.
* config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Indicate Irix
linker does not support init_priority C++ attribute.
gcc/cp/ChangeLog:
2001-01-14 Jeffrey Oldham <oldham@codesourcery.com>
* tree.c: Add defaults.h
(cp_valid_lang_attribute): Incorporate SUPPORTS_INIT_PRIORITY.
* Make-lang.in (cp/tree.o): Add defaults.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39023 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r-- | gcc/defaults.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h index 2f2aee9346f..2aa5218d464 100644 --- a/gcc/defaults.h +++ b/gcc/defaults.h @@ -1,7 +1,7 @@ /* Definitions of various defaults for how to do assembler output (most of which are designed to be appropriate for GAS or for some BSD assembler). - Copyright (C) 1992, 1996, 1997, 1998, 1999, 2000 + Copyright (C) 1992, 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. Contributed by Ron Guilmette (rfg@monkeys.com) @@ -167,6 +167,12 @@ do { ASM_OUTPUT_LABEL(FILE,LABEL_ALTERNATE_NAME (INSN)); } while (0) # endif #endif +/* If the target supports init_priority C++ attribute, give + SUPPORTS_INIT_PRIORITY a nonzero value. */ +#ifndef SUPPORTS_INIT_PRIORITY +#define SUPPORTS_INIT_PRIORITY 1 +#endif /* SUPPORTS_INIT_PRIORITY */ + /* If we have a definition of INCOMING_RETURN_ADDR_RTX, assume that the rest of the DWARF 2 frame unwind support is also provided. */ #if !defined (DWARF2_UNWIND_INFO) && defined (INCOMING_RETURN_ADDR_RTX) |