projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Automatic date update in version.in
[deliverable/binutils-gdb.git]
/
bfd
/
coff-rs6000.c
diff --git
a/bfd/coff-rs6000.c
b/bfd/coff-rs6000.c
index 2dd68e08c3b8a3c0832798f9e56ab827740fd1a0..51fab9f0536309bcc8b952e6e0b5d9eabd4f5d57 100644
(file)
--- a/
bfd/coff-rs6000.c
+++ b/
bfd/coff-rs6000.c
@@
-1260,9
+1260,9
@@
_bfd_xcoff_slurp_armap (bfd *abfd)
return FALSE;
GET_VALUE_IN_FIELD (sz, hdr.size, 10);
return FALSE;
GET_VALUE_IN_FIELD (sz, hdr.size, 10);
- if (sz
== (bfd_size_type) -1
)
+ if (sz
+ 1 < 5
)
{
{
- bfd_set_error (bfd_error_
no_memory
);
+ bfd_set_error (bfd_error_
bad_value
);
return FALSE;
}
return FALSE;
}
@@
-1322,9
+1322,9
@@
_bfd_xcoff_slurp_armap (bfd *abfd)
return FALSE;
GET_VALUE_IN_FIELD (sz, hdr.size, 10);
return FALSE;
GET_VALUE_IN_FIELD (sz, hdr.size, 10);
- if (sz
== (bfd_size_type) -1
)
+ if (sz
+ 1 < 9
)
{
{
- bfd_set_error (bfd_error_
no_memory
);
+ bfd_set_error (bfd_error_
bad_value
);
return FALSE;
}
return FALSE;
}
@@
-3389,7
+3389,8
@@
xcoff_ppc_relocate_section (bfd *output_bfd,
(info, h->root.root.string,
input_bfd, input_section,
rel->r_vaddr - input_section->vma,
(info, h->root.root.string,
input_bfd, input_section,
rel->r_vaddr - input_section->vma,
- info->unresolved_syms_in_objects == RM_GENERATE_ERROR);
+ info->unresolved_syms_in_objects == RM_DIAGNOSE &&
+ !info->warn_unresolved_syms);
if (h->root.type == bfd_link_hash_defined
|| h->root.type == bfd_link_hash_defweak)
if (h->root.type == bfd_link_hash_defined
|| h->root.type == bfd_link_hash_defweak)
This page took
0.024842 seconds
and
4
git commands to generate.