about summary refs log tree commit diff
path: root/src/dirent
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2017-10-13 10:39:51 -0400
committerRich Felker <dalias@aerifal.cx>2017-10-13 10:39:51 -0400
commitb3516058eb9ff9e52a8720f0e5c0f6936cce6047 (patch)
tree9503c6a8b1ed28f1dc70cf0f560283f69316eff2 /src/dirent
parente364774d7ca0a78db1b8457d5094b747eb2df318 (diff)
downloadmusl-b3516058eb9ff9e52a8720f0e5c0f6936cce6047.tar.gz
musl-b3516058eb9ff9e52a8720f0e5c0f6936cce6047.tar.xz
musl-b3516058eb9ff9e52a8720f0e5c0f6936cce6047.zip
for executing init array functions, use function type with prototype
this is for consistency with the way it's done in in the dynamic
linker, avoiding a deprecated C feature (non-prototype function
types), and improving code generation. GCC unnecessarily uses the
variadic calling convention (e.g. clearing rax on x86_64) when making
a call where the argument types are not known for compatibility with
wrong code which calls variadic functions this way. (C on the other
hand is clear that such calls have undefined behavior.)
Diffstat (limited to 'src/dirent')
0 files changed, 0 insertions, 0 deletions