Adding static-PIE support to binutils
Cary Coutant
ccoutant@gmail.com
Wed Aug 19 04:34:00 GMT 2015
> 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
More information about the Binutils
mailing list