Add NetBSD options from specs to .opt files

Krister Walfridsson krister.walfridsson@gmail.com
Sat Dec 18 08:59:00 GMT 2010


On Sat, Dec 18, 2010 at 12:29 AM, Joseph S. Myers
<joseph@codesourcery.com> wrote:
> In preparation for the driver only accepting options listed in .opt
> files, and not other options that simply happen to match some spec,
> this patch adds NetBSD options matched by specs in netbsd*.h to two
> new .opt files netbsd.opt and netbsd-elf.opt.
>
> Tested building cc1 and xgcc for crosses to: alpha-netbsdelf
> arm-netbsdelf arm-netbsd i686-netbsdelf i686-netbsd x86_64-netbsdelf
> m68k-netbsdelf powerpc-netbsdelf sh-netbsdelf sparc-netbsdelf
> sparc64-netbsdelf vax-netbsdelf vax-netbsd.  (Those for m68k-netbsdelf
> and powerpc-netbsdelf fail with pre-existing problems.)  OK to commit?
>
> 2010-12-17  Joseph Myers  <joseph@codesourcery.com>
>
>        * config/netbsd.opt, config/netbsd-elf.opt: New files.
>        * config.gcc (alpha*-*-netbsd*, arm*-*-netbsdelf*, arm*-*-netbsd*,
>        i[34567]86-*-netbsdelf*, i[34567]86-*-netbsd*, x86_64-*-netbsd*,
>        m68k*-*-netbsdelf*, mips*-*-netbsd*, powerpc-*-netbsd*,
>        sh*-*-netbsd*, sparc-*-netbsdelf*, sparc64-*-netbsd*,
>        vax-*-netbsdelf*, vax-*-netbsd*): Use these .opt files.

OK.

   /Krister



More information about the Gcc-patches mailing list