OSDN Git Service

bfin supports FDPIC, not normal ELF
authorMike Frysinger <vapier@gentoo.org>
Wed, 7 Jun 2006 12:31:21 +0000 (12:31 -0000)
committerMike Frysinger <vapier@gentoo.org>
Wed, 7 Jun 2006 12:31:21 +0000 (12:31 -0000)
Rules.mak

index c8d285e..7478c2a 100644 (file)
--- a/Rules.mak
+++ b/Rules.mak
@@ -266,9 +266,7 @@ ifeq ($(TARGET_ARCH),powerpc)
 endif
 
 ifeq ($(TARGET_ARCH),bfin)
-       # This should also work, but why bother ? ;)
-       #PICFLAG:=-fPIC -mid-shared-library
-       PICFLAG:=-fpic
+       PICFLAG:=-mfdpic
 endif
 
 ifeq ($(TARGET_ARCH),frv)