Home
last modified time | relevance | path

Searched full:relocation (Results 1 – 25 of 337) sorted by relevance

12345678910>>...14

/openbmc/u-boot/arch/mips/lib/
H A Dreloc.c3 * MIPS Relocation
7 * Relocation data, found in the .rel section, is generated by the mips-relocs
9 * be fixed up during relocation.
18 * Each pair of two integers represents a relocation that must be applied. The
19 * first integer represents the type of relocation as a standard ELF relocation
21 * apply the relocation, relative to the previous relocation or for the first
22 * relocation the start of the relocated .text section.
24 * The end of the relocation data is indicated when type R_MIPS_NONE (0) is
37 * Read one whole unsigned integer from the relocation data pointed to by @buf,
58 * apply_reloc() - Apply a single relocation
[all …]
/openbmc/u-boot/include/dm/
H A Dutil.h43 * Check if a dt node should be or was bound before relocation.
48 * Before relocation this function can be used to check if nodes
51 * After relocation and jumping into the real U-Boot binary
69 * Check if an of node should be or was bound before relocation.
74 * Before relocation this function can be used to check if nodes
77 * After relocation and jumping into the real U-Boot binary
/openbmc/u-boot/arch/x86/lib/
H A Drelocate.c59 printf("%s: unsupported relocation type 0x%llx " in do_elf_reloc_fixups64()
65 /* Get the location from the relocation entry */ in do_elf_reloc_fixups64()
68 /* Check that the location of the relocation is in .text */ in do_elf_reloc_fixups64()
106 printf("%s: unsupported relocation type 0x%x " in do_elf_reloc_fixups32()
112 /* Get the location from the relocation entry */ in do_elf_reloc_fixups32()
115 /* Check that the location of the relocation is in .text */ in do_elf_reloc_fixups32()
145 * 62f7970a x86: Add error checking to x86 relocation code
159 panic("No relocation data"); in do_elf_reloc_fixups()
/openbmc/u-boot/doc/
H A DREADME.arm-relocation1 To make relocation on arm working, the following changes are done:
12 At cpu level: modify linker file and add a relocation and fixup loop
15 tables in the binary image, and to provide symbols for the relocation
18 The relocation and fixup loop must be executed after executing
39 Boards which are not fixed to support relocation will be REMOVED!
44 if CONFIG_SYS_TEXT_BASE == relocation address! This prevents that uboot code
59 the relocation address and copy itself to it
61 If CONFIG_SYS_TEXT_BASE == relocation address, the copying of u-boot
74 on other boards if CONFIG_SYS_TEXT_BASE = relocation baseaddr, this saves
82 Relocation with SPL (example for the tx25 booting from NAND Flash):
H A DREADME.generic-board22 favour of common/board_f.c (for pre-relocation init) and common/board_r.c
23 (for post-relocation init).
70 This series removes the dependency on generic relocation. So relocation
72 relocation series for a proposed solution to this for ARM:
108 to pre-relocation init functions. I think this makes sense, but it can
112 cleanup series and the generic relocation series) the goal is the
H A DREADME.silent10 Some environments are not available until relocation (e.g. NAND)
12 relocation.
/openbmc/u-boot/include/
H A Dconsole.h13 int console_init_f(void); /* Before relocation; uses the serial stuff */
14 int console_init_r(void); /* After relocation; uses the console stuff */
48 * on the display. The banner is instead emitted on the UART before relocation.
50 * it before relocation.
H A Delf.h275 #define SHT_RELA 4 /* relocation section with addends*/
316 #define ELF_REL_DATA ".rel.data" /* relocation data */
317 #define ELF_REL_FINI ".rel.fini" /* relocation termination code */
318 #define ELF_REL_INIT ".rel.init" /* relocation initialization code */
320 #define ELF_REL_RODATA ".rel.rodata" /* relocation read-only data */
321 #define ELF_REL_TEXT ".rel.text" /* relocation code */
401 /* Relocation entry with implicit addend */
403 Elf32_Addr r_offset; /* offset of relocation */
407 /* Relocation entry with explicit addend */
409 Elf32_Addr r_offset; /* offset of relocation */
[all …]
H A Dpe.h28 uint16_t e_lfarlc; /* 18: File address of relocation table */
195 /* generic relocation types */
216 /* ARM relocation types */
235 /* ARM64 relocation types */
252 /* AMD64 relocation types */
/openbmc/qemu/include/hw/riscv/
H A Dboot_opensbi.h47 * address as the FW_DYNAMIC firmware. In this case, the relocation
56 * to use the relocation lottery mechanism.
77 * address as the FW_DYNAMIC firmware. In this case, the relocation
86 * to use the relocation lottery mechanism.
/openbmc/u-boot/arch/arm/lib/
H A Dcrt0_64.S36 * data include the relocation destination, the future stack, and
44 * relocates U-Boot from its current location into the relocation
48 * code relocation in SPL.
56 * TODO: For SPL, implement stack relocation on AArch64.
110 /* Add in link-vs-relocation offset */
112 add lr, lr, x9 /* new return address after relocation */
H A Dsections.c8 * uses R_ARM_RELATIVE relocation, rather than the R_ARM_ABS32 one
10 * Using only R_ARM_RELATIVE relocation ensures that references to
11 * the symbols are correct after as well as before relocation.
H A Drelocate.S3 * relocate - common relocation function for ARM U-Boot
18 * Default/weak exception vectors relocation routine
75 * relocation record type, we never refer to linker-defined symbols directly.
85 beq relocate_done /* skip relocation */
/openbmc/u-boot/common/
H A DKconfig360 bool "Allow flags to take effect on relocation"
363 In some cases the environment is not available until relocation
365 environment variable take effect at relocation.
393 option only the post-relocation output will be displayed.
402 be in available memory and is accessed before relocation and
445 start-up (after relocation). This causes the environment to be
452 and stderr on boot when the post-relocation console is set up.
691 the relocation phase. The board function checkboard() is called to do
716 bool "Call arch-specific init soon after relocation"
719 relocation. Driver model is running by this point, and the cache
[all …]
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/tinyalsa/
H A Dtinyalsa_2.0.0.bb17 # tinyalsa is built as a static library. Enable PIC to avoid relocation
20 # unresolvable R_AARCH64_ADR_PREL_PG_HI21 relocation against symbol `stderr@@GLIBC_2.17'
/openbmc/u-boot/arch/riscv/cpu/
H A Dstart.S100 sub t6, s4, t0 /* t6 <- relocation offset */
101 beq t0, s4, clear_bss /* skip relocation */
131 LREG t5, -(REGBYTES*2)(t1) /* t5 <-- relocation info:type */
148 LREG t5, -(REGBYTES*2)(t1) /* t5 <-- relocation info:type */
150 andi t5, t5, 0xFF /* t5 <--- relocation type */
/openbmc/openbmc/poky/meta/recipes-devtools/gcc/
H A Dgcc_15.1.bb5 # | gcc-4.8.1-r0/gcc-4.8.1/gcc/cp/decl.c:7438:(.text.unlikely+0x2fa): relocation truncated to fit: …
6 # | gcc-4.8.1-r0/gcc-4.8.1/gcc/cp/decl.c:7442:(.text.unlikely+0x318): additional relocation overflo…
/openbmc/u-boot/doc/driver-model/
H A Dfdt-fixup.txt1 Pre-relocation device tree manipulation
51 tree (at least after the relocation) would greatly simplify the solution of
60 we have the pre-relocation driver model at our disposal at this stage, which
67 To take advantage of the pre-relocation device tree manipulation mechanism,
90 | Since the pre-relocation driver model does not adapt to |
/openbmc/u-boot/arch/arc/lib/
H A Drelocate.c57 /* Get the location from the relocation entry */ in do_elf_reloc_fixups()
60 /* Check that the location of the relocation is in .text */ in do_elf_reloc_fixups()
102 * fake relocation even for LD/SC of constant in do_elf_reloc_fixups()
121 debug("Relocation target %08x points outside of image\n", in do_elf_reloc_fixups()
/openbmc/u-boot/drivers/video/
H A Dvideo-uclass.c22 * Before relocation each device is bound. The driver for each device must
27 * method after relocation.
33 * After relocation the same process occurs. The driver supplies the same
282 /* Post-relocation, allocate memory for the frame buffer */
288 /* Before relocation there is nothing to do here */ in video_post_bind()
294 … device '%s' cannot allocate frame buffer memory -ensure the device is set up before relocation\n", in video_post_bind()
/openbmc/u-boot/arch/x86/cpu/queensbay/
H A Dtnc.c66 * Note x86 PCI enueration normally happens twice, in pre-relocation in disable_igd()
67 * phase and post-relocation. One option might be to call disable_igd() in disable_igd()
68 * in one of the pre-relocation initialization hooks so that it gets in disable_igd()
73 * in the post-relocation phase. If we disable IGD and SDVO devices, in disable_igd()
/openbmc/u-boot/arch/x86/cpu/qemu/
H A Ddram.c41 * the relocation address, and how far U-Boot is moved by relocation are
/openbmc/openbmc/poky/meta/recipes-devtools/binutils/binutils/
H A DCVE-2025-1182.patch31 /* It's not a relocation against a global symbol,
32 but it could be a relocation against a local
/openbmc/u-boot/arch/arm/mach-tegra/tegra186/
H A Dnvtboot_mem.c23 * that all reservations fit into the region selected for the relocation target
33 * These variables are written to before relocation, and hence cannot be
36 * also has the nice side-effect of the content being valid after relocation.
139 /* Error out if a relocation target couldn't be found */ in dram_init()
/openbmc/u-boot/arch/x86/include/asm/
H A Dmrc_common.h47 * the relocation address, and how far U-Boot is moved by relocation are

12345678910>>...14