sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Support -fpic as well as -mrelocatable at the same time.

2010-11-17  Joakim Tjernlund  <Joakim.Tjernlund@transmode.se>

	* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Support -fpic
	as well as -mrelocatable at the same time.

From-SVN: r166897
This commit is contained in:
Joakim Tjernlund 2010-11-18 09:32:58 +01:00 committed by Dave Korn
parent 0e1a989c9c
commit df0aaa66d9
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2010-11-17 Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Support -fpic
as well as -mrelocatable at the same time.
2010-11-17 Quentin Neill <quentin.neill.gnu@gmail.com>
PR target/46422

View file

@ -223,7 +223,8 @@ do { \
} \
\
else if (TARGET_RELOCATABLE) \
flag_pic = 2; \
if (!flag_pic) \
flag_pic = 2; \
} while (0)
#ifndef RS6000_BI_ARCH