mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user