USE_MMAP
Krister Walfridsson
cato@df.lth.se
Thu Jul 1 00:00:00 GMT 1999
Is USE_MMAP in bfd meant to be used? NetBSD's toolchain is defining it,
and it causes some trouble for at least nm on a.out platforms.
The problem is that nm gets a pointer to minisyms in display_rel_file().
The minisyms are memory mapped, but nm wants to free() the memory anyway.
What is the correct way to solve it? Don't use USE_MMAP? Add #ifdef USE_MMAP
in nm too? Add some kind of release_minisymbols() to bfd?
/Krister
More information about the Binutils
mailing list