aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-ft32.h
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+binutils@tbsaunde.org>2016-05-21 04:21:32 -0400
committerTrevor Saunders <tbsaunde+binutils@tbsaunde.org>2016-05-24 08:49:46 -0400
commitb19e0aeb53c77e0dbb2083c18dcb0a154db99d17 (patch)
tree96640ef024c7e098294ad1fafb6839ff011b1516 /gas/config/tc-ft32.h
parente5e27b0769acf1c864ac9e41544c0747d1058cd5 (diff)
downloadgdb-b19e0aeb53c77e0dbb2083c18dcb0a154db99d17.zip
gdb-b19e0aeb53c77e0dbb2083c18dcb0a154db99d17.tar.gz
gdb-b19e0aeb53c77e0dbb2083c18dcb0a154db99d17.tar.bz2
ft32: fixup TARGET_FORMAT
Nothing ever assigns to ft32_target_format, so its always null, which means the bfd target arch is the default one. It looks like ft32 only has one target format, so we can just define TARGET_FORMAT to be that literal string. gas/ChangeLog: 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove. (ft32_target_format): Likewise. (TARGET_FORMAT): Adjust.
Diffstat (limited to 'gas/config/tc-ft32.h')
-rw-r--r--gas/config/tc-ft32.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/gas/config/tc-ft32.h b/gas/config/tc-ft32.h
index 7b92a29..3829331 100644
--- a/gas/config/tc-ft32.h
+++ b/gas/config/tc-ft32.h
@@ -24,9 +24,7 @@
#define WORKING_DOT_WORD
/* This macro is the BFD architecture to pass to `bfd_set_arch_mach'. */
-const char *ft32_target_format;
-#define DEFAULT_TARGET_FORMAT "elf32-ft32"
-#define TARGET_FORMAT ft32_target_format
+#define TARGET_FORMAT "elf32-ft32"
#define TARGET_ARCH bfd_arch_ft32