This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ppc-eabi: interaction betwen section name attributes and -msdata
- To: Fergus Henderson <fjh at cs dot mu dot oz dot au>
- Subject: Re: ppc-eabi: interaction betwen section name attributes and -msdata
- From: Geoff Keating <geoffk at geoffk dot org>
- Date: 09 Jul 2001 13:45:14 -0700
- CC: gcc-patches at gcc dot gnu dot org
- References: <5m66d7aumd.fsf@jtc.redback.com> <jmlmm39eix.fsf@geoffk.org> <5m8zi2alup.fsf@jtc.redback.com> <jmd77eaku4.fsf@geoffk.org> <5mzoahu1n9.fsf@jtc.redback.com> <20010707162219.A16341@hg.cs.mu.oz.au>
Fergus Henderson <fjh@cs.mu.oz.au> writes:
> 2000-07-07 Fergus Henderson <fjh@cs.mu.oz.au>
>
> * tree.h (struct tree_string): Document that length includes
> trailing NUL.
Can you make the comment a full sentence? As in,
/* Length in bytes; includes trailing NUL, if any. */
Otherwise OK.
> Index: tree.h
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/tree.h,v
> retrieving revision 1.251
> diff -u -d -u -r1.251 tree.h
> --- tree.h 2001/06/29 17:21:12 1.251
> +++ tree.h 2001/07/07 06:19:32
> @@ -712,7 +712,7 @@
> struct tree_common common;
> struct rtx_def *rtl; /* acts as link to register transfer language
> (rtl) info */
> - int length;
> + int length; /* in bytes; includes trailing NUL, if any */
> const char *pointer;
> };
--
- Geoffrey Keating <geoffk@geoffk.org>