Commit c72bfda7 by Stan Shebs Committed by Stan Shebs

rs6000.c (rs6000_override_options): Make -fpic and -fPIC equivalent on Darwin.

        * config/rs6000/rs6000.c (rs6000_override_options): Make -fpic and
        -fPIC equivalent on Darwin.

From-SVN: r56848
parent fcfe9bce
2002-09-05 Stan Shebs <shebs@apple.com>
* config/rs6000/rs6000.c (rs6000_override_options): Make -fpic and
-fPIC equivalent on Darwin.
Thu Sep 5 16:27:47 2002 J"orn Rennecke <joern.rennecke@superh.com> Thu Sep 5 16:27:47 2002 J"orn Rennecke <joern.rennecke@superh.com>
* sh.c (sh_expand_builtin): Return early if encountering an * sh.c (sh_expand_builtin): Return early if encountering an
......
...@@ -602,6 +602,10 @@ rs6000_override_options (default_cpu) ...@@ -602,6 +602,10 @@ rs6000_override_options (default_cpu)
} }
#endif #endif
/* For Darwin, always silently make -fpic and -fPIC identical. */
if (flag_pic == 1 && DEFAULT_ABI == ABI_DARWIN)
flag_pic = 2;
/* Set debug flags */ /* Set debug flags */
if (rs6000_debug_name) if (rs6000_debug_name)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment