aboutsummaryrefslogtreecommitdiff
path: root/gas/write.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-12-12 22:46:47 +0000
committerAlan Modra <amodra@gmail.com>2002-12-12 22:46:47 +0000
commit17fc154eac5503ae2db721f05601da56d80f7493 (patch)
treee6b2b2e00d5a9367000a08cafeb844cfb27c3010 /gas/write.c
parentbfc866a6e6fbc8d3ec3907d1e4d0f9f69c3682ff (diff)
downloadgdb-17fc154eac5503ae2db721f05601da56d80f7493.zip
gdb-17fc154eac5503ae2db721f05601da56d80f7493.tar.gz
gdb-17fc154eac5503ae2db721f05601da56d80f7493.tar.bz2
* write.c (write_object_file): Fix signed/unsigned warning.
* config/e-crisaout.c (crisaout_bfd_name): Prototype. * config/e-criself.c (criself_bfd_name): Prototype. * config/obj-aout.c (s_sect): Remove unused function. * config/obj-bout.c (obj_bout_line <ignore>): Add ATTRIBUTE_UNUSED. * config/obj-coff.c (coff_last_bf): Don't declare for OBJ_XCOFF. (fixup_mdeps <h>): Add ATTRIBUTE_UNUSED. * config/obj-ecoff.c (ecoff_frob_file <addr>): Likewise. * config/obj-vms.c (setup_basic_type <spnt>): Likewise. (VMS_RSYM_Parse <Current_Routine>): Likewise. (vms_fixup_text_section <text_siz>): Likewise. (synthesize_data_segment <data_size>): Likewise. (vms_fixup_xtors_section <sect_no>): Likewise. (structure_count): Don't use implicit int type.
Diffstat (limited to 'gas/write.c')
-rw-r--r--gas/write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/write.c b/gas/write.c
index 14e23fb..f46bbac 100644
--- a/gas/write.c
+++ b/gas/write.c
@@ -1624,7 +1624,7 @@ write_object_file ()
#ifdef OBJ_BOUT
|| fragP->fr_next == data_frag_root
#endif
- || ((fragP->fr_next->fr_address - fragP->fr_address)
+ || ((offsetT) (fragP->fr_next->fr_address - fragP->fr_address)
== (fragP->fr_fix + fragP->fr_offset * fragP->fr_var))))
abort ();
#endif