Movatterモバイル変換
[0]ホーム
This is the mail archive of thelibc-alpha@sourceware.orgmailing list for theglibc project.
Re: [PATCH 0/2] Multiarch hooks for memcpy variants
On Friday 11 August 2017 11:36 PM, Zack Weinberg wrote:>> may be the generic __memcpy_chk should call the ifunced>> memcpy so it goes through an extra plt indirection, but>> at least less target specific code is needed.> > I was thinking of making this suggestion myself. I think that would> be a better maintainability/efficiency tradeoff. (Of course, I also> think we shouldn't bypass ifuncs for intra-libc calls.)That was my initial approach, but I was under the impression that PLTsin internal calls were frowned upon, hence the ifuncs similar to what'sdone in x86. If this is acceptable, I could do more tests to checkgains within the library if we were to call memcpy via ifunc.Siddhesh
[8]ページ先頭