Searched hist:"33 ee4c92339ee386662c0ee2d221098c5cc8b07e" (Results 1 – 5 of 5) sorted by relevance
/openbmc/u-boot/arch/powerpc/cpu/mpc83xx/ |
H A D | config.mk | diff 33ee4c92339ee386662c0ee2d221098c5cc8b07e Mon Dec 06 07:36:46 CST 2010 Joakim Tjernlund <Joakim.Tjernlund@transmode.se> PowerPC: Move -fPIC flag to common place
The -fPIC flag belongs with -mrelocatable, move it there. Also change -fPIC to -fpic as this produces smaller binaries. However, currently -mrelocatable promotes -fpic to -fPIC, a fix for this is in upcoming gcc 4.6 or you can apply this small patch to gcc:
diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index 8da8410..e4b8280 100644 --- a/gcc/config/rs6000/sysv4.h +++ b/gcc/config/rs6000/sysv4.h @@ -227,7 +227,8 @@ do { \ } \ \ else if (TARGET_RELOCATABLE) \ - flag_pic = 2; \ + if (!flag_pic) \ + flag_pic = 2; \ } while (0)
#ifndef RS6000_BI_ARCH --
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
|
/openbmc/u-boot/arch/powerpc/cpu/mpc86xx/ |
H A D | config.mk | diff 33ee4c92339ee386662c0ee2d221098c5cc8b07e Mon Dec 06 07:36:46 CST 2010 Joakim Tjernlund <Joakim.Tjernlund@transmode.se> PowerPC: Move -fPIC flag to common place
The -fPIC flag belongs with -mrelocatable, move it there. Also change -fPIC to -fpic as this produces smaller binaries. However, currently -mrelocatable promotes -fpic to -fPIC, a fix for this is in upcoming gcc 4.6 or you can apply this small patch to gcc:
diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index 8da8410..e4b8280 100644 --- a/gcc/config/rs6000/sysv4.h +++ b/gcc/config/rs6000/sysv4.h @@ -227,7 +227,8 @@ do { \ } \ \ else if (TARGET_RELOCATABLE) \ - flag_pic = 2; \ + if (!flag_pic) \ + flag_pic = 2; \ } while (0)
#ifndef RS6000_BI_ARCH --
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
|
/openbmc/u-boot/arch/powerpc/cpu/mpc8xx/ |
H A D | config.mk | diff 33ee4c92339ee386662c0ee2d221098c5cc8b07e Mon Dec 06 07:36:46 CST 2010 Joakim Tjernlund <Joakim.Tjernlund@transmode.se> PowerPC: Move -fPIC flag to common place
The -fPIC flag belongs with -mrelocatable, move it there. Also change -fPIC to -fpic as this produces smaller binaries. However, currently -mrelocatable promotes -fpic to -fPIC, a fix for this is in upcoming gcc 4.6 or you can apply this small patch to gcc:
diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index 8da8410..e4b8280 100644 --- a/gcc/config/rs6000/sysv4.h +++ b/gcc/config/rs6000/sysv4.h @@ -227,7 +227,8 @@ do { \ } \ \ else if (TARGET_RELOCATABLE) \ - flag_pic = 2; \ + if (!flag_pic) \ + flag_pic = 2; \ } while (0)
#ifndef RS6000_BI_ARCH --
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
|
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/ |
H A D | config.mk | diff 33ee4c92339ee386662c0ee2d221098c5cc8b07e Mon Dec 06 07:36:46 CST 2010 Joakim Tjernlund <Joakim.Tjernlund@transmode.se> PowerPC: Move -fPIC flag to common place
The -fPIC flag belongs with -mrelocatable, move it there. Also change -fPIC to -fpic as this produces smaller binaries. However, currently -mrelocatable promotes -fpic to -fPIC, a fix for this is in upcoming gcc 4.6 or you can apply this small patch to gcc:
diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index 8da8410..e4b8280 100644 --- a/gcc/config/rs6000/sysv4.h +++ b/gcc/config/rs6000/sysv4.h @@ -227,7 +227,8 @@ do { \ } \ \ else if (TARGET_RELOCATABLE) \ - flag_pic = 2; \ + if (!flag_pic) \ + flag_pic = 2; \ } while (0)
#ifndef RS6000_BI_ARCH --
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
|
/openbmc/u-boot/arch/powerpc/ |
H A D | config.mk | diff 33ee4c92339ee386662c0ee2d221098c5cc8b07e Mon Dec 06 07:36:46 CST 2010 Joakim Tjernlund <Joakim.Tjernlund@transmode.se> PowerPC: Move -fPIC flag to common place
The -fPIC flag belongs with -mrelocatable, move it there. Also change -fPIC to -fpic as this produces smaller binaries. However, currently -mrelocatable promotes -fpic to -fPIC, a fix for this is in upcoming gcc 4.6 or you can apply this small patch to gcc:
diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index 8da8410..e4b8280 100644 --- a/gcc/config/rs6000/sysv4.h +++ b/gcc/config/rs6000/sysv4.h @@ -227,7 +227,8 @@ do { \ } \ \ else if (TARGET_RELOCATABLE) \ - flag_pic = 2; \ + if (!flag_pic) \ + flag_pic = 2; \ } while (0)
#ifndef RS6000_BI_ARCH --
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
|