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
This commit is contained in:
parent
fcfe9bce2d
commit
c72bfda72e
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
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>
|
||||
|
||||
* sh.c (sh_expand_builtin): Return early if encountering an
|
||||
|
|
|
@ -602,6 +602,10 @@ rs6000_override_options (default_cpu)
|
|||
}
|
||||
#endif
|
||||
|
||||
/* For Darwin, always silently make -fpic and -fPIC identical. */
|
||||
if (flag_pic == 1 && DEFAULT_ABI == ABI_DARWIN)
|
||||
flag_pic = 2;
|
||||
|
||||
/* Set debug flags */
|
||||
if (rs6000_debug_name)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue