Questions tagged [prelink]

14 questions
7
votes
1 answer

purpose of .rel.dyn section in ELF Android system libraries

I am trying to process the .rel.plt section of certain Android system libraries and I can find the address of the functions quite easily. However I am not sure of what to make out of the entries of the .rel.dyn section. Does this section contain…
Ram
  • 71
  • 1
  • 2
5
votes
2 answers

Prelinking only has effect on relative relocations

I am using cross-prelink to prelink a large C++ executables that use Qt for an embedded ARM device. Note that I am not using Yocto, but a custom distribution - so I am running prelink manually at the moment. Looking at the output of prelink, it…
Thomas McGuire
  • 5,308
  • 26
  • 45
4
votes
2 answers

Prelink Error: prelink-cross: simple hello world example

I am trying to cross-prelink a simple hello world program. I use the cross-compile toolchain arm-2012.03-57-arm-none-linux-gnueabi-i686-pc-linux-gnu and I am not sure if I have used the prelink-cross options correclty. I'll be glad if someone could…
Florian Boehmak
  • 431
  • 4
  • 20
3
votes
1 answer

Prelink error: Layout error: section size too small for data

I am running prelink on an ARM system with Linux 2.6.35. I am using Glibc 2.12.2. I would like to prelink my libraries and application executables. However, I can't seem to link anything that relies directly upon glibc. When prelink tries to run on…
San Jacinto
  • 8,774
  • 5
  • 43
  • 58
3
votes
4 answers

Determine whether it's a build or rebuild in .cmd script called in prelink step inside Visual Studio

How can a .cmd script run from within a Visual Studio (2005, 2008, 2010, 2012 and 2013 respectively) project's pre-link stage determine whether this is a full rebuild (Build.RebuildSolution/Build.RebuildOnlyProject) or "ordinary" build…
0xC0000022L
  • 20,597
  • 9
  • 86
  • 152
1
vote
1 answer

CMake: how to break a PRE_LINK infinite loop?

I'm trying to automatically label my application sign-on line with a build number. This application is a plain vanilla C one without graphic UI; it is intended for command line, therefore it is a "simple" one. The sign-on id is located in a…
ajlittoz
  • 414
  • 1
  • 5
  • 14
1
vote
1 answer

AngularJS value change not visible in directives

I want to delay compiling child directive until a promise in parent directive's prelink will be resolved and value (CONFIG) will be overwritten. In Parent's preLink: somePromise.then(function(){ CONFIG = 1; …
1
vote
0 answers

prelink: does not have .gnu.prelink_undo section and cannot open ELF file: no error in pyintsller

I have pyinstaller script with LD_LIBRARY_PATH where following binary are there in system. libldap_r-2.4.so.2 libpq.so.5 libpython2.7.so.1.0 I am running code like: python pyinstaller.py my_script prelink -u lib* after the execution for prelink I…
SanG
  • 57
  • 1
  • 6
0
votes
0 answers

How to prefill the two fields i..e. cardNumber & cardPin on the webpage using the link https://www.woohoo.in/balenq

How to prefill the two fields i..e. cardNumber & cardPin on the webpage using the link https://www.woohoo.in/balenq. instead of copy and paste each time want to use them through link. please suggest. i am using the following link but not…
0
votes
1 answer

Do patchelf modify lib's section offset?

I'm trying to check the following issue mylib.so don't have SONAME. So, I added SONAME by using patchelf like below command patchelf --set-soname "libmylib.so" libmylib.so And i checked elf info by using readelf -a Next, I used 'prelink' for…
rewyear
  • 3
  • 3
0
votes
1 answer

prelink-rtld: command not found

Getting Prelink-rtld: command not found error, when trying to build my project using yocto. Complete error: work/aarch64-oe-linux/gstreamer1.0/1.12.2-r0/recipe-sysroot/usr/bin/g-ir-scanner-lddwrapper: line 2: prelink-rtld: command not found |…
0
votes
1 answer

Elements are not in the DOM at the time link function called?

I have a directive that returns DDO with templateUrl and link properties. My templateUrl contains ngRepeat directive on the div, which contains checkbox element. In my link function I am trying to select all child checkboxes, but they are not added…
0
votes
1 answer

assignment of addresses in shared library

I am trying to understand the shared libraries. From what I know, shared libraries have their base addresses as zero so they can be loaded at any address during runtime and so the variables are correctly relocated either during runtime or load time.…
Hemant Kumar
  • 87
  • 1
  • 7
0
votes
1 answer

in angular prelink won't be called if directive use templateUrl instead of template

in compileTemplateUrl function of angular.js. the 'controller: null' of derivedSyncDirective cause no controller function stored for that element. so getControllers called in nodeLinkFn(its prelink part) will throw exception so prelink won't be…
Steven Guan
  • 43
  • 1
  • 5