/usr/src/gcc-4.8/debian/patches/pr65711.diff is in gcc-4.8-source 4.8.5-4ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | # DP: Fix PR target/65711 (ARM32), don't pass '-dynamic-linker' when '-shared' is used.
gcc/
2015-06-23 Ludovic Courtès <ludo@gnu.org>
PR target/65711
* config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Move
'-dynamic-linker' within %{!shared: ...}.
Index: b/src/gcc/config/arm/linux-elf.h
===================================================================
--- a/src/gcc/config/arm/linux-elf.h
+++ b/src/gcc/config/arm/linux-elf.h
@@ -65,7 +65,7 @@
%{symbolic:-Bsymbolic} \
%{!static: \
%{rdynamic:-export-dynamic} \
- -dynamic-linker " GNU_USER_DYNAMIC_LINKER "} \
+ %{!shared:-dynamic-linker " GNU_USER_DYNAMIC_LINKER "}} \
-X \
--hash-style=gnu \
%{mbig-endian:-EB} %{mlittle-endian:-EL}" \
|