This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RFA: hook doc patch (62/112): TARGET_ASM_RELOC_RW_MASK, TARGET_MANGLE_DECL_ASSEMBLER_NAME
- From: Joern Rennecke <amylaar at spamcop dot net>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 15 Jan 2010 22:35:56 -0500
- Subject: RFA: hook doc patch (62/112): TARGET_ASM_RELOC_RW_MASK, TARGET_MANGLE_DECL_ASSEMBLER_NAME
2010-01-15 Joern Rennecke <amylaar@spamcop.net>
* tm.texi (TARGET_ASM_RELOC_RW_MASK): Fix return type.
(TARGET_MANGLE_DECL_ASSEMBLER_NAME): Likewise.
Index: tm.texi
===================================================================
--- tm.texi (revision 155367)
+++ tm.texi (working copy)
@@ -6871,7 +6915,7 @@ any assembly code, and before calling an
described below.
@end deftypefn
-@deftypefn {Target Hook} TARGET_ASM_RELOC_RW_MASK (void)
+@deftypefn {Target Hook} int TARGET_ASM_RELOC_RW_MASK (void)
Return a mask describing how relocations should be treated when
selecting sections. Bit 1 should be set if global relocations
should be placed in a read-write section; bit 0 should be set if
@@ -6939,7 +6983,7 @@ constants in @code{flag_pic} mode in @co
else in @code{readonly_data_section}.
@end deftypefn
-@deftypefn {Target Hook} void TARGET_MANGLE_DECL_ASSEMBLER_NAME (tree @var{decl}, tree @var{id})
+@deftypefn {Target Hook} tree TARGET_MANGLE_DECL_ASSEMBLER_NAME (tree @var{decl}, tree @var{id})
Define this hook if you need to postprocess the assembler name generated
by target-independent code. The @var{id} provided to this hook will be
the computed name (e.g., the macro @code{DECL_NAME} of the @var{decl} in C,