diff options
Diffstat (limited to 'ld/emultempl')
-rw-r--r-- | ld/emultempl/nto.em | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/emultempl/nto.em b/ld/emultempl/nto.em index f4c76f1..273502d 100644 --- a/ld/emultempl/nto.em +++ b/ld/emultempl/nto.em @@ -98,7 +98,7 @@ nto_lookup_QNX_note_section(int type) continue; /* Verify that this is a QNX note of the expected type. */ - sec->contents = bfd_malloc(sec->size); + sec->contents = xmalloc(sec->size); if (!bfd_get_section_contents (sec->owner, sec, sec->contents, (file_ptr) 0, sec->size)) einfo (_("%F%P: %pB: can't read contents of section .note: %E\n"), |