projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename get_longjmp_target to m68k_get_longjmp_target. Update all m68k
[deliverable/binutils-gdb.git]
/
bfd
/
coff-mips.c
diff --git
a/bfd/coff-mips.c
b/bfd/coff-mips.c
index bb4b15e96c244170ae0d05922d0ee7e37e3ffa9f..dd7ace5ecdd3f545eb46b4b944aa30cfd93dece4 100644
(file)
--- a/
bfd/coff-mips.c
+++ b/
bfd/coff-mips.c
@@
-1,5
+1,5
@@
/* BFD back-end for MIPS Extended-Coff files.
/* BFD back-end for MIPS Extended-Coff files.
- Copyright 1990, 91, 92, 93, 94, 95, 96, 97, 98,
1999
+ Copyright 1990, 91, 92, 93, 94, 95, 96, 97, 98,
99, 2000
Free Software Foundation, Inc.
Original version by Per Bothner.
Full support added by Ian Lance Taylor, ian@cygnus.com.
Free Software Foundation, Inc.
Original version by Per Bothner.
Full support added by Ian Lance Taylor, ian@cygnus.com.
@@
-910,7
+910,7
@@
mips_gprel_reloc (abfd,
reloc_entry->address += input_section->output_offset;
/* Make sure it fit in 16 bits. */
reloc_entry->address += input_section->output_offset;
/* Make sure it fit in 16 bits. */
- if (
val >= 0x8000 && val < 0xffff
8000)
+ if (
(long) val >= 0x8000 || (long) val < -0x
8000)
return bfd_reloc_overflow;
return bfd_reloc_ok;
return bfd_reloc_overflow;
return bfd_reloc_ok;
@@
-2505,7
+2505,7
@@
static const struct ecoff_backend_data mips_ecoff_backend_data =
(unsigned (*) PARAMS ((bfd *,PTR,PTR))) bfd_void, /* reloc_out */
mips_ecoff_swap_filehdr_out, mips_ecoff_swap_aouthdr_out,
mips_ecoff_swap_scnhdr_out,
(unsigned (*) PARAMS ((bfd *,PTR,PTR))) bfd_void, /* reloc_out */
mips_ecoff_swap_filehdr_out, mips_ecoff_swap_aouthdr_out,
mips_ecoff_swap_scnhdr_out,
- FILHSZ, AOUTSZ, SCNHSZ, 0, 0, 0, 0, FILNMLEN, true, false, 4,
+ FILHSZ, AOUTSZ, SCNHSZ, 0, 0, 0, 0, FILNMLEN, true, false, 4,
false, 2,
mips_ecoff_swap_filehdr_in, mips_ecoff_swap_aouthdr_in,
mips_ecoff_swap_scnhdr_in, NULL,
mips_ecoff_bad_format_hook, _bfd_ecoff_set_arch_mach_hook,
mips_ecoff_swap_filehdr_in, mips_ecoff_swap_aouthdr_in,
mips_ecoff_swap_scnhdr_in, NULL,
mips_ecoff_bad_format_hook, _bfd_ecoff_set_arch_mach_hook,
This page took
0.02364 seconds
and
4
git commands to generate.