diff options
author | Martin Hunt <hunt@redhat.com> | 1997-01-29 23:36:06 +0000 |
---|---|---|
committer | Martin Hunt <hunt@redhat.com> | 1997-01-29 23:36:06 +0000 |
commit | daa04fa206608d01551b0e8b49c78ecb7eb7f39c (patch) | |
tree | 10dd7c217d40926456724787a10315b4f23abc60 /gas/config/tc-d10v.h | |
parent | 0948199a7b45e3927dd7ae913cd42f56037091da (diff) | |
download | gdb-daa04fa206608d01551b0e8b49c78ecb7eb7f39c.zip gdb-daa04fa206608d01551b0e8b49c78ecb7eb7f39c.tar.gz gdb-daa04fa206608d01551b0e8b49c78ecb7eb7f39c.tar.bz2 |
Wed Jan 29 15:31:12 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* config/tc-d10v.h (md_do_align): Add this hook to call
d10v_cleanup() when a ".align" is detected. Fixes PR11487.
* config/tc-d10v.c (find_opcode): Correctly calculate
branch displacement when .aligns are present.
Diffstat (limited to 'gas/config/tc-d10v.h')
-rw-r--r-- | gas/config/tc-d10v.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/config/tc-d10v.h b/gas/config/tc-d10v.h index 3f50eef..b87d663 100644 --- a/gas/config/tc-d10v.h +++ b/gas/config/tc-d10v.h @@ -30,7 +30,6 @@ #define TARGET_FORMAT "elf32-d10v" #define MD_APPLY_FIX3 -#define md_operand(x) /* call md_pcrel_from_section, not md_pcrel_from */ #define MD_PCREL_FROM_SECTION(FIXP, SEC) md_pcrel_from_section(FIXP, SEC) @@ -50,6 +49,8 @@ int d10v_cleanup PARAMS ((void)); #define md_after_pass_hook() d10v_cleanup() +#define md_cleanup() d10v_cleanup() +#define md_do_align(a,b,c,d) d10v_cleanup() #define TC_START_LABEL(ch, ptr) (ch == ':' && d10v_cleanup()) |