/usr/src/gcc-4.6/debian/patches/gcc-powerpc-undef.diff is in gcc-4.6-source 4.6.3-14.
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 | # DP: Undefine LINK_EH_SPEC before redefining it
# DP: http://gcc.gnu.org/ml/gcc-patches/2011-02/msg01082.html
--- a/src/gcc/config/rs6000/sysv4.h
+++ b/src/gcc/config/rs6000/sysv4.h
@@ -835,6 +835,7 @@
-dynamic-linker " LINUX_DYNAMIC_LINKER "}}"
#if defined(HAVE_LD_EH_FRAME_HDR)
+# undef LINK_EH_SPEC
# define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
#endif
|