https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18206
sandra at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sandra at gcc dot gnu.org
Known to fail| |
--- Comment #2 from sandra at gcc dot gnu.org ---
I was discussing this with Joseph Myers earlier today. He said "There isn't
meant to be a GCC driver -dynamic-linker option." and pointed at
https://gcc.gnu.org/ml/gcc-patches/2010-12/msg00194.html
but apparently some backends have broken again since then:
arm/freebsd.h c6x/uclinux-elf.h rs6000/freebsd64.h
I found through experimentation that nios2-linux-gnu-gcc accepts
-dynamic-linker as a link option without error, but totally ignores it.
Joseph's explanation is that the driver accepts it as -d<letters> but doesn't
check the <letters>. If you try compiling with that option and not just
linking, gcc does diagnose that the <letters> are invalid.
Anyway, there is no documentation bug here.