diff options
author | Steve Ellcey <sje@cup.hp.com> | 2010-11-01 20:38:40 +0000 |
---|---|---|
committer | Steve Ellcey <sje@gcc.gnu.org> | 2010-11-01 20:38:40 +0000 |
commit | 7894073c2f67f53e1c8da85d2c92d71701eff9fb (patch) | |
tree | 937962dd4880503e37b45f84152c4320ca66c78d /gcc/defaults.h | |
parent | 8f07a2aa357fd67ca7ef1e640424bc605c6cec31 (diff) | |
download | gcc-7894073c2f67f53e1c8da85d2c92d71701eff9fb.zip gcc-7894073c2f67f53e1c8da85d2c92d71701eff9fb.tar.gz gcc-7894073c2f67f53e1c8da85d2c92d71701eff9fb.tar.bz2 |
defaults.h (TARGET_VTABLE_USES_DESCRIPTORS): Move under ifdef GCC_INSN_FLAGS_H.
2010-11-01 Steve Ellcey <sje@cup.hp.com>
* defaults.h (TARGET_VTABLE_USES_DESCRIPTORS): Move under ifdef
GCC_INSN_FLAGS_H.
* libgcov.c (__gcov_indirect_call_profiler): Set
VTABLE_USES_DESCRIPTORS if TARGET_VTABLE_USES_DESCRIPTORS is
defined and use in place of TARGET_VTABLE_USES_DESCRIPTORS.
From-SVN: r166145
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r-- | gcc/defaults.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h index 8858572..1736013 100644 --- a/gcc/defaults.h +++ b/gcc/defaults.h @@ -813,16 +813,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #define TARGET_DEFAULT_PACK_STRUCT 0 #endif -/* By default, the C++ compiler will use function addresses in the - vtable entries. Setting this nonzero tells the compiler to use - function descriptors instead. The value of this macro says how - many words wide the descriptor is (normally 2). It is assumed - that the address of a function descriptor may be treated as a - pointer to a function. */ -#ifndef TARGET_VTABLE_USES_DESCRIPTORS -#define TARGET_VTABLE_USES_DESCRIPTORS 0 -#endif - /* By default, the vtable entries are void pointers, the so the alignment is the same as pointer alignment. The value of this macro specifies the alignment of the vtable entry in bits. It should be defined only @@ -1381,6 +1371,16 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #define STACK_CHECK_MAX_VAR_SIZE (STACK_CHECK_MAX_FRAME_SIZE / 100) #endif +/* By default, the C++ compiler will use function addresses in the + vtable entries. Setting this nonzero tells the compiler to use + function descriptors instead. The value of this macro says how + many words wide the descriptor is (normally 2). It is assumed + that the address of a function descriptor may be treated as a + pointer to a function. */ +#ifndef TARGET_VTABLE_USES_DESCRIPTORS +#define TARGET_VTABLE_USES_DESCRIPTORS 0 +#endif + #ifndef SWITCHABLE_TARGET #define SWITCHABLE_TARGET 0 #endif |