[PATCH] For FreeBSD on mips, pass -G options to the linker

Brooks Davis brooks at one-eyed-alien.net
Fri May 29 12:27:55 PDT 2015


Even if this patch is incomplete with regards to the assembler, it is both necessary and sufficient to build and link programs with the current FreeBSD build system.  It follows gcc's long established behavior as a linker and is harmless to other consumers so why not commit it?

All that being said, I'm not actually sure -G does anything at all when pasted to ld and as.  The binutils documentation says it's only for ECOFF targets so in practice it may be a no-op.


http://reviews.llvm.org/D9114

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list