diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0101-Backport-from-mainline.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0101-Backport-from-mainline.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0101-Backport-from-mainline.patch b/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0101-Backport-from-mainline.patch new file mode 100644 index 0000000000..dd1b6007c9 --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0101-Backport-from-mainline.patch @@ -0,0 +1,37 @@ +From 0344e764781d1c1b27f07f6f973b9797d8d6285c Mon Sep 17 00:00:00 2001 +From: ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> +Date: Mon, 11 Apr 2011 10:42:23 +0000 +Subject: [PATCH 101/200] Backport from mainline: + 2011-04-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + * config/alpha/osf5.h (MAX_OFILE_ALIGNMENT): Define. + + +git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@172253 138bc75d-0d04-0410-961f-82ee72b054a4 + +index 84a3c24..97a789f 100644 +--- a/gcc/config/alpha/osf5.h ++++ b/gcc/config/alpha/osf5.h +@@ -1,7 +1,7 @@ + /* Definitions of target machine for GNU compiler, for DEC Alpha on + Tru64 UNIX V5.1. + Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2000, 2001, +- 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010 ++ 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010, 2011 + Free Software Foundation, Inc. + Contributed by Richard Kenner (kenner@vlsi1.ultra.nyu.edu) + +@@ -223,6 +223,10 @@ __enable_execute_stack (void *addr) \ + #define LD_INIT_SWITCH "-init" + #define LD_FINI_SWITCH "-fini" + ++/* From Tru64 UNIX Object File and Symbol Table Format Specification, ++ 2.3.5 Alignment, p.19. */ ++#define MAX_OFILE_ALIGNMENT (64 * 1024 * BITS_PER_UNIT) ++ + /* Select a format to encode pointers in exception handling data. CODE + is 0 for data, 1 for code labels, 2 for function pointers. GLOBAL is + true if the symbol may be affected by dynamic relocations. +-- +1.7.0.4 + |