Summary: | Intercept glibc 2.20 optimized strcmp implementation for ARMv7 | ||
---|---|---|---|
Product: | [Developer tools] valgrind | Reporter: | Mark Wielaard <mark> |
Component: | general | Assignee: | Julian Seward <jseward> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Suppress glibc 2.20 optimized strcmp implementation for ARMv7. |
Description
Mark Wielaard
2014-08-28 08:00:31 UTC
Created attachment 88464 [details]
Suppress glibc 2.20 optimized strcmp implementation for ARMv7.
Proposed patch.
Add an add_hardwired_spec for strcmp in VG_(redir_initialise) for
ld-linux.so.3 and ld-linux-armhf.so.3 to use a simple strcmp
implementation in m_trampoline.S (compiled from the trivial .c code
to asm with gcc like the other implementations in that file).
Apologies. I committed my proposed fix by accident as valgrind svn r14374 while working on something else. I had wanted someone to review it first. I think it is the correct way to handle this situation, but please yell and scream if it is not an appropriate fix and I'll revert it. Sounds exactly right to me. |