mpc85xx config.mk: Add support for -msingle-pic-base

-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEorkTmaQ1QAtDiYw67UVZlNoLnbQFAlxJ5dgACgkQ7UVZlNoL
 nbQU+A/+IVU5CQ3ROwxPhyP5VKLiyGgaQnTDfKS9J0V5VxrpsDFJp5Er+qJBNnCf
 xF4IGerQao/RY8klFFncoxfYyxYnCqOx09PUh8pPPCJDcLB3B/eFWTww2caQH26N
 obpS1xRGY65ZvAz69tMMC0ASPbcJ/jNOR+POtv7s82W7+74vmULcU3IeZTIJfvCY
 mJ4zFyUVGlnKMqk5JbHo9I+Pv7FWZpy9JscSeJMYtH9lAHt+4QQsKIrTXO78ukFw
 zOI6ZT0sS9ydbfMuhDqQBhrRcklDJUzOocNULXz9jKMD/ILZoiyA3DeOdKoUruFT
 G0y7F/63HVwd+iBGuKjbIDvf0YbZZm/+PRWaNecDnysnD2chLdZbWIEzOz7gnmgn
 AxG9/9gwTazLR47XiI0SF0MLSeWqLKn83+hep7lQxNte2gaK+CbY/jsg3c6EiP6O
 9uA11+jFpwsCSqzuWqjxAA0bVi+HS9LOdCFtTXZE5U46E9mSyBrYUFSNuY2qrlqx
 AVlFvplyzV/1/XRW9CRqGstgJ5U6UOYbU4GZDsdVN6TgCZstmchhXfanlYld1R+l
 cRfhnOYeOoWLtYSPeS4AukShonRfTnEI+0FdtGEKFFZifsJ+QKCBX1yLf7C1VZGz
 oqTIAYFNVDk95t2SDQGsw5B5IQMq++aDSatyepBvw3n+im6jRL0=
 =WL6c
 -----END PGP SIGNATURE-----

Merge tag 'mpc85xx-for-v2019.04-rc1' of git://git.denx.de/u-boot-mpc85xx

mpc85xx config.mk: Add support for -msingle-pic-base
This commit is contained in:
Tom Rini 2019-01-24 15:29:45 -05:00
commit 0c3b301f79
2 changed files with 4 additions and 0 deletions

View File

@ -4,6 +4,7 @@
# Xianghua Xiao, X.Xiao@motorola.com
PLATFORM_CPPFLAGS += -Wa,-me500 -msoft-float -mno-string
PLATFORM_RELFLAGS += -msingle-pic-base -fno-jump-tables
# -mspe=yes is needed to have -mno-spe accepted by a buggy GCC;
# see "[PATCH,rs6000] make -mno-spe work as expected" on

View File

@ -1216,6 +1216,9 @@ _start_cont:
mr r1,r3 /* Transfer to SP(r1) */
GET_GOT
/* Needed for -msingle-pic-base */
bl _GLOBAL_OFFSET_TABLE_@local-4
mflr r30
/* Pass our potential ePAPR device tree pointer to cpu_init_early_f */
mr r3, r24