diff options
author | Anatoly Sokolov <aesok@post.ru> | 2010-06-16 01:01:57 +0400 |
---|---|---|
committer | Anatoly Sokolov <aesok@gcc.gnu.org> | 2010-06-16 01:01:57 +0400 |
commit | e4f7c48321cb916273e0a77c4924c416921a2c52 (patch) | |
tree | 17306d02a0afd6f48b81bff1a4163e2b152c10be /gcc/target.h | |
parent | d1a115f895b6bd7658f1222d57d38caec192dbcc (diff) | |
download | gcc-e4f7c48321cb916273e0a77c4924c416921a2c52.zip gcc-e4f7c48321cb916273e0a77c4924c416921a2c52.tar.gz gcc-e4f7c48321cb916273e0a77c4924c416921a2c52.tar.bz2 |
* target.h (struct asm_out):Add declare_constant_name field.
* target-def.h (TARGET_ASM_DECLARE_CONSTANT_NAME): Define.
(TARGET_INITIALIZER): Use TARGET_ASM_DECLARE_CONSTANT_NAME.
* output.h (default_asm_declare_constant_name): Declare.
(assemble_label): Update prototype.
* varasm.c (assemble_constant_contents): Use
targetm.asm_out.declare_constant_name target hook.
(assemble_label): Add 'file' argument.
(default_asm_declare_constant_name): New function.
* system.h (ASM_DECLARE_CONSTANT_NAME): Poison.
* doc/tm.texi (ASM_DECLARE_CONSTANT_NAME): Remove.
(TARGET_ASM_DECLARE_CONSTANT_NAME): Document it.
* config/darwin-protos.h (darwin_asm_declare_constant_name): Declare.
* config/darwin.c (darwin_asm_declare_constant_name): New function.
(machopic_output_indirection): Update assemble_label argument list.
* config/darwin.h (ASM_DECLARE_CONSTANT_NAME): Remove.
(TARGET_ASM_DECLARE_CONSTANT_NAME): Define.
From-SVN: r160811
Diffstat (limited to 'gcc/target.h')
-rw-r--r-- | gcc/target.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/target.h b/gcc/target.h index e209cfe..2f181eb 100644 --- a/gcc/target.h +++ b/gcc/target.h @@ -171,6 +171,10 @@ struct gcc_target /* Output an internal label. */ void (* internal_label) (FILE *, const char *, unsigned long); + /* Output label for the constant. */ + void (* declare_constant_name) (FILE *, const char *, const_tree, + HOST_WIDE_INT); + /* Emit a ttype table reference to a typeinfo object. */ bool (* ttype) (rtx); |