* reloc.c (bfd_check_overflow): When forming addrmask, shift
authorAlan Modra <amodra@gmail.com>
Sun, 21 Feb 2010 22:24:03 +0000 (22:24 +0000)
committerAlan Modra <amodra@gmail.com>
Sun, 21 Feb 2010 22:24:03 +0000 (22:24 +0000)
commit263badd715709e7ecfe7fdf4aa39d1c517a923e6
treea84d890dc41d7224a74606021953e8bf5c5e8c9e
parentb487ad64e5aa3da0c80b8648f7079b5415c45a3a
* reloc.c (bfd_check_overflow): When forming addrmask, shift
fieldmask left by rightshift.
(_bfd_relocate_contents): Likewise.  Use rightshift addrmask in all
overflow checks.
bfd/ChangeLog
bfd/reloc.c