Home
last modified time | relevance | path

Searched refs:relocation (Results 1 – 25 of 125) sorted by relevance

12345

/openbmc/linux/arch/sh/kernel/
H A Dmodule.c33 Elf32_Addr relocation; in apply_relocate_add() local
47 relocation = sym->st_value + rel[i].r_addend; in apply_relocate_add()
54 value += relocation; in apply_relocate_add()
58 relocation = (relocation - (Elf32_Addr) location); in apply_relocate_add()
60 value += relocation; in apply_relocate_add()
65 ((relocation & 0xffff) << 10); in apply_relocate_add()
69 (((relocation >> 16) & 0xffff) << 10); in apply_relocate_add()
72 relocation -= (Elf32_Addr) location; in apply_relocate_add()
74 ((relocation & 0xffff) << 10); in apply_relocate_add()
77 relocation -= (Elf32_Addr) location; in apply_relocate_add()
[all …]
/openbmc/linux/Documentation/livepatch/
H A Dmodule-elf-format.rst21 loader to perform the all the arch-specific relocation work. Specifically,
30 table, symbol table, and relocation section indices, ELF information is
32 relocation sections and symbols, which are described in this document. The
33 ELF constants used to mark livepatch symbols and relocation sections were
51 relocation sections in place of dynrela sections, and the symbols that the
53 arch-specific livepatch relocation code is replaced by a call to
80 3. Livepatch relocation sections
83 A livepatch module manages its own ELF relocation sections to apply
87 relocation section(s) to the driver once it loads.
90 multiple livepatch relocation sections associated with it (e.g. patches to
[all …]
/openbmc/linux/arch/arc/kernel/
H A Dmodule.c54 Elf32_Addr relocation, location, tgt_addr; in apply_relocate_add() local
83 relocation = sym_entry->st_value + rel_entry[i].r_addend; in apply_relocate_add()
93 sym_entry->st_value, location, relocation, s); in apply_relocate_add()
103 arc_write_me((unsigned short *)location, relocation); in apply_relocate_add()
105 *((Elf32_Addr *) location) = relocation; in apply_relocate_add()
107 *((Elf32_Addr *) location) = relocation - location; in apply_relocate_add()
/openbmc/linux/arch/arm/mach-hisi/
H A Dplatmcpm.c269 void __iomem *relocation; in hip04_smp_init() local
292 relocation = ioremap(hip04_boot_method[2], hip04_boot_method[3]); in hip04_smp_init()
293 if (!relocation) { in hip04_smp_init()
327 writel_relaxed(hip04_boot_method[0], relocation); in hip04_smp_init()
328 writel_relaxed(0xa5a5a5a5, relocation + 4); /* magic number */ in hip04_smp_init()
329 writel_relaxed(__pa_symbol(secondary_startup), relocation + 8); in hip04_smp_init()
330 writel_relaxed(0, relocation + 12); in hip04_smp_init()
331 iounmap(relocation); in hip04_smp_init()
340 iounmap(relocation); in hip04_smp_init()
/openbmc/linux/Documentation/bpf/
H A Dllvm_reloc.rst7 This document describes LLVM BPF backend relocation types.
12 LLVM BPF backend records each relocation with the following 16-byte
62 Each relocation is represented by ``Offset`` (8 bytes) and ``Info`` (8 bytes).
63 For example, the first relocation corresponds to the first instruction
64 (Offset 0x0) and the corresponding ``Info`` indicates the relocation type
81 Similarly, the second relocation is at ``.text`` offset ``0x18``, instruction 3,
83 The second relocation resolves to global variable ``g2`` which has a symbol
106 Six relocation types are supported. The following is an overview and
117 For example, ``R_BPF_64_64`` relocation type is used for ``ld_imm64`` instruction.
120 data bitsize is 32 (4 bytes). The relocation can be resolved with
[all …]
/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
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/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/openbmc/poky/meta/recipes-devtools/gcc/
H A Dgcc_14.2.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/arch/powerpc/cpu/mpc85xx/
H A Du-boot.lds107 * address won't be updated during relocation fixups. Note that
109 * location will be added in the future. When the bss relocation
/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 |
H A Dlivetree.txt49 after relocation. Therefore we need a mechanism to specify a device
70 tree will be used in SPL and before relocation in U-Boot proper. Just
71 before relocation a livetree is built, and this is used for U-Boot proper
72 after relocation.
267 - support for livetree in SPL and before relocation (if desired)
/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/u-boot/arch/mips/cpu/
H A Du-boot.lds47 * Space for relocation table
51 * section to abort relocation if the table
/openbmc/u-boot/Documentation/
H A Defi.rst12 Image relocation
/openbmc/u-boot/arch/arm/dts/
H A Dbcm283x-uboot.dtsi4 * and also initialize before relocation.
/openbmc/linux/arch/powerpc/platforms/8xx/
H A DKconfig143 bool "I2C/SPI relocation patch"
148 bool "I2C/SPI/SMC1 relocation patch"
153 bool "SMC relocation patch"
/openbmc/qemu/target/ppc/
H A Dmmu-radix64.c688 bool relocation; in ppc_radix64_xlate_impl() local
692 relocation = !mmuidx_real(mmu_idx); in ppc_radix64_xlate_impl()
695 if (!relocation && (mmuidx_hv(mmu_idx) || vhyp_flat_addressing(cpu))) { in ppc_radix64_xlate_impl()
765 if (relocation) { in ppc_radix64_xlate_impl()
/openbmc/openbmc/poky/meta/recipes-devtools/apt/apt/
H A D0001-Do-not-init-tables-from-dpkg-configuration.patch6 This would require sysroot relocation logic, and it's easier to just disable them.
/openbmc/u-boot/board/synopsys/iot_devkit/
H A Du-boot.lds72 /* Keep relocation-related symbols to make linker happy */
/openbmc/u-boot/
H A DKconfig127 bool "Enable malloc() pool before relocation"
131 Before relocation, memory is very limited on many platforms. Still,
137 hex "Size of malloc() pool before relocation"
143 Before relocation, memory is very limited on many platforms. Still,
156 hex "Size of malloc() pool in SPL before relocation"
160 Before relocation, memory is very limited on many platforms. Still,
166 hex "Size of malloc() pool in TPL before relocation"
170 Before relocation, memory is very limited on many platforms. Still,
/openbmc/u-boot/board/varisys/cyrus/
H A DREADME5 They currently disable size optimization in order to avoid a relocation
/openbmc/u-boot/arch/arm/mach-versal/
H A DKconfig55 relocation.
/openbmc/openbmc/poky/meta/recipes-extended/zip/zip-3.0/
H A D0002-configure-support-PIC-code-build.patch7 relocation in .text.

12345