diff options
author | Matthias Brugger <mbrugger@suse.com> | 2019-11-19 16:01:02 +0100 |
---|---|---|
committer | Matthias Brugger <mbrugger@suse.com> | 2019-11-24 10:46:27 +0100 |
commit | 37964494c03f0d23c58c0e43cd694df0733ec1ca (patch) | |
tree | c550de134d1f2d54af02532e216201374b6fe4a3 /include/physmem.h | |
parent | 3f8b8e303655397a15d53660884c8de7c6cdf49f (diff) |
rpi: push fw_dtb_pointer in the .data section
The fw_dtb_pointer was defined in the assembly code, which makes him
live in section .text_rest
Put that's not necessary, we can push the variable in the .data section.
This will prevent relocation errors like:
board/raspberrypi/rpi/rpi.c:317:(.text.board_get_usable_ram_top+0x8):
relocation truncated to fit: R_AARCH64_LDST64_ABS_LO12_NC against symbol
`fw_dtb_pointer' defined in .text section in board/raspberrypi/rpi/built-in.o
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
Diffstat (limited to 'include/physmem.h')
0 files changed, 0 insertions, 0 deletions