I'd like to ask toolchain herd a review of the attached patch to toolchain eclass.. it adds an extra functions that check if the selected linker is a GNU ld. This will allow Gentoo/ALT to define a wrapper to apply -Wl,-z,now (that does not work when the linker is not GNU ld) working on all Gentoo/ALT systems. The code is the same used by autoconf to recognize GNU ld. Thanks, Diego
Created attachment 70102 [details, diff] toolchain-funcs-ld.patch That was toolchain-funcs eclass, of course.
I'll handle all of this on portability eclass, so that your toolchain-funcs don't get all full of this.