This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Howdy,
Mark Mitchell wrote:
> +
> + /* Output NAME into FILE after having turned it into something
> + usable as an identifier in a target's assembly file. */
> + void
> + output_clean_symbol_name (file, name)
> + FILE *file;
> + {
> + /* Make a copy of NAME. */
> + char *id = (char *)xmalloc (strlen (name) + 1);
> + strcpy (id, name);
> +
> + /* Make it look like a valid identifier for an assembler. */
> + clean_symbol_name (id);
> +
> + fputs (file, name);
^^^^^^^^^^^^
Shouldn't this be `(id, file)'?
Matt
Attachment:
msg01958/pgp00000.pgp
Description: PGP signature
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |