https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105305
--- Comment #3 from Rui Ueyama ---
By other ld's, what linkers did you have in your mind? If lld, mold and gold
don't hard code /usr and /usr/lib, then the only remaining linker is GNU ld.
It doesn't seem like POSIX says about the default libra
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105305
--- Comment #2 from Andrew Pinski ---
>The code to explicitly exclude "obvious" directories is here
That code has been there since before 1993. So I wonder if all other ld's
always included /usr and /usr/lib by default. It is only the newer one
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105305
Andrew Pinski changed:
What|Removed |Added
Target||arm*-*-*
--- Comment #1 from Andrew Pin