[yocto] [prelink-cross] [PATCH] x86_64: allow prelinking of PIE executables with COPY relocs

2018-10-10 Thread Sergei Trofimovich
kernel ASLR is disabled: kernel.randomize_va_space=0 + PIE-randomization patches. I have gcc built as `--enable-default-pie` (generates PIE executables by default). Testsute results before the change: PASS: 14 FAIL: 31 After the change: PASS: 32 FAIL: 13 Signed-off-by: Sergei Trofimovich

[yocto] [prelink-cross] [PATCH] testsuite/functions.sh: produce deterministic GNU_PRELINK section

2018-10-10 Thread Sergei Trofimovich
Before the change one test failed due to timestamp drift: FAIL: shuffle7.sh This happens because prelinking takes time on the file and timestamp differs slightly. Avoid timestamp drift by overriding real timestamp with PRELINK_TIMESTAMP variable. Signed-off-by: Sergei Trofimovich