Applied Coldfire patch from Jody McIntyre:
- Make the fdopen workaround blackfin-specific (not needed on Coldfire.)
- getdents01: gcc 2.95 does not like declarations in the middle
of functions, so move getdents to the top.
- Add LDFLAGS to the following Makefiles:
- Add -D_USC_LIB_ for Coldfire builds to the following Makefiles: creat,
execve, fchdir, kill, mkdir, open, rename, rmdir, sched_setscheduler,
vhangup, ipc/lib. This avoids symbol conflicts reported by gcc 2.95.
- Skip the following syscall tests on Coldfire: madvise, mlock, munlock.
These system calls are not implemented.
- IPC: Modify the headers and Makefiles to avoid duplicate definitions of
msgkey on Coldfire.
- msgctl08, msgctl09: Lower MAXNPROCS to a value that will fit in the
Coldfire's memory.
- mallopt01: Define __MALLOC_STANDARD__ on Coldfire.
- Skip mmap01 on Coldfire since it requires sbrk(), which is not available.
- rename02: Remove private do_file_setup and use the library version to avoid
symbol conflicts.
- kill07: Declare semkey as extern on Coldfire to avoid symbol conflicts.
- kill11: Move *msg declaration since gcc 2.95 does not understand C99.
- sigaction01: Move -lc in the Makefile after -lpthread.
26 files changed