* read.c (do_align): Add max parameter. Change all callers.
authorIan Lance Taylor <ian@airs.com>
Fri, 14 Feb 1997 22:49:25 +0000 (22:49 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 14 Feb 1997 22:49:25 +0000 (22:49 +0000)
commitd7bf6158eb08d2d5630e2aa63776268ecc2219c2
tree93b6c3f166275aa7db0e369971f635ebb45e6941
parentd7e89eaff882072fcb26e10d37cee01cf2bf3b09
* 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.
gas/ChangeLog
gas/config/obj-coff.c
gas/config/obj-ieee.c
gas/config/tc-d10v.h
gas/config/tc-i386.h
gas/config/tc-m88k.c
gas/config/tc-m88k.h
gas/doc/internals.texi