Patchwork Add more FreeBSD options from specs to freebsd.opt

login
register
mail settings
Submitter Joseph S. Myers
Date Jan. 27, 2011, 11:18 p.m.
Message ID <Pine.LNX.4.64.1101272317450.9520@digraph.polyomino.org.uk>
Download mbox | patch
Permalink /patch/80754/
State New
Headers show

Comments

Joseph S. Myers - Jan. 27, 2011, 11:18 p.m.
Further to <http://gcc.gnu.org/ml/gcc-patches/2010-12/msg01340.html>,
this patch adds two more FreeBSD options from specs to freebsd.opt.
-posix was missed in my first pass over freebsd-spec.h, while
-rdynamic is handled by specs in various subdirectory .h files rather
than the toplevel freebsd-spec.h.

Tested building cc1 and xgcc for cross to i686-freebsd8.  OK to
commit?

2011-01-27  Joseph Myers  <joseph@codesourcery.com>

	* config/freebsd.opt (posix, rdynamic): New Driver options.
Richard Guenther - Jan. 28, 2011, 10:42 a.m.
On Fri, Jan 28, 2011 at 12:18 AM, Joseph S. Myers
<joseph@codesourcery.com> wrote:
> Further to <http://gcc.gnu.org/ml/gcc-patches/2010-12/msg01340.html>,
> this patch adds two more FreeBSD options from specs to freebsd.opt.
> -posix was missed in my first pass over freebsd-spec.h, while
> -rdynamic is handled by specs in various subdirectory .h files rather
> than the toplevel freebsd-spec.h.
>
> Tested building cc1 and xgcc for cross to i686-freebsd8.  OK to
> commit?

Ok (I think this qualifies as obvious).

Richard.

> 2011-01-27  Joseph Myers  <joseph@codesourcery.com>
>
>        * config/freebsd.opt (posix, rdynamic): New Driver options.
>
> Index: gcc/config/freebsd.opt
> ===================================================================
> --- gcc/config/freebsd.opt      (revision 169317)
> +++ gcc/config/freebsd.opt      (working copy)
> @@ -1,6 +1,6 @@
>  ; FreeBSD options.
>
> -; Copyright (C) 2010
> +; Copyright (C) 2010, 2011
>  ; Free Software Foundation, Inc.
>  ;
>  ; This file is part of GCC.
> @@ -35,12 +35,18 @@ Driver Separate
>  defsym=
>  Driver JoinedOrMissing
>
> +posix
> +Driver
> +
>  profile
>  Driver
>
>  pthread
>  Driver
>
> +rdynamic
> +Driver
> +
>  rpath-link
>  Driver Separate
>
>
> --
> Joseph S. Myers
> joseph@codesourcery.com
>

Patch

Index: gcc/config/freebsd.opt
===================================================================
--- gcc/config/freebsd.opt	(revision 169317)
+++ gcc/config/freebsd.opt	(working copy)
@@ -1,6 +1,6 @@ 
 ; FreeBSD options.
 
-; Copyright (C) 2010
+; Copyright (C) 2010, 2011
 ; Free Software Foundation, Inc.
 ;
 ; This file is part of GCC.
@@ -35,12 +35,18 @@  Driver Separate
 defsym=
 Driver JoinedOrMissing
 
+posix
+Driver
+
 profile
 Driver
 
 pthread
 Driver
 
+rdynamic
+Driver
+
 rpath-link
 Driver Separate