summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh
AgeCommit message (Collapse)Author
2002-10-01Patch from Stefan Allius <allius@atecom.com>:Eric Andersen
----------------------------------- In extra/Configs/Config.sh I added the INCLUDE_PTHREADS statement and change the default values for BUILD_UCLIBC_LDSO and HAVE_SHARED. ----------------------------------- In extra/scripts/initfini.pl My last patch removes two labels, which migth be used by the .size statements. (Sorry, but I'm a perl beginner) I fixed it. ----------------------------------- In libc/sysdeps/linux/common/initfini.c I fixed two warnings "nested extern declaration of `i_am_not_a_leaf.. ----------------------------------- In libc/sysdeps/linux/sh/__init_brl.c brk.c sbrk.c I fixed some compiler warnings which comes from a wrong inclusion order. -----------------------------------
2002-10-01This commit contains a patch from Stefan Allius <allius@atecom.com> to changeEric Andersen
how uClibc handles _init and _fini, allowing shared lib constructors and destructors to initialize things in the correct sequence. Stefan ported the SH architecture. I then ported x86, arm, and mips. x86 and arm are working fine, but I don't think I quite got things correct for mips.
2002-09-05Change <bits/syscall.h> to <bits/sysnum.h>.Miles Bader
2002-08-27Somehow the bit of code that add the offset of envp to argv got lostDavid McCullough
and envp was a very small number and not an address. I think this fixes most of the SH platform.
2002-08-27Fix a delay slot problem, this gets some apps working on SH, a good numberDavid McCullough
are still seg-faulting.
2002-08-27Added __kernel_fsid_t to satisfy some apps that need it.David McCullough
Definitions taken from 2.4 kernel sources for each of the platforms.
2002-08-26Make bits/kernel_types.h include guard names match the includeEric Andersen
guard names used by the kernel's asm/posix_types.h to eliminate gratuitous conflicts and let our file win over the very-likely- to-be-broken kernel header file. -Erik
2002-08-25Finish off the bits/kernel_stat.h cleanup for properEric Andersen
__USE_FILE_OFFSET64 handling. -Erik
2002-08-24Break dependancy of bits/types.h on the asm/posix_types.h kernelEric Andersen
header, which is not directly usable for many architectures. -Erik
2002-08-23Split out the definition of struct stat into the new archEric Andersen
specific bits/kernel_stat.h file. -Erik
2002-08-19Work from Stefan Allius which allows superH to use the commonEric Andersen
method for building crti.o and crtn.o
2002-08-09Fix a number of compile time warnings so that uClibc will build with -Werror ↵David McCullough
using a 3.0.4 version of the sh-linux-gcc compiler.
2002-08-09Doh! I broke it. oops. Patch from Stefan Allius to fix it.Eric Andersen
2002-08-08I reworked syscalls.h to match how I'm doing other arches. Stefan Allius andEric Andersen
Edie C. Dost has some concerns about the perl script used to general crti.o and crtn.o and added their own versions. These versions will win since they are built last,
2002-07-22Rework syscall handling. Rewrite syscall handlers for x86 and ARM.Eric Andersen
Prepare to kill the UNIFIED_SYSCALL option and instead have it be a per arch thing that is either enabled or not for that arch. -Erik
2002-04-14Manuel and I were looking into a problem with applications failing to linkEric Andersen
(undefined reference to `main') when the .o file containing main was contained in an static library(a '.a' ar archive). It turns out that due to its single pass nature, GNU ld was failing to pull it into the build. This sticks a dummy reference to main() into crt0.o, so that when an application is linked with the main() function in a static library, we can be sure that main() actually gets linked in. -Erik
2002-04-03Run dos2unix on these filesEric Andersen
2002-03-13Build our own crti.o and crtn.o with a cross arch method that IEric Andersen
can live with much better the what glibc does. -Erik
2002-03-02Remove generated stuff, restore sh/sys/procfs.h from M. R. BrownEric Andersen
2002-03-01Move syscall.h generation to the top level MakefileEric Andersen
-Erik
2002-03-01Patch from M. R. Brown <mrbrown@0xd6.org> to fix pthread supportEric Andersen
for SH, and fix vfork
2002-03-01Major rework of the include files to eliminate redundancyEric Andersen
and to better support each arch. This is a really big patch... -Erik
2002-02-13A number of naming updates in preparation for adding inEric Andersen
proper threading. Most of this is from Stefan Soucek, with additions and changes as needed from me.
2002-01-17Add sbrk and friendsDavid McCullough
Fix bug in setjmp (jmpbuf changed size)
2002-01-07Mahe 'make clean' remove generated bits/syscall.h, asEric Andersen
noted by "Kim B. Heino" <Kim.Heino@bluegiga.com> -Erik
2002-01-02Fixes from M. R. Brown <mrbrown@0xd6.org> to fixup some littleEric Andersen
compile nits with the SH architecture, and support SH4,
2002-01-02Oops. Disable threading.Eric Andersen
-Erik
2002-01-02Sync SH header files with glibc 2.2.4, so it can actually have a chanceEric Andersen
(at least in theory) of working. -Erik
2001-11-14Scrub up some lingering problems preventing readdir64 from workingEric Andersen
and creating several *64 problems, particualrly when client apps used -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64. All better now. -Erik
2001-10-04Patch from David McCullough <davidm@lineo.com>:Eric Andersen
* reduce the sigset types to 32 bits (I've mentioned this before) I think I saw this change go in for another platform anyway ;-) * Do not use _IO_FILE as it clashes with the C++ libraries which know too much about how glibc workds :-( * Do not use _G_va_list for the same reason. * remove the CTORS/DTORS from crt0.S for ARM as the compiler provided crtbegin.o and crtend.o have these (and only these) already in them and you get multiple defined errs :-(
2001-08-06Fixup the pipe system call for the SH target.David McCullough
The FD's are returned in registers.
2001-07-11Added __BEGIN_DECLS and __END_DECLS to the files that didn't haveDavid McCullough
it and that I could see needed it. Should be pretty low impact as these are only defined when using C++.
2001-06-28Changes to support autogenerated syscall.hDavid McCullough
2001-06-28sysdep.h was not providing all the needed bits to build working asm withDavid McCullough
some compilers, so define any macros we need that are not defined already. Needed to include uClibc_config.h to get some defines. New syscall header files for _mmap vfork.c is not used so ditch it.
2001-06-27the minimum needed for nowDavid McCullough
2001-06-27Yes... I forgot to update bits/dirent.h for the other archs. :-(Manuel Novoa III
2001-05-26Makefile targets to symlink arch-specific headers into include/ (onlyDavid Schleef
used on mipsel.)
2001-05-25Update for the SH port from Jean-Yves Avenard <jean-yves_avenard@hp.com>Eric Andersen
2001-05-12Ok, this should finish off my massive ro-organization. The sourceEric Andersen
tree is less messy now (which helps), all libraries are placed into uClibc/lib when compiling, all libraries now use a consistant mechanism for being built, all libraries use a consistant naming scheme where the lib name includes the uClibc version number, which makes ldconfig happy and willing to work with us. -Erik
2001-05-07Change FILENAME_MAX to be only 255. Max filename on ext2 is 255,Eric Andersen
so there is no reason to allocate 4k. Change working of execvep.c per patch from Matthias Kilian <kili@outback.escape.de> so that there is not a fixed 127 byte buffer. Too easy to overflow... -Erik
2001-04-19Bring sh and i386 longjmp implementations into syncEric Andersen
2001-04-19Remove all the __THROW macrosEric Andersen
2001-03-06Move fork to common/syscalls (with NO_MMU check). Add Makefile to sparc soManuel Novoa III
make clean works.
2001-02-22Patch from Jean-Yves Avenard to add missing siglongjmp entry andEric Andersen
fix a bug in setjmp for SH
2001-02-21Add an SH port done by Jean-Yves Avenard of Hewlett-Packard - EmbeddedEric Andersen
and Personal Systems. Thanks! -Erik