summaryrefslogtreecommitdiff
path: root/gas/config/tc-mcore.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1999-11-18 18:38:18 +0000
committerNick Clifton <nickc@redhat.com>1999-11-18 18:38:18 +0000
commit01372797dacb9f7c0a0fd17d21bff017954d02d2 (patch)
tree77bc7ecae114a845ae25fd83da8b3b1ebf0dd38a /gas/config/tc-mcore.h
parent542da7abbfa4d6236a4563721cc9615bb7e660e5 (diff)
downloadbinutils-redhat-01372797dacb9f7c0a0fd17d21bff017954d02d2.tar.gz
Fix generation of RVA relocs
Diffstat (limited to 'gas/config/tc-mcore.h')
-rw-r--r--gas/config/tc-mcore.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/config/tc-mcore.h b/gas/config/tc-mcore.h
index 2bc2efee7a..eff1322ae0 100644
--- a/gas/config/tc-mcore.h
+++ b/gas/config/tc-mcore.h
@@ -74,6 +74,10 @@ struct mcore_tc_sy
#define TC_SYMFIELD_TYPE struct mcore_tc_sy
+# if defined TE_PE
+# define TC_FORCE_RELOCATION(x) ((x)->fx_r_type == BFD_RELOC_RVA)
+# endif
+
#endif /* OBJ_COFF */