3 * Wolfgang Denk Engineering, <wd@denx.de>
5 * SPDX-License-Identifier: GPL-2.0+
8 #if defined(CONFIG_64BIT)
9 #define PTR_COUNT_SHIFT 3
11 #define PTR_COUNT_SHIFT 2
29 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
38 _gp = ALIGN(16) + 0x7ff0;
44 num_got_entries = SIZEOF(.got) >> PTR_COUNT_SHIFT;
53 KEEP(*(SORT(.u_boot_list*)));
68 * Workaround for a binutils feature (or bug?).
70 * The GNU ld from binutils puts the dynamic relocation
71 * entries into the .rel.dyn section. Sometimes it
72 * allocates more dynamic relocation entries than it needs
73 * and the unused slots are set to R_MIPS_NONE entries.
75 * However the size of the .rel.dyn section in the ELF
76 * section header does not cover the unused entries, so
77 * objcopy removes those during stripping.
79 * Create a small section here to avoid that.
86 .bss __rel_dyn_start (OVERLAY) : {