libucontext/arch/ppc
Daniel Kolesa 6026980cac ppc, ppc64: tag global symbols as functions
it is necessary to tag these symbols as functions otherwise the
linker gets confused; this previously manifested as the internal
functions (pre-rename) like __getcontext leaking into the symbol
table of things linked against libucontext that used the ucontext
POSIX API through the weak aliases

it also had another bad effect and that is if you tried to use
libucontext's API (post-rename), the linker would warn you during
compile time that the type is unknown, and the resulting program
would crash at runtime

after properly tagging everything, I no longer notice any leakage,
i.e. there don't seem to be any references to the aliased symbols
in the resulting symbol table when using the aliases, and using
the libucontext prefixed symbols directly also works
2021-01-08 04:27:27 +01:00
..
defs.h ppc: fix build with libucontext_ namespacing changes 2020-12-06 14:04:22 +00:00
getcontext.S ppc, ppc64: tag global symbols as functions 2021-01-08 04:27:27 +01:00
makecontext.c ppc: fix build with libucontext_ namespacing changes 2020-12-06 14:04:22 +00:00
retfromsyscall.c update copyright statements, add mailmap 2020-03-27 09:23:49 +00:00
setcontext.S ppc, ppc64: tag global symbols as functions 2021-01-08 04:27:27 +01:00
startcontext.S everywhere: rename __setcontext to libucontext_setcontext 2020-12-06 03:03:07 -06:00
swapcontext.S ppc, ppc64: tag global symbols as functions 2021-01-08 04:27:27 +01:00