diff options
author | Ian Lance Taylor <ian@airs.com> | 2001-02-13 21:27:52 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2001-02-13 21:27:52 +0000 |
commit | 0e73942b3a49392f6dc02e5eb61b91bbd7176c72 (patch) | |
tree | f3171725d7e284e3465d0d0633b6c70fd16cb3f7 /gas/write.h | |
parent | f373e6c9d6f0a9f96821e63dc17269ce8820e39d (diff) | |
download | binutils-redhat-0e73942b3a49392f6dc02e5eb61b91bbd7176c72.tar.gz |
* write.c (is_dnrange): Stop as soon as the address becomes
larger.
(relax_frag): Add segment parameter. Only call symbol_get_frag
once. Only call is_dnrange if the symbol is in the same segment,
and the symbol address is larger.
(relax_segment): Pass segment to md_relax_frag and relax_frag.
* write.h (relax_frag): Update declaration.
* config/tc-fr30.c (fr30_relax_frag): Add segment parameter. Pass
it to relax_frag.
* config/tc-m32r.c (m32r_relax_frag): Likewise.
* config/tc-m32r.h (md_relax_frag): Add segment parameter.
(m32r_relax_frag): Update declaration.
* config/tc-mips.h (md_relax_frag): Add segment parameter.
* config/tc-tic54x.h (md_relax_frag): Likewise.
* doc/internals.texi (CPU backend): Update documentation for
md_relax_frag.
Diffstat (limited to 'gas/write.h')
-rw-r--r-- | gas/write.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/write.h b/gas/write.h index 9872e9d82b..9a63dc5cd1 100644 --- a/gas/write.h +++ b/gas/write.h @@ -181,7 +181,7 @@ extern void record_alignment PARAMS ((segT seg, int align)); extern int get_recorded_alignment PARAMS ((segT seg)); extern void subsegs_finish PARAMS ((void)); extern void write_object_file PARAMS ((void)); -extern long relax_frag PARAMS ((fragS *, long)); +extern long relax_frag PARAMS ((segT, fragS *, long)); extern void relax_segment PARAMS ((struct frag * seg_frag_root, segT seg_type)); |