search for: relocat

Displaying 20 results from an estimated 643 matches for "relocat".

Did you mean: relocate
2007 Jun 28
3
Img relocatable inside plugin
Hi, i''m searching to insert a relocatable image into a my plugin, but i don''t want to reimplement what was already done... i saw that in the gallery plugin there''s something like: <img src=\"{relocatable: #{imgname}}\"/> but i wasn''t able to reproduce this behavior.... How can i make this w...
2015 Feb 06
2
regression: relocatable kernels on a chromebook
A Toshiba CB35 Chromebook running Google's stock SeaBIOS reboots after selecting a relocatable kernel from extlinux 6.03. This is a regression caused by commit 8f470e7b movebits: Add syslinux_memmap_find() which factors syslinux_memmap_find() out of bios_boot_linux(). Prior to the refactoring, prot_mode_size was passed as the length in the first call to syslinux_memmap_type(). Af...
2016 Sep 29
2
[lld][ELF] Addends adjustment for relocatable object
Initial issue is related to R_MIPS_GPREL16/32 relocations. When we calculate such relocations we need to know _gp symbol's value. This value might come from different sources. Usually we setup it using constant offset from the .got section. Also it might be defined by a linker script. And in rare but possible case it comes from .reginfo / .MIPS.op...
2012 Jul 19
3
Are R packages supposed to be "relocatable"? (avoiding BioConductor scripts...)
I've asked a question in the BioConductor list about package management. My solution depends on your answer to the following question. Are installed R packages "relocatable"? I mean relocatable in the same sense that files in a RedHat RPM file might be "relocatable" after compiling (http://www.rpm.org/max-rpm/ch-rpm-reloc.html). This allows one to build a package as the ordinary user and then the root user can take the result and put it wherever i...
2015 Feb 06
0
regression: relocatable kernels on a chromebook
> A Toshiba CB35 Chromebook running Google's stock SeaBIOS reboots after > selecting a relocatable kernel from extlinux 6.03. > > This is a regression caused by commit 8f470e7b > movebits: Add syslinux_memmap_find() > > which factors syslinux_memmap_find() out of bios_boot_linux(). Prior to > the refactoring, prot_mode_size was passed as the length in the first call...
2015 Feb 06
0
regression: relocatable kernels on a chromebook
...ith a clone of the git repo on kernel.org I run > make spotless bios; make bios > ./bios/extlinux/extlinux -i {target mounted partition} > > The extlinux partition contains both kernels, ldlinux.sys, ldlinux.c32 and > extlinux.conf, which is > PROMPT 1 > LABEL 1 > LINUX {relocatable vmlinuz} > APPEND root={target partition} > LABEL 2 > LINUX {nonrelocatable vmlinuz} > APPEND root={target partition} > > I've heard that the SeaBIOS on these machines may report an incorrect > amount of memory, requiring (at least older versions of) syslinux to...
2015 Feb 06
2
regression: relocatable kernels on a chromebook
.../ kernels > (versions)? Hi Ady, With a clone of the git repo on kernel.org I run make spotless bios; make bios ./bios/extlinux/extlinux -i {target mounted partition} The extlinux partition contains both kernels, ldlinux.sys, ldlinux.c32 and extlinux.conf, which is PROMPT 1 LABEL 1 LINUX {relocatable vmlinuz} APPEND root={target partition} LABEL 2 LINUX {nonrelocatable vmlinuz} APPEND root={target partition} I've heard that the SeaBIOS on these machines may report an incorrect amount of memory, requiring (at least older versions of) syslinux to use/pass "mem=1500m" or...
2016 Sep 27
2
[lld][ELF] Addends adjustment for relocatable object
You are right. LLD does not have this problem. Initially I bumped into the MIPS specific bug related to GP relative relocations calculation. I tried to make reproduction script as general as possible and mistakenly make it too general. So now with your help I realized that the problem solely affects MIPS. On Tue, Sep 27, 2016 at 8:46 PM, Peter Smith <peter.smith at linaro.org> wrote: > Hello Simon, > > C...
2016 Sep 27
2
[lld][ELF] Addends adjustment for relocatable object
Hi, Now in case of relocatable object generation LLD merges and copies REL/RELA sections as is and does not touch any addends. But it is incorrect. If we have a relocation which targets a section, we have to adjust the relocation's addend to take in account that the section might be merged with other ones. Here is the r...
2015 Feb 09
1
regression: relocatable kernels on a chromebook
...age and zImage files > _ memdisk > _ grldr, plop(bm)... > _ memtest (and alternatives), DBAN, several hardware testers... > _ gPXE/iPXE... > _ Older kernels and/or kernels for older machines (e.g. PuppyLinux and > family and derivatives; I could mention several others) > _ Non-relocatable and relocatable kernels > _ Linux kernels prior to version 3.3 and/or with similar "older > (EFISTUB) standards", "supposedly" bootable in BIOS and/or (U)EFI > systems at the time (e.g. Slackware 14.0 / 14.1, Debian 7 Wheezy, RHEL > 6.x / 7 ) > _ BIOS and/o...
2009 Aug 20
0
[LLVMdev] Relocatability of LLVM code
...he application I'm working on because a) a single thread > manages all compilations sequentially, and b) the compiled methods > don't make direct calls to other methods (so stubs will never be > generated). > > What I need to know is, is the native code generated by LLVM > relocatable such that it could be copied to another location in memory > like this?  Also, does LLVM do anything to the native code after it is > first emitted?  Does it try rewriting it, for example? That's a good question, and I wish I knew the answer, because if that were the case the entire...
2009 Jun 16
0
[LLVMdev] PIC documentation ?
...What should be included there? > Okay. We need documentation, what is the difference between DynamicNoPIC and > full PIC ? >From TargetMachine.cpp (actually this is show in llc --help): cl::values( clEnumValN(Reloc::Default, "default", "Target default relocation model"), clEnumValN(Reloc::Static, "static", "Non-relocatable code"), clEnumValN(Reloc::PIC_, "pic", "Fully relocatable, position independent code"), clEnumValN(Reloc::DynamicNoPIC, "dynamic-no-pic",...
2013 Sep 20
2
[LLVMdev] LLVM ERROR: expected relocatable expression
This example generates the following error: .Ltmp3: .Ltmp5: .Ltmp13: .word (.Ltmp5-.Ltmp3)-.Ltmp13 ./llvm-mc ex.s -filetype=obj LLVM ERROR: expected relocatable expression when using: -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
2013 Sep 22
2
[LLVMdev] LLVM ERROR: expected relocatable expression
....org > <mailto:sidneym at codeaurora.org>> wrote: > > > This example generates the following error: > .Ltmp3: > .Ltmp5: > .Ltmp13: > .word (.Ltmp5-.Ltmp3)-.Ltmp13 > > ./llvm-mc ex.s -filetype=obj > LLVM ERROR: expected relocatable expression when using: > > > Umm, isn't this equivalent to the following? What do you expect LLVM to > do with it? > > .Ltmp13: > .word -.Ltmp13 I removed the target specific assembly to produce a simple generic example. It was derived from eh_frame code the co...
2009 Aug 20
3
[LLVMdev] Relocatability of LLVM code
...ut it might be possible for the application I'm working on because a) a single thread manages all compilations sequentially, and b) the compiled methods don't make direct calls to other methods (so stubs will never be generated). What I need to know is, is the native code generated by LLVM relocatable such that it could be copied to another location in memory like this? Also, does LLVM do anything to the native code after it is first emitted? Does it try rewriting it, for example? Cheers, Gary -- http://gbenson.net/
2015 Feb 08
0
regression: relocatable kernels on a chromebook
...nxboot.img initrd=core.img) _ bzImage and zImage files _ memdisk _ grldr, plop(bm)... _ memtest (and alternatives), DBAN, several hardware testers... _ gPXE/iPXE... _ Older kernels and/or kernels for older machines (e.g. PuppyLinux and family and derivatives; I could mention several others) _ Non-relocatable and relocatable kernels _ Linux kernels prior to version 3.3 and/or with similar "older (EFISTUB) standards", "supposedly" bootable in BIOS and/or (U)EFI systems at the time (e.g. Slackware 14.0 / 14.1, Debian 7 Wheezy, RHEL 6.x / 7 ) _ BIOS and/or (U)EFI systems As a re...
2014 Nov 16
3
Syslinux 6.03, kernel not relocatable.
...quested tests of this USB installer: http://slint.fr/testing/slint64-14.1_syslinux.6.03.img in both BIOS and UEFI modes. A test in UEFI mode: http://www.linuxquestions.org/questions/slackware-14/%5Bann%5D-syslinux-6-03-has-been-released-4175521209/#post5270515 leaded to this message: "Cannot relocate kernel, bailing out" That leaded me to this post in the ML: http://www.zytor.com/pipermail/syslinux-commits/2013-July/002381.html The kernel in the image file being not relocatable. I'll replace it with one with CONFIG_RELOCATABLE=Y to confirm the issue. But meanwhile, is there some...
2013 Sep 23
2
[LLVMdev] LLVM ERROR: expected relocatable expression
...i Eli, Slightly changed the example :- .section somedata .Ltmpa: .word 100 .Ltmpb: .word 60 .Ltmpc: .word 40 .Ltmpd: .word (.Ltmpa-.Ltmpb)-.Ltmpc The GNU assembler properly handles the above. $as -c x.s -o x.o $readelf -x 4 x.o Hex dump of section 'somedata': NOTE: This section has relocations against it, but these have NOT been applied to this dump. 0x00000000 64003c00 28000000 d.<.(... ^^^^ (Calculated properly too!) With clang/llvm-mc $ llvm-mc -filetype=obj x.s -o x.o LLVM ERROR: expected relocatable expression Looks like llvm-mc is more restrictive ?...
2014 Nov 17
0
Syslinux 6.03, kernel not relocatable.
...tp://slint.fr/testing/slint64-14.1_syslinux.6.03.img > in both BIOS and UEFI modes. > > A test in UEFI mode: > http://www.linuxquestions.org/questions/slackware-14/%5Bann%5D-syslinux-6-03-has-been-released-4175521209/#post5270515 > > leaded to this message: > > "Cannot relocate kernel, bailing out" > > That leaded me to this post in the ML: > http://www.zytor.com/pipermail/syslinux-commits/2013-July/002381.html > > The kernel in the image file being not relocatable. I'll replace it > with one with > CONFIG_RELOCATABLE=Y to confirm the issue...
2015 Feb 08
2
regression: relocatable kernels on a chromebook
On Sat, 7 Feb 2015, Ady via Syslinux wrote: > Thank you for this meaningful report. Ideally, I would suggest > performing a similar test (at least with the same kernel built with all > the above "config_*=y" settings) with official pre-built Syslinux > versions 4.07 and 3.86 (remembering that all Syslinux-related files, > including c32 modules, if being used, shall