The dietlibc rpms
Find a file
ensc 5ce1baa9fa This patch adds support for dynamic PAGE_SIZE values to 'dietlibc'. It is a
little bit invasive in several aspects:
it modifies the startup code. We need to know the position of the elf-info
    auxilary table which is located after 'environ'. We can not use
    'environ' directly because it might be modified by the application.
Hence, an additional __elfinfo variable is placed into .bss and filled in
    the startup code. Depending on platform, this adds 1-3 instructions and
    an additional pointer to .bss.
I tested only the i386 and x86_64 modifications; it would be nice when
    people with corresponding hardware would test the other ones. I am
    especially uncertain regarding the parisc changes.
The elf-info stuff (which might be interesting e.g. for dynamic linking or
    sysconf(_SC_CLK_TCK)) can be enabled without the dynamic pagesize too.
it removes the 'PAGE_SIZE' macro from <sys/shm.h>; this will break
    compilation of existing userspace application which are using this
    deprecated macro
I added a new internal 'dietpagesize.h' header which defines
| __DIET_PAGE_SIZE | __DIET_PAGE_SHIFT
macros. These return either builtin constants (when WANT_DYN_PAGESIZE is
    not selected), or values derived from __libc_getpagesize().
Every usage of PAGE_SIZE in dietlibc code was replaced by these macros.
due to the previous point, the internal 'struct __dirstream' was modified.
    I replaced
| getdents64(d->fd,(struct dirent64*)d->buf, sizeof (d->buf)-1);
with
| getdents64(d->fd,(struct dirent64*)d->buf, __DIRSTREAM_BUF_SIZE-1);
literally but I am not sure where the '-1' is coming from. There is one
    hunk, where this '-1' is missing so I think the '-1' should be removed
    from all calls to getdents64().
changes affect the *alloc() functions too; on x86_64 around 64 bytes where
    added to .text of alloc.o
the new testprogramm requires a 'getconf' binary which returns the correct
    values for PAGE_SIZE and CLK_TCK
2008-06-21 13:47:27 +00:00
.cvsignore updated to CVS snapshot 20080409 2008-06-21 13:45:23 +00:00
branch Initialize branch F-8 for dietlibc 2007-10-20 05:24:15 +00:00
dietlibc-0.28-setpriority.patch made nice(2) SUSv3 compliantly on x86_64 and other platforms (patch 2005-03-04 21:44:44 +00:00
dietlibc-0.29-nostackprotector.patch remove '-fstack-protector' from CLI because it uses __stack_chk_fail which 2005-10-30 14:15:03 +00:00
dietlibc-0.29-scall.patch updated to 0.29 2005-05-24 11:20:05 +00:00
dietlibc-0.30-longdouble.patch Apply GCC PR26374 workaround; enable build on PPC 2007-01-17 00:45:12 +00:00
dietlibc-0.31-defpath.patch initial checkin 2007-09-01 12:34:41 +00:00
dietlibc-0.31-pagesize.patch This patch adds support for dynamic PAGE_SIZE values to 'dietlibc'. It is a 2008-06-21 13:47:27 +00:00
dietlibc-0.31-stacksmash-dyn.patch initial checkin 2007-09-01 12:34:41 +00:00
dietlibc-0.31-stacksmash.patch initial checkin 2007-09-01 12:34:41 +00:00
dietlibc-0.31.20080212-teststdout.patch initial checkin 2008-06-21 13:08:54 +00:00
dietlibc.spec updated to CVS snapshot 20080409 2008-06-21 13:45:23 +00:00
lastver initial checkin 2007-09-01 12:34:41 +00:00
Makefile added 'cvs-sources' target 2008-06-21 13:09:50 +00:00
runtests-X.sh fixup status output; made it a bash script 2008-06-21 13:13:48 +00:00
sources updated to CVS snapshot 20080409 2008-06-21 13:45:23 +00:00
verinfo initial checkin 2007-09-01 12:34:41 +00:00