diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-12-22 21:28:40 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-12-22 21:28:40 +0000 |
commit | e5d92c9b12eee252246ea00090bca234ee2fa599 (patch) | |
tree | 86c95c2ba1ad59a3914d1b821fdd7358f55e43ad /gcc/doc/tm.texi | |
parent | 94d113486d22a92597b750b78a0926ea9d0aa73f (diff) | |
download | gcc-e5d92c9b12eee252246ea00090bca234ee2fa599.tar.gz |
gcc/
* doc/tm.texi.in (TARGET_PREPARE_PCH_SAVE): New hook.
* doc/tm.texi: Regenerate.
* target.def (prepare_pch_save): New hook.
* c-family/c-pch.c (c_common_write_pch): Call it.
* config/mips/mips.c (was_mips16_pch_p): Delete.
(mips_set_mips16_mode): Don't refer to was_mips16_pch_p.
(mips_prepare_pch_save): New function.
(TARGET_PREPARE_PCH_SAVE): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182640 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc/tm.texi')
-rw-r--r-- | gcc/doc/tm.texi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index c98b93c985b..6d41cee8975 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -10079,6 +10079,13 @@ of @code{target_flags}. @var{pch_flags} specifies the value that value is the same as for @code{TARGET_PCH_VALID_P}. @end deftypefn +@deftypefn {Target Hook} void TARGET_PREPARE_PCH_SAVE (void) +Called before writing out a PCH file. If the target has some +garbage-collected data that needs to be in a particular state on PCH loads, +it can use this hook to enforce that state. Very few targets need +to do anything here. +@end deftypefn + @node C++ ABI @section C++ ABI parameters @cindex parameters, c++ abi |