diff options
author | Alan Modra <amodra@gmail.com> | 2006-05-07 23:03:48 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2006-05-07 23:03:48 +0000 |
commit | 32638454a77af8cc49471866d658563b83b0fa8d (patch) | |
tree | 127d5195ca0d4d64455c5895e66aae1c65bc96e2 /gas/write.h | |
parent | 692b141ccbd09a87dd91383ec2f7564668ddf879 (diff) | |
download | gdb-32638454a77af8cc49471866d658563b83b0fa8d.zip gdb-32638454a77af8cc49471866d658563b83b0fa8d.tar.gz gdb-32638454a77af8cc49471866d658563b83b0fa8d.tar.bz2 |
* write.c (relax_segment): Add pass count arg. Don't error on
negative org/space on first two passes.
(relax_seg_info): New struct.
(relax_seg, write_object_file): Adjust.
* write.h (relax_segment): Update prototype.
Diffstat (limited to 'gas/write.h')
-rw-r--r-- | gas/write.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/write.h b/gas/write.h index 77ce75e..1f9b72d 100644 --- a/gas/write.h +++ b/gas/write.h @@ -1,6 +1,6 @@ /* write.h Copyright 1987, 1992, 1993, 1994, 1995, 1996, 1997, 1999, 2000, 2001, - 2002, 2003, 2005 Free Software Foundation, Inc. + 2002, 2003, 2005, 2006 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -156,7 +156,7 @@ extern int get_recorded_alignment (segT seg); extern void subsegs_finish (void); extern void write_object_file (void); extern long relax_frag (segT, fragS *, long); -extern int relax_segment (struct frag * seg_frag_root, segT seg_type); +extern int relax_segment (struct frag *, segT, int); extern void number_to_chars_littleendian (char *, valueT, int); extern void number_to_chars_bigendian (char *, valueT, int); extern fixS *fix_new |