Patch to replace occurrence of Hitachi to Renesas and to support -mrenesas in gcc

Joseph S. Myers jsm28@cam.ac.uk
Mon Apr 14 16:30:00 GMT 2003


On Mon, 14 Apr 2003, Rohit Shrivastav wrote:

> diff -u ./gcc-20030324/gcc/doc/install-old.texi.original ./gcc-20030324/gcc/doc/install-old.texi
> --- ./gcc-20030324/gcc/doc/install-old.texi.original	Wed Apr  9 17:28:15 2003
> +++ ./gcc-20030324/gcc/doc/install-old.texi	Wed Apr  9 17:28:15 2003
> @@ -118,7 +118,7 @@
>  @quotation
>  acorn, alliant, altos, apollo, apple, att, bull,
>  cbm, convergent, convex, crds, dec, dg, dolphin,
> -elxsi, encore, harris, hitachi, hp, ibm, intergraph, isi,
> +elxsi, encore, harris, renesas, hp, ibm, intergraph, isi,
>  mips, motorola, ncr, next, ns, omron, plexus,
>  sequent, sgi, sony, sun, tti, unicom, wrs.
>  @end quotation

This is a pretty ancient list of aliases accepted by config.sub.  I don't
think those aliases are at all useful now - the list in install-old.texi
just serves as a reminder that install.texi ought to list every supported
system even if there's nothing special to say about it (allowing people to
look for the most appropriate target triple for their cross-compiler), at
which point the list of aliases should go.  Anyway, changing the list only
makes sense if config.sub has been updated as well.

> -@item -mhitachi
> -@opindex mhitachi
> -Comply with the calling conventions defined by Hitachi.
> +@item -mrenesas
> +@opindex mrenesas
> +Comply with the calling conventions defined by Renesas (formerly Hitachi).

You shouldn't remove the index entries for the old name.  That is, you 
want

@item -mrenesas
@itemx -mhitachi
@opindex mrenesas
@opindex mhitachi

(and document explicitly that -mhitachi is an older name for the option).

-- 
Joseph S. Myers
jsm28@cam.ac.uk



More information about the Gcc-patches mailing list