]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
backport: osf.h (MAX_OFILE_ALIGNMENT): Define.
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Tue, 12 Apr 2011 13:05:40 +0000 (13:05 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Tue, 12 Apr 2011 13:05:40 +0000 (13:05 +0000)
Backport from mainline:
2011-04-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

* config/alpha/osf.h (MAX_OFILE_ALIGNMENT): Define.

From-SVN: r172317

gcc/ChangeLog
gcc/config/alpha/osf.h

index fb4d53ff174cdf614549a5e452f05fcce1a2c8d2..83e48e59671b017cf4c1b43b23569da7b0de5a40 100644 (file)
@@ -1,3 +1,10 @@
+2011-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       Backport from mainline:
+       2011-04-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * config/alpha/osf.h (MAX_OFILE_ALIGNMENT): Define.
+
 2011-04-09  Duncan Sands  <baldrick@free.fr>
 
        * tree.c (array_type_nelts): Bail out if TYPE_MAX_VALUE not set.
index 985411f1d40e7d632c1d16f711a32c3753757d05..9bc1f49233a0c342ec6ced35d85455a11a2a326a 100644 (file)
@@ -1,6 +1,6 @@
 /* Definitions of target machine for GNU compiler, for DEC Alpha on OSF/1.
    Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2001, 2002, 2003,
-   2004, 2007, 2009, 2010 Free Software Foundation, Inc.
+   2004, 2007, 2009, 2010, 2011 Free Software Foundation, Inc.
    Contributed by Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
 
 This file is part of GCC.
@@ -199,6 +199,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.