diff options
author | Alan Modra <amodra@gmail.com> | 2019-12-29 12:56:04 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2019-12-29 21:26:00 +1030 |
commit | 401e101e0274d401e90e50cd8280a9ff36006477 (patch) | |
tree | 7a797ef98020d2b66871201201e48de5ca38d57d /bfd/ChangeLog | |
parent | 37d2e9c7b10e298403640fdd38a50fedae8525b2 (diff) | |
download | gdb-401e101e0274d401e90e50cd8280a9ff36006477.zip gdb-401e101e0274d401e90e50cd8280a9ff36006477.tar.gz gdb-401e101e0274d401e90e50cd8280a9ff36006477.tar.bz2 |
ubsan: alpha-vms: shift exponent is too large
* vms-alpha.c (_bfd_vms_slurp_egsd): Make base_addr a bfd_vma.
Limit alignment power. Correct and simplify alignment expression.
(evax_bfd_print_relocation_records): Avoid signed shift left.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 807dc07..a1e5273 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,11 @@ 2019-12-29 Alan Modra <amodra@gmail.com> + * vms-alpha.c (_bfd_vms_slurp_egsd): Make base_addr a bfd_vma. + Limit alignment power. Correct and simplify alignment expression. + (evax_bfd_print_relocation_records): Avoid signed shift left. + +2019-12-29 Alan Modra <amodra@gmail.com> + * vms-misc.c (_bfd_vms_save_sized_string): Add abfd param, make size a size_t. Use bfd_alloc rather than bfd_malloc. (_bfd_vms_save_counted_string): Similarly. |