aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-frv.h
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/tc-frv.h')
-rw-r--r--gas/config/tc-frv.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gas/config/tc-frv.h b/gas/config/tc-frv.h
index d2e185d..8bc3c7c 100644
--- a/gas/config/tc-frv.h
+++ b/gas/config/tc-frv.h
@@ -30,7 +30,9 @@
/* The target BFD architecture. */
#define TARGET_ARCH bfd_arch_frv
-#define TARGET_FORMAT "elf32-frv"
+#define TARGET_FORMAT (frv_md_fdpic_enabled () \
+ ? "elf32-frvfdpic" : "elf32-frv")
+extern bfd_boolean frv_md_fdpic_enabled (void);
#define TARGET_BYTES_BIG_ENDIAN 1