bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/20852] glibc/MIPS strfry call strlen by bal not jalr


From: ambrosehua at 126 dot com
Subject: [Bug ld/20852] glibc/MIPS strfry call strlen by bal not jalr
Date: Wed, 23 Nov 2016 23:59:18 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=20852

--- Comment #3 from ambrosehua at 126 dot com ---
(In reply to Florian Weimer from comment #2)
> There is no expectation that strlen can be interposed with the effect that
> glibc starts using the interposed version.
> 
I don't get it, do you mean even strlen in glibc is interposed, the function of
strfry is still OK?
> Are you concerned about the efficiency loss due to the superfluous load of
> the address of the interposed strlen?

my point is 

Based on what can make such "jalr to bal" transformation on calling a global
function living in the same DSO like strlen? The superfluous load is efficiency
loss, But if strlen living is using gp, then superfluous load can cause trouble

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]