target.def (output_addr_const_extra): New hook.
commit6cbd8875831925383fd1909c9b97867a7d5a538d
authorAnatoly Sokolov <aesok@post.ru>
Wed, 11 Aug 2010 19:52:46 +0000 (11 23:52 +0400)
committerAnatoly Sokolov <aesok@gcc.gnu.org>
Wed, 11 Aug 2010 19:52:46 +0000 (11 23:52 +0400)
tree28ce38ee745b0494c0ddb96c95b700125a32461e
parent51ba747afcde4335b7b7888b179da1d6d4917152
target.def (output_addr_const_extra): New hook.

* target.def (output_addr_const_extra): New hook.
* doc/tm.texi.in (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Document.
* doc/tm.texi: Regenerate.
* targhooks.c (default_asm_output_addr_const_extra): New function.
* targhooks.h (default_asm_output_addr_const_extra): Declare.
* final.c: (output_addr_const): Use TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA
target hook.

* config/i386/i386.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
* config/i386/i386-protos.h (output_addr_const_extra): Remove.
* config/i386/i386.h (output_addr_const_extra): Rename to...
(i386_asm_output_addr_const_extra): ...this. Make static.
(TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.

From-SVN: r163104
gcc/ChangeLog
gcc/config/i386/i386-protos.h
gcc/config/i386/i386.c
gcc/config/i386/i386.h
gcc/doc/tm.texi
gcc/doc/tm.texi.in
gcc/final.c
gcc/target.def
gcc/targhooks.c
gcc/targhooks.h