~ubuntu-branches/ubuntu/raring/gcc-4.7/raring

« back to all changes in this revision

Viewing changes to debian/patches/gcc-powerpc-undef.diff

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2011-12-17 23:19:46 UTC
  • Revision ID: package-import@ubuntu.com-20111217231946-n668coanjbjgqxq7
Tags: 4.7-20111217-1
* GCC-4.7 snapshot build.
  - Including the GFDL documentation; will stay in experimental
    until the 4.7.0 release sometime next year.
* Update patches for the trunk.
* Update symbols files.
* Build libitm packages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# DP: Undefine LINK_EH_SPEC before redefining it
 
2
# DP: http://gcc.gnu.org/ml/gcc-patches/2011-02/msg01082.html
 
3
 
 
4
--- a/src/gcc/config/rs6000/sysv4.h
 
5
+++ b/src/gcc/config/rs6000/sysv4.h
 
6
@@ -835,6 +835,7 @@
 
7
   -dynamic-linker " LINUX_DYNAMIC_LINKER "}}"
 
8
 
 
9
 #if defined(HAVE_LD_EH_FRAME_HDR)
 
10
+# undef  LINK_EH_SPEC
 
11
 # define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
 
12
 #endif
 
13