History log of /seL4-test-master/projects/musllibc/src/thread/__syscall_cp.c
Revision Date Author Comments
# 8a8fdf63 11-Nov-2015 Rich Felker <dalias@aerifal.cx>

eliminate use of SHARED macro to suppress visibility attributes

this is the first and simplest stage of removal of the SHARED macro,
which will eventually allow libc.a and libc.so to be produced from the
same object files.

the original motivation for these #ifdefs which are now being removed
was to allow building a static-only libc using a compiler that does
not support visibility. however, SHARED was the wrong condition to
test for this anyway; various assembly-language sources refer to
hidden symbols and declare them with the .hidden directive, making it
wrong to define the referenced symbols as non-hidden. if there is a
need in the future to build libc using compilers that lack visibility,
support could be moved to the build system or perhaps the __PIC__
macro could be checked instead of SHARED.


# 7405cd1e 14-Apr-2015 Rich Felker <dalias@aerifal.cx>

fix inconsistent visibility for internal syscall symbols


# d96b12b7 06-Jul-2014 Rich Felker <dalias@aerifal.cx>

rework cancellation weak alias logic not to depend on archive order

if the order of object files in the static archive libc.a was not
respected by the linker, the old logic could wrongly cause POSIX
symbols outside of the ISO C namespace to be pulled into pure C
programs. this should not happen with well-behaved linkers, but
relying on the link order was a bad idea anyway.

files are renamed to better reflect their contents now that they don't
need names to control their order as members in the archive file.