sim: nltvals: localize TARGET_<ERRNO> defines
authorMike Frysinger <vapier@gentoo.org>
Wed, 7 Jul 2021 02:23:02 +0000 (22:23 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 18 Aug 2021 01:08:57 +0000 (21:08 -0400)
commit10d8e25c4d1012ffec3838bb20bbe0b369e00fc0
tree6c6103d7e324ad834959363079c9d592184023d6
parent9335d9f8235a13777ae058b1ad59f124b678f4fc
sim: nltvals: localize TARGET_<ERRNO> defines

Code should not be using these directly, instead they should be
resolving these dynamically via cb_host_to_target_errno maps.
Fix the Blackfin code and remove the defines out of the header
so no new code can rely on them.
sim/bfin/interp.c
sim/common/gentmap.c