config.mk (7f673c99c2d8d1aa21996c5b914f06d784b080ca) config.mk (b02bfc4dfcef3be8276521e1933573e97a5cf203)
1#
2# (C) Copyright 2000-2002
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# SPDX-License-Identifier: GPL-2.0+
6#
7
8CROSS_COMPILE ?= arm-linux-

--- 95 unchanged lines hidden (view full) ---

104# such usage by requiring word relocations.
105PLATFORM_CPPFLAGS += $(call cc-option, -mword-relocations)
106endif
107
108# limit ourselves to the sections we want in the .bin.
109ifdef CONFIG_ARM64
110OBJCFLAGS += -j .text -j .rodata -j .data -j .u_boot_list -j .rela.dyn
111else
1#
2# (C) Copyright 2000-2002
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# SPDX-License-Identifier: GPL-2.0+
6#
7
8CROSS_COMPILE ?= arm-linux-

--- 95 unchanged lines hidden (view full) ---

104# such usage by requiring word relocations.
105PLATFORM_CPPFLAGS += $(call cc-option, -mword-relocations)
106endif
107
108# limit ourselves to the sections we want in the .bin.
109ifdef CONFIG_ARM64
110OBJCFLAGS += -j .text -j .rodata -j .data -j .u_boot_list -j .rela.dyn
111else
112OBJCFLAGS += -j .text -j .rodata -j .data -j .u_boot_list -j .rel.dyn
112OBJCFLAGS += -j .text -j .rodata -j .hash -j .data -j .got.plt -j .u_boot_list -j .rel.dyn
113endif
113endif