X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=bfd%2Fvms-alpha.c;h=4e6f9c1c429c0dc539843fd4b8466896bbfa5efc;hb=809f9153986595498fbb59e547ea4e75a94a50f6;hp=8f22a31ae5d4470100e5e5d0302d952e93d590af;hpb=706704c88344314646e4edcc0840cb18a9cb4c82;p=external%2Fbinutils.git diff --git a/bfd/vms-alpha.c b/bfd/vms-alpha.c index 8f22a31..4e6f9c1 100644 --- a/bfd/vms-alpha.c +++ b/bfd/vms-alpha.c @@ -1,5 +1,5 @@ /* vms.c -- BFD back-end for EVAX (openVMS/Alpha) files. - Copyright (C) 1996-2018 Free Software Foundation, Inc. + Copyright (C) 1996-2019 Free Software Foundation, Inc. Initial version written by Klaus Kaempf (kkaempf@rmi.de) Major rewrite by Adacore. @@ -4094,7 +4094,10 @@ _bfd_vms_write_etir (bfd * abfd, int objtype ATTRIBUTE_UNUSED) { /* Output rest of section. */ if (curr_addr > section->size) - _bfd_error_handler (_("size error in section %pA"), section); + { + _bfd_error_handler (_("size error in section %pA"), section); + return FALSE; + } size = section->size - curr_addr; sto_imm (abfd, section, size, curr_data, curr_addr); curr_data += size;