libucontext/arch
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
..
aarch64 aarch64: move to C trampoline 2020-12-12 06:43:58 +00:00
arm arm: move to C trampoline 2020-12-12 06:40:27 +00:00
common x86_64: add common trampoline code written in C, port to it 2020-12-11 23:04:47 -07:00
m68k m68k: port to use common trampoline 2020-12-12 00:17:26 -06:00
mips mips: add freestanding port 2020-12-06 06:34:56 -07:00
mips64 mips64: add freestanding port 2020-12-06 06:24:50 -07:00
ppc ppc, ppc64: tag global symbols as functions 2021-01-08 04:27:27 +01:00
ppc64 ppc, ppc64: tag global symbols as functions 2021-01-08 04:27:27 +01:00
riscv64 riscv64: port to C trampoline 2020-12-12 00:08:48 -07:00
s390x s390x: add freestanding port 2020-12-06 12:37:08 +00:00
sh sh: use new common trampoline 2020-12-12 06:08:33 +00:00
x86 x86: port to use common trampoline 2020-12-12 06:32:01 +00:00
x86_64 x86_64: add common trampoline code written in C, port to it 2020-12-11 23:04:47 -07:00