[PATCH][ARM] PR/65711: Don't pass '-dynamic-linker' when '-shared' is used

Ludovic Courtès ludo@gnu.org
Thu Apr 23 08:29:00 GMT 2015


As discussed at <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65711>.

Patch is for both 4.8 and 4.9 (possibly 5.1 too, I haven’t checked.)

Tested on armhf-linux-gnu (armv7.)

gcc/
2015-04-23  Ludovic Courtès  <ludo@gnu.org>

	PR 65711
	* config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Move
	'-dynamic-linker' within %{!shared: ...}.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 458 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150423/7d95f067/attachment.bin>


More information about the Gcc-patches mailing list