aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-moxie.h
diff options
context:
space:
mode:
authorAnthony Green <green@redhat.com>2012-09-13 22:24:51 +0000
committerAnthony Green <green@redhat.com>2012-09-13 22:24:51 +0000
commite202fa84e706abb043aed457473a764c76672297 (patch)
tree972e3d625d10ce5271e031e2f293cba7b2d9d11c /gas/config/tc-moxie.h
parentb9516fa158d68eedaa9e2191e38e7a1acfcfee77 (diff)
downloadgdb-e202fa84e706abb043aed457473a764c76672297.zip
gdb-e202fa84e706abb043aed457473a764c76672297.tar.gz
gdb-e202fa84e706abb043aed457473a764c76672297.tar.bz2
Bi-endian patches for moxie
Diffstat (limited to 'gas/config/tc-moxie.h')
-rw-r--r--gas/config/tc-moxie.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/gas/config/tc-moxie.h b/gas/config/tc-moxie.h
index db1d01a..af4fe51 100644
--- a/gas/config/tc-moxie.h
+++ b/gas/config/tc-moxie.h
@@ -1,6 +1,6 @@
/* tc-moxie.h -- Header file for tc-moxie.c.
- Copyright 2009 Free Software Foundation, Inc.
+ Copyright 2009, 2012 Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@@ -22,11 +22,11 @@
#define TARGET_BYTES_BIG_ENDIAN 1
#define WORKING_DOT_WORD
-/* This macro is the BFD target name to use when creating the output
- file. This will normally depend upon the `OBJ_FMT' macro. */
-#define TARGET_FORMAT "elf32-moxie"
-
/* This macro is the BFD architecture to pass to `bfd_set_arch_mach'. */
+const char *moxie_target_format;
+#define DEFAULT_TARGET_FORMAT "elf32-bigmoxie"
+#define TARGET_FORMAT moxie_target_format
+
#define TARGET_ARCH bfd_arch_moxie
#define md_undefined_symbol(NAME) 0