From: Rainer Orth Date: Tue, 12 Apr 2011 13:05:40 +0000 (+0000) Subject: backport: osf.h (MAX_OFILE_ALIGNMENT): Define. X-Git-Tag: releases/gcc-4.5.3~80 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e6976f58aac5ad9b724516041d59af4e0788b06;p=thirdparty%2Fgcc.git backport: osf.h (MAX_OFILE_ALIGNMENT): Define. Backport from mainline: 2011-04-06 Rainer Orth * config/alpha/osf.h (MAX_OFILE_ALIGNMENT): Define. From-SVN: r172317 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fb4d53ff174c..83e48e59671b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2011-04-12 Rainer Orth + + Backport from mainline: + 2011-04-06 Rainer Orth + + * config/alpha/osf.h (MAX_OFILE_ALIGNMENT): Define. + 2011-04-09 Duncan Sands * tree.c (array_type_nelts): Bail out if TYPE_MAX_VALUE not set. diff --git a/gcc/config/alpha/osf.h b/gcc/config/alpha/osf.h index 985411f1d40e..9bc1f49233a0 100644 --- a/gcc/config/alpha/osf.h +++ b/gcc/config/alpha/osf.h @@ -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.