ld: replace wrong bfd_malloc in nto.em
authorClément Chigot <chigot@adacore.com>
Fri, 13 Oct 2023 14:43:32 +0000 (16:43 +0200)
committerClément Chigot <chigot@adacore.com>
Fri, 13 Oct 2023 14:50:23 +0000 (16:50 +0200)
commitb5248d602e4d42a3bf8229dd18f02989cd5b831a
treeab28af0e9d352c38d9c4a6fa10e2cca866be05e6
parent4f6f3bea520d6575cc8fec1a0b094bb455a18b85
ld: replace wrong bfd_malloc in nto.em

xmalloc should be called in ld instead of bfd_malloc.

ld/ChangeLog:

* emultempl/nto.em (nto_lookup_QNX_note_section): Replace
bfd_malloc by xmalloc.
ld/emultempl/nto.em