alpha-vms: divide by zero
authorAlan Modra <amodra@gmail.com>
Mon, 27 Apr 2020 23:02:13 +0000 (08:32 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 27 Apr 2020 23:05:34 +0000 (08:35 +0930)
commit48e5bada0aa8dacfbdee9700638fb20f5c17e55f
tree0923638e34ff1fd87f4fdce47976d0c8dae4b8ad
parent251dae91074170036c1a76c5e5df1f45197d7feb
alpha-vms: divide by zero

The zero check was on the wrong operand.  And, yes, the second operand
popped is supposed to be divided by the first operand popped.

* vms-alpha.c (_bfd_vms_slurp_etir): Correct divide by zero check.
Emit warning message.
bfd/ChangeLog
bfd/vms-alpha.c