Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

some longstanding fixes/enhancements #2

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

tenchman
Copy link
Contributor

Hi,

i'm not really interested in dietlibc's future anymore that much. But here are some of my patches i've made long time ago. Maybe you'll find them useful.

The asctime() function shall convert the broken-down time in the
structure pointed to by timeptr into a string in the form:

Sun Sep 16 01:03:52 1973\n\0

See: http://pubs.opengroup.org/onlinepubs/009695399/functions/asctime.html
Remove bogus __attribute_malloc__ declaration from asprintf, since the
return type is not a pointer.
From MALLOC(3)

If ptr is NULL, then the call is equivalent to malloc(size),
for *all* values of size.
* include missing syscalls from ../syscalls.s
* remove ../syscalls.s/time.S since x86_64 has its own __time.S
* fix location of gettimeofday.S
This doesn't actually mean that gnuhash is now functional, this fixes
just the value of DT_GNU_HASH.
Fix unified_syscall so that dynamix linking produces working binaries.
Tested only with 'diet-dyn' so far.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant