diff options
author | Alan Modra <amodra@gmail.com> | 2010-02-21 22:24:03 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2010-02-21 22:24:03 +0000 |
commit | 263badd715709e7ecfe7fdf4aa39d1c517a923e6 (patch) | |
tree | a84d890dc41d7224a74606021953e8bf5c5e8c9e /bfd/ChangeLog | |
parent | b487ad64e5aa3da0c80b8648f7079b5415c45a3a (diff) | |
download | gdb-263badd715709e7ecfe7fdf4aa39d1c517a923e6.zip gdb-263badd715709e7ecfe7fdf4aa39d1c517a923e6.tar.gz gdb-263badd715709e7ecfe7fdf4aa39d1c517a923e6.tar.bz2 |
* reloc.c (bfd_check_overflow): When forming addrmask, shift
fieldmask left by rightshift.
(_bfd_relocate_contents): Likewise. Use rightshift addrmask in all
overflow checks.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 4d339aa..c56c3d5 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,10 @@ +2010-02-22 Alan Modra <amodra@gmail.com> + + * reloc.c (bfd_check_overflow): When forming addrmask, shift + fieldmask left by rightshift. + (_bfd_relocate_contents): Likewise. Use rightshift addrmask in all + overflow checks. + 2010-02-20 H.J. Lu <hongjiu.lu@intel.com> * elf64-x86-64.c (elf64_x86_64_add_symbol_hook): Don't check |