aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/vm.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2024-01-01 20:11:52 -0500
committerMike Frysinger <vapier@gentoo.org>2024-01-01 20:16:21 -0500
commit8a24c85853650c92d89d97144a768c9e225c5134 (patch)
treedba2925fb181f54d68c33521459a0deae54a6aff /sim/ppc/vm.c
parenteebc029bade8c537eeb92896291f50dd9591884e (diff)
downloadgdb-8a24c85853650c92d89d97144a768c9e225c5134.zip
gdb-8a24c85853650c92d89d97144a768c9e225c5134.tar.gz
gdb-8a24c85853650c92d89d97144a768c9e225c5134.tar.bz2
sim: ppc: change SysV sem & shm tests to compile-time
Instead of executing code to see if SysV semaphores & shared memory are available, switch to just a compile-time test. The system used to compile might not match the system used to run the code wrt the current kernel & OS settings, but the library APIs should. So move the failures from compile-time to runtime so the program is more portable, and works correctly even when cross-compiling.
Diffstat (limited to 'sim/ppc/vm.c')
0 files changed, 0 insertions, 0 deletions