summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/m68k
Commit message (Collapse)AuthorAgeFilesLines
* clean up O_CLOEXEC handlingMike Frysinger2009-10-161-0/+1
| | | | | | | | Drop the "#ifndef O_CLOEXEC" cruft, enable O_CLOEXEC in most fcntl.h headers, and import __ASSUME_O_CLOEXEC from glibc. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* trim Experimentally off and uncommented hiddenAustin Foxley2009-09-181-1/+0
| | | | | | | | sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *) sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *) should be a nop Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* honour NO_LONG_DOUBLE_MATHBernhard Reutner-Fischer2009-09-031-0/+4
| | | | | | | | | This fixes compilation errors on hosts that turn off long double support for C99 like powerpc32. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* m68k syscall: switch to common codeMaxim Kuvyrkov2009-08-193-204/+69
| | | | | | Signed-off-by: Maxim Kuvyrkov <maxim@codesourcery.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* add missing UTIME_* defines for *at funcsMike Frysinger2009-08-191-1/+6
| | | | | | | I always forget that many arches have their own bits/stat.h ... Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* enable nanosecond stat support for everyoneMike Frysinger2009-08-192-14/+8
| | | | | | | | | | | | | | Fill out the stat structure so that the nanosecond resolution support is always available. There is a small code size increase for a few ports (three additional assignments in xstatconv), but otherwise everything should remain the same. While we're here, punt __old_kernel_stat from the few headers that still define it as it is unused in uClibc and causes compile errors after these nanosecond changes. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* byteswap: unify common definitionsMike Frysinger2009-08-191-40/+10
| | | | | | | | | | The majority of the byteswap functions are the same across all arches, so setup a common header to provide definitions if they don't exist. This allows arches to override only the ones they actually want to implement with inline assembly. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* build: Include Makefile.commonarch from common Makefile.inCarmelo Amoroso2009-07-291-2/+0
| | | | | | | | Avoid including akefile.commonarch in each Makefile.arch. Include it instead from Makefile.in just after the arch specific Makefile.arch Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* uClibc_arch_features: sync defines between portsMike Frysinger2009-07-091-0/+6
| | | | | | | | Make sure each arch has the same complete list to make comparing between them easier. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Synch with trunk @ 24160Carmelo Amoroso2008-11-274-11/+93
| | | | | | Step 14: miscellaneous merge for arch specific files in libc/sysdeps. Comments, cleanup, formatting, hidden_proto removal and others.
* Synch with trunk at rev 22997.Carmelo Amoroso2008-07-313-18/+18
| | | | | | | Basically trailing whitespaces removal, fix non standard keywords asm -> __asm__ inline -> __inline__ and some minor changes on trunk. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Signed-off-by: Khem Raj <raj.khem@gmail.com>Khem Raj2008-07-111-2/+2
| | | | | | | | | | | | Hush compiler for extern inline warnings by using __extern_inline macro, this also makes gcc 4.3 happy. warning: C99 inline functions are not supported; using GNU89 warning: to disable this warning use -fgnu89-inline or the gnu Also fix this other warning. warning: missing braces around initializer warning: (near initialization for '_stdio_streams[0].__lock.__
* Synch libc powerpc/arm/sh64/m68k/alpha/microblaze/i960/vax/e1 specific with ↵Carmelo Amoroso2008-06-186-23/+34
| | | | trunk
* Merge from trunk."Steven J. Hill"2006-12-1610-58/+74
|
* When you delete a '1' does it become '0' or tri-stated?"Steven J. Hill"2006-12-162-301/+0
|
* Copy from trunk."Steven J. Hill"2006-12-161-0/+64
|
* Big fricking merge from trunk, but an easy one."Steven J. Hill"2006-08-245-85/+165
|
* Removal as per trunk."Steven J. Hill"2006-08-221-64/+0
|
* Merge from trunk."Steven J. Hill"2006-08-211-3/+0
|
* Merge from trunk."Steven J. Hill"2006-08-181-2/+2
|
* Merge from trunk."Steven J. Hill"2006-08-185-25/+28
|
* Merge from trunk."Steven J. Hill"2006-06-182-3/+18
|
* Merge from trunk."Steven J. Hill"2006-02-2817-207/+318
|
* Big fricking merge from trunk."Steven J. Hill"2006-01-073-8/+12
|
* Merge from trunk."Steven J. Hill"2005-12-022-88/+9
|
* Sync up with trunk."Steven J. Hill"2005-11-192-1/+2
|
* Massive merge from trunk."Steven J. Hill"2005-11-181-3/+24
|
* Copy from trunk."Steven J. Hill"2005-11-161-0/+35
|
* Copy from trunk."Steven J. Hill"2005-11-161-0/+18
|
* Merge from trunk."Steven J. Hill"2005-10-301-39/+27
|
* Big, huge fricking merge. Peter, if you touch the build system again I'm ↵"Steven J. Hill"2005-10-041-4/+3
| | | | going to smash your keyboard.
* change the reg class so it actually compilesMike Frysinger2005-03-161-1/+1
|
* merge the syscalls and punt the glibc import in the process (blah, what a ↵Mike Frysinger2005-03-161-136/+154
| | | | waste of time that was :D)
* get rid of linux-headers hack ... rip code from glibcMike Frysinger2005-03-161-7/+169
|
* no more cvsMike Frysinger2005-02-121-1/+0
|
* merge parallel build supportMike Frysinger2005-01-251-4/+5
|
* Patch from Bernardo Innocenti:Eric Andersen2005-01-111-1/+2
| | | | Remove use of cast-as-l-value extension, removed in GCC 3.5.
* Patch from Peter S. Mazinger to consistantly use "ASFLAGS"Eric Andersen2004-12-221-4/+7
| | | | as the flags for all calls to 'as'
* s/___brk_addr/__curbrk/gEric Andersen2004-07-301-2/+2
| | | | | | | | Some utilities, such as valgrind, have a legitimate reason to know the address of the current brk. Since we know such utils will peek under our skirt, we might as well give them what they expect and not use a gratuitously different symbol name. -Erik
* __data_start needs to be added to all crt0.S files that don't currentlyEric Andersen2004-05-141-0/+9
| | | | have it. It is used by the boehm gc, amoung other things.
* Kill off the now obsolete __libc_vfork symbolEric Andersen2004-05-141-3/+0
|
* Cope with gcc 3.4's more aggressive persuit of attribute unusedEric Andersen2004-04-201-3/+3
|
* Sigh. The 2.6.x kernel removed '__kernel_dev_t' and renamed it asEric Andersen2004-02-061-0/+1
| | | | | | | | | '__kernel_old_dev_t'. And of course there is no good way to know which is in use except checking linux/version.h. Grumble. This is rather lame, but for now, define __kernel_old_dev_t to be the same as __kernel_dev_t. This will want to be revisited soon. -Erik
* s/UCLIBC_HAS_MMU/ARCH_HAS_MMU/gEric Andersen2004-01-161-1/+1
|
* Remove SAFECFLAGS. It was a workaround for failures in old awk scriptEric Andersen2003-11-221-8/+2
| | | | | | | | | | used to generate the crti.S and crtn.S files. Since we don't use that anymore, keeping the workaround makes no sense. Furthermore, in most cases, SAFECFLAGS was not picking up all the needed flags, causing crti.o and crtn.o to not be built PIC. Which is very bad. Removing SAFECFLAGS and using CFLAGS fixes that as well.
* Darn. Fix compilation for soft-float, which I inadvertantlyEric Andersen2003-11-081-0/+4
| | | | broke a couple of days ago. :-(
* Continue the conversion to using per-arch crti.S and crtn.SEric Andersen2003-11-053-1/+79
|
* Arthur Shipkowski, art ! videon-central ! com, writes:Eric Andersen2003-11-051-0/+3
| | | | | | | | | | | | | | | | | | | | | | I've noticed a few people have posted over the last year about problems compiling programs that use vfork when pthreads are involved. Some detective work turned up that ptfork.c aliases vfork to fork and then tries to call the original fork as __libc_fork. This patch removes the aliasing when there is no MMU present, and uses the same call semantics to call __libc_vfork. I then added a symbol to the m68k vfork.S to allow vfork to be called as __libc_vfork. The same bug exists in the uClibc CVS, and with a possible tweak this patch should go through there as well. Obviously, all other platforms need __libc_vfork as a workable means to call vfork in order for this to work for them. Let me know if there are any problems with this patch. Art Shipkowski Videon Central Software Engineer (814)235-1111 x307
* Peter Kjellerstedt writes:Eric Andersen2003-10-181-4/+2
| | | | | | | | | | ln.patch: * Define $(LN) as ln in Rules.mak. * Change all occurrences of ln into $(LN). * Change all constructs like (cd path && ln -sf foo/file file) into $(LN) -sf foo/file path/file. The latter construct is already used in a number of places so it should not be an additional compatibility problem.
* Peter Kjellerstedt writes:Eric Andersen2003-10-181-3/+3
| | | | | | | rm.patch: * Define $(RM) as rm -f in Rules.mak and test/Rules.mak (this is the same definition as gmake uses by default). * Change all occurrences of rm and rm -f into $(RM).