Re: Quick update on prelink

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/02/2012 03:57 AM, Jon Masters wrote:

> Slight disruption over the weekend, but I re-read the ELF spec, Jakub's
> paper, and started poking at the source. In large part, I wanted to make
> sure someone was tracking this for future AArch64 stuff. But now, I'll
> get back to actually fixing the problem, with an update to follow.

Try this trivial patch to src/get.c that educates prelink about our
linker (so it won't try to prelink the linker itself). This will then
pass the testsuite. On the one hand, if this is all it is it's almost
annoying that I went to the lengths to understand how it works before
looking at it in detail, but on the other Jakub has told me there's not
a lot of good data on prelink-on-arm so I need to do more code review
/anyway/. Please try this patch and see what happens.

Jon.

diff -urNp prelink_orig/src/get.c prelink/src/get.c
--- prelink_orig/src/get.c	2009-06-12 08:01:48.000000000 -0400
+++ prelink/src/get.c	2012-04-04 05:08:47.000000000 -0400
@@ -30,6 +30,7 @@ int
 is_ldso_soname (const char *soname)
 {
   if (! strcmp (soname, "ld-linux.so.2")
+      || ! strcmp (soname, "ld-linux.so.3")
       || ! strcmp (soname, "ld.so.1")
       || ! strcmp (soname, "ld-linux-ia64.so.2")
       || ! strcmp (soname, "ld-linux-x86-64.so.2")
_______________________________________________
arm mailing list
arm@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/arm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux