summaryrefslogtreecommitdiff
path: root/gcc/config/m68k
diff options
context:
space:
mode:
authormkuvyrkov <mkuvyrkov@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-03 12:00:32 +0000
committermkuvyrkov <mkuvyrkov@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-03 12:00:32 +0000
commitf539feffad23084ad5b2702e3fa7369dc5863bb6 (patch)
tree2753fac1f794f42415f9991bf0b374df50245ab8 /gcc/config/m68k
parent4ecddf77a78315d1b593805cfbbfd72a9e3f3600 (diff)
downloadgcc-f539feffad23084ad5b2702e3fa7369dc5863bb6.tar.gz
* config/m68k/linux.h (HAVE_GAS_BALIGN_AND_P2ALIGN): Move to ...
* config/m68k/m68k.h: ... here. * testsuite/gcc.dg/falign-labels.c (dg-options): Don't restrict for m68k and fido. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148127 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/m68k')
-rw-r--r--gcc/config/m68k/linux.h7
-rw-r--r--gcc/config/m68k/m68k.h7
2 files changed, 7 insertions, 7 deletions
diff --git a/gcc/config/m68k/linux.h b/gcc/config/m68k/linux.h
index 922856cefdf..113f2787fb3 100644
--- a/gcc/config/m68k/linux.h
+++ b/gcc/config/m68k/linux.h
@@ -126,13 +126,6 @@ along with GCC; see the file COPYING3. If not see
if ((LOG) > 0) \
fprintf ((FILE), "%s%u\n", ALIGN_ASM_OP, 1 << (LOG));
-#ifdef HAVE_GAS_BALIGN_AND_P2ALIGN
-/* Use "move.l %a4,%a4" to advance within code. */
-#define ASM_OUTPUT_ALIGN_WITH_NOP(FILE,LOG) \
- if ((LOG) > 0) \
- fprintf ((FILE), "\t.balignw %u,0x284c\n", 1 << (LOG));
-#endif
-
/* If defined, a C expression whose value is a string containing the
assembler operation to identify the following data as uninitialized global
data. */
diff --git a/gcc/config/m68k/m68k.h b/gcc/config/m68k/m68k.h
index 2d3b592eb88..24598c5ba07 100644
--- a/gcc/config/m68k/m68k.h
+++ b/gcc/config/m68k/m68k.h
@@ -955,6 +955,13 @@ do { if (cc_prev_status.flags & CC_IN_68881) \
if ((LOG) >= 1) \
fprintf (FILE, "\t.even\n");
+#ifdef HAVE_GAS_BALIGN_AND_P2ALIGN
+/* Use "move.l %a4,%a4" to advance within code. */
+#define ASM_OUTPUT_ALIGN_WITH_NOP(FILE,LOG) \
+ if ((LOG) > 0) \
+ fprintf ((FILE), "\t.balignw %u,0x284c\n", 1 << (LOG));
+#endif
+
#define ASM_OUTPUT_SKIP(FILE,SIZE) \
fprintf (FILE, "\t.skip %u\n", (int)(SIZE))