aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-d10v.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-02-14 22:49:25 +0000
committerIan Lance Taylor <ian@airs.com>1997-02-14 22:49:25 +0000
commitd7bf6158eb08d2d5630e2aa63776268ecc2219c2 (patch)
tree93b6c3f166275aa7db0e369971f635ebb45e6941 /gas/config/tc-d10v.h
parentd7e89eaff882072fcb26e10d37cee01cf2bf3b09 (diff)
downloadgdb-d7bf6158eb08d2d5630e2aa63776268ecc2219c2.zip
gdb-d7bf6158eb08d2d5630e2aa63776268ecc2219c2.tar.gz
gdb-d7bf6158eb08d2d5630e2aa63776268ecc2219c2.tar.bz2
* read.c (do_align): Add max parameter. Change all callers.
Remove useless static variables. (s_align): New static function. Do common portion of s_align_bytes and s_align_ptwo. (s_align_bytes, s_align_ptwo): Just call s_align. * frags.c (frag_align): Add max parameter. Change all callers. (frag_align_pattern): Likewise. * frags.h (frag_align, frag_align_pattern): Update declarations. * write.c (relax_segment): Limit alignment change to fr_subtype. Fix some types to be addressT. * config/obj-coff.c (size_section): Likewise. * config/obj-ieee.c (size_section): Likewise. * config/tc-d10v.h (md_do_align): Add max parameter. * config/tc-i386.h (md_do_align): Likewise. * config/tc-m88k.h (md_do_align): Likewise. * config/tc-m88k.c (m88k_do_align): Likewise. * config/tc-sh.h (md_do_align): Likewise. * config/tc-sh.c (sh_do_align): Likewise. * as.h: Improve comments on rs_align and rs_align_code. * doc/as.texinfo: Document new alignment arguments. * doc/internals.texi (Frags): Document use of fr_subtype field for rs_align and rs_align_code.
Diffstat (limited to 'gas/config/tc-d10v.h')
-rw-r--r--gas/config/tc-d10v.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gas/config/tc-d10v.h b/gas/config/tc-d10v.h
index b87d663..9194cd3 100644
--- a/gas/config/tc-d10v.h
+++ b/gas/config/tc-d10v.h
@@ -1,5 +1,5 @@
/* tc-d10v.h -- Header file for tc-d10v.c.
- Copyright (C) 1996 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1997 Free Software Foundation, Inc.
Written by Martin Hunt, Cygnus Support.
This file is part of GAS, the GNU Assembler.
@@ -20,6 +20,8 @@
#define TC_D10V
+#define TARGET_BYTES_BIG_ENDIAN 0
+
#ifndef BFD_ASSEMBLER
#error D10V support requires BFD_ASSEMBLER
#endif
@@ -50,7 +52,7 @@
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 md_do_align(a,b,c,d,e) d10v_cleanup()
#define TC_START_LABEL(ch, ptr) (ch == ':' && d10v_cleanup())