> This is OK to commit with a suitable ChangeLog. I think a separate ld > option is best too, because historically -static and its aliases > -Bstatic, -dn, -non_shared really are about what type of libraries are > accepted rather than choosing linker output type.
Gold actually separates these concepts: -Bstatic/-dn and -Bdynamic/-dy are about what kinds of libraries to search for, while -static and -shared/-Bshareable/-G determine what kind of output to produce. -cary