(ALIGN_SYMTABLE_OFFSET): Define to align symbol table sections to a quadword boundary...
authorRichard Kenner <kenner@gcc.gnu.org>
Sun, 20 Mar 1994 22:42:01 +0000 (17:42 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Sun, 20 Mar 1994 22:42:01 +0000 (17:42 -0500)
(ALIGN_SYMTABLE_OFFSET): Define to align symbol table sections to a
quadword boundary, to avoid alignment problems with native nm on
OSF1/1.3 and higher.

From-SVN: r6834

gcc/config/alpha/alpha.h

index ccb46c4..2f24716 100644 (file)
@@ -1,6 +1,6 @@
 /* Definitions of target machine for GNU compiler, for DEC Alpha.
    Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
-   Contributed by Richard Kenner (kenner@nyu.edu)
+   Contributed by Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
 
 This file is part of GNU CC.
 
@@ -1901,3 +1901,7 @@ do {                                                      \
 
 #define SHASH_SIZE 511
 #define THASH_SIZE 55
+
+/* Align ecoff symbol tables to avoid OSF1/1.3 nm complaints.  */
+
+#define ALIGN_SYMTABLE_OFFSET(OFFSET) (((OFFSET) + 7) & ~7)