This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Undefine MAX_OFILE_ALIGNMENT in config/arm/elf.h before overriding it
- From: Fred Fish <fnf at specifix dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: fnf at specifix dot com
- Date: Tue, 5 Dec 2006 23:02:15 -0700
- Subject: [PATCH] Undefine MAX_OFILE_ALIGNMENT in config/arm/elf.h before overriding it
- Reply-to: fnf at specifix dot com
MAX_OFILE_ALIGNMENT is now defined in elfos.h, which is included
before arm/elf.h, so we need to undefine it before overriding it.
2006-12-05 Fred Fish <fnf@specifix.com>
* config/arm/elf.h (MAX_OFILE_ALIGNMENT): Undefine before defining.
Index: gcc/gcc/config/arm/elf.h
===================================================================
RCS file: /services/cvs/cvsroot/latest/gcc/gcc/config/arm/elf.h,v
retrieving revision 1.1.1.2
diff -u -p -r1.1.1.2 elf.h
--- gcc/gcc/config/arm/elf.h 20 Nov 2006 00:24:08 -0000 1.1.1.2
+++ gcc/gcc/config/arm/elf.h 6 Dec 2006 05:58:41 -0000
@@ -137,6 +137,7 @@
machine. Use this macro to limit the alignment which can be
specified using the `__attribute__ ((aligned (N)))' construct. If
not defined, the default value is `BIGGEST_ALIGNMENT'. */
+#undef MAX_OFILE_ALIGNMENT
#define MAX_OFILE_ALIGNMENT (32768 * 8)
/* Align output to a power of two. Note ".align 0" is redundant,