aboutsummaryrefslogtreecommitdiff
path: root/sim/common/callback.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-07-06 22:10:53 -0400
committerMike Frysinger <vapier@gentoo.org>2021-10-31 04:31:28 -0400
commita7e40a99318c46ec57a9c0a64c622b6ec0ed89ff (patch)
tree85e48ec389ff5f1d3b5a60289517a558cc2937e0 /sim/common/callback.c
parentf9cd2be59c1c1d56d95a191f82298ee92cf41231 (diff)
downloadgdb-a7e40a99318c46ec57a9c0a64c622b6ec0ed89ff.zip
gdb-a7e40a99318c46ec57a9c0a64c622b6ec0ed89ff.tar.gz
gdb-a7e40a99318c46ec57a9c0a64c622b6ec0ed89ff.tar.bz2
sim: nltvals: pull target errno out into a dedicated source file
The current system maintains a list of target errno constants in the nltvals.def file, then runs a build-time tool to turn that into a C file. This list of errno values is the same for all arches, so we don't need the arch-specific flexibility. Further, these are only for newlib/libgloss environments, which makes it confusing to support other userland runtimes (like Linux). Let's simplify to make this easier to understand & build. We don't namespace the variables yet, but sets up the framework for it. Create a new target-newlib-errno.c template file. The template file is hand written, but the inline map is still automatically generated. This allows us to move it to the common set of objects so it's only built once in a multi-target build. Now we can remove the output from the gentmap build-time tool since it's checked into the tree. Then we stop including the errno lists in nltvals.def since nothing uses it.
Diffstat (limited to 'sim/common/callback.c')
0 files changed, 0 insertions, 0 deletions