aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-v850.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-08-29 06:49:35 +0000
committerNick Clifton <nickc@redhat.com>2002-08-29 06:49:35 +0000
commit86aba9dbfa7eb9bf07dd611c85e3cff31ebaa740 (patch)
tree28cea41b52ede49cce06280bbf5c3702ba3a0df4 /gas/config/tc-v850.h
parent6ba3d7ed59de300442a9273d85c7a178e2296c3d (diff)
downloadgdb-86aba9dbfa7eb9bf07dd611c85e3cff31ebaa740.zip
gdb-86aba9dbfa7eb9bf07dd611c85e3cff31ebaa740.tar.gz
gdb-86aba9dbfa7eb9bf07dd611c85e3cff31ebaa740.tar.bz2
Add linker relaxation to v850 toolchain
Diffstat (limited to 'gas/config/tc-v850.h')
-rw-r--r--gas/config/tc-v850.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/config/tc-v850.h b/gas/config/tc-v850.h
index 8257428..f3827e7 100644
--- a/gas/config/tc-v850.h
+++ b/gas/config/tc-v850.h
@@ -70,6 +70,11 @@ extern void cons_fix_new_v850 PARAMS ((fragS *, int, int, expressionS *));
#define TC_GENERIC_RELAX_TABLE md_relax_table
extern const struct relax_type md_relax_table[];
+/* When relaxing, we need to generate
+ relocations for alignment directives. */
+#define HANDLE_ALIGN(frag) v850_handle_align (frag)
+extern void v850_handle_align PARAMS ((fragS *));
+
/* This section must be in the small data area (pointed to by GP). */
#define SHF_V850_GPREL 0x10000000
/* This section must be in the tiny data area (pointed to by EP). */