diff options
author | Bernd Schmidt <bernds@codesourcery.com> | 2011-07-13 13:32:57 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2011-07-13 13:32:57 +0000 |
commit | 727a65e6fc07ea95309c875978c83c741359ad4e (patch) | |
tree | c27f9b1f6edf8bca3d95d41510094e498024b477 /gcc/doc/tm.texi.in | |
parent | cb77b6cf1f6f16014d71213cba699d76c87ac2ef (diff) | |
download | gcc-727a65e6fc07ea95309c875978c83c741359ad4e.tar.gz |
tm.texi.in (TARGET_ASM_MERGEABLE_RODATA_PREFIX): Add hook.
* doc/tm.texi.in (TARGET_ASM_MERGEABLE_RODATA_PREFIX): Add hook.
* doc/tm.texi: Regenerate.
* target.def (mergeable_rodata_prefix: New defhookpod.
* varasm.c (mergeable_string_section, mergeable_constant_section):
Use it. Allocate name with alloca.
From-SVN: r176235
Diffstat (limited to 'gcc/doc/tm.texi.in')
-rw-r--r-- | gcc/doc/tm.texi.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/doc/tm.texi.in b/gcc/doc/tm.texi.in index d823faeed53..7990c763a73 100644 --- a/gcc/doc/tm.texi.in +++ b/gcc/doc/tm.texi.in @@ -6984,6 +6984,8 @@ if function is in @code{.text.name}, and the normal readonly-data section otherwise. @end deftypefn +@hook TARGET_ASM_MERGEABLE_RODATA_PREFIX + @hook TARGET_ASM_SELECT_RTX_SECTION Return the section into which a constant @var{x}, of mode @var{mode}, should be placed. You can assume that @var{x} is some kind of |