aboutsummaryrefslogtreecommitdiff
path: root/libctf/ctf-hash.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-02-28 12:35:44 +1030
committerAlan Modra <amodra@gmail.com>2020-02-28 13:26:30 +1030
commit1b088c829ee812003d7601c7cf458dd394598719 (patch)
treee93c2827d0998074c7250f7f7de39ecda3340f65 /libctf/ctf-hash.c
parente5da11393a16416afc0c0a1da9914b6424f37fa8 (diff)
downloadgdb-1b088c829ee812003d7601c7cf458dd394598719.zip
gdb-1b088c829ee812003d7601c7cf458dd394598719.tar.gz
gdb-1b088c829ee812003d7601c7cf458dd394598719.tar.bz2
alpha-vms: large memory allocation
This patch simplifies reading of image headers. It's really not worth trying to avoid re-reading a 12 byte buffer and then read in VMS_BLOCK_SIZE chunks, better just to throw the buffer away and use _bfd_malloc_and_read which does checks against file size. * vms-alpha.c (alpha_vms_object_p): Use _bfd_malloc_and_read. Remove duplicate undersize check.
Diffstat (limited to 'libctf/ctf-hash.c')
0 files changed, 0 insertions, 0 deletions