This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [lto][patch] Update the plugin to use the new API
- From: Diego Novillo <dnovillo at google dot com>
- To: Rafael Espindola <espindola at google dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 28 Jan 2009 12:48:31 -0500
- Subject: Re: [lto][patch] Update the plugin to use the new API
- References: <38a0d8450901280944h1a3649ech121520d857aeb441@mail.gmail.com>
On Wed, Jan 28, 2009 at 12:44, Rafael Espindola <espindola@google.com> wrote:
> @@ -128,7 +126,7 @@ parse_table_entry (char *p, struct ld_plugin_symbol *entry, uint32_t *slot)
> LDPV_HIDDEN
> };
>
> - entry->name = p;
> + entry->name = strdup(p);
Space before '('.
OK otherwise.
Diego.