[Bug c/87482] Clarify behaviour of resolvers with parameters in for __attribute__((ifunc))

2018-10-03 Thread peter.smith at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87482 --- Comment #4 from Peter Smith --- Thanks very much for the clarification.

[Bug c/87482] Clarify behaviour of resolvers with parameters in for __attribute__((ifunc))

2018-10-01 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87482 --- Comment #3 from joseph at codesourcery dot com --- I expect it's valid to use (void) if that particular IFUNC resolver doesn't use the HWCAP information passed, even if the HWCAP information is passed to resolvers on that architecture. And

[Bug c/87482] Clarify behaviour of resolvers with parameters in for __attribute__((ifunc))

2018-10-01 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87482 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRMED

[Bug c/87482] Clarify behaviour of resolvers with parameters in for __attribute__((ifunc))

2018-10-01 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87482 --- Comment #1 from joseph at codesourcery dot com --- Yes, on some platforms the resolver takes the HWCAP as an argument and so should be declared as a function taking that argument (if it uses it, anyway).