Changeset 2448
- Timestamp:
- Nov 15, 2005, 4:40:28 AM (20 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 2 deleted
- 31 edited
- 5 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile
r2447 r2448 742 742 mkdir -p $(PATH_BUILTTOOLS)/bin $(PATH_BUILTTOOLS)/lib $(PATH_BUILTTOOLS)/include $(PATH_BUILTTOOLS)/omfhack 743 743 744 $(PATH_BUILTTOOLS)/bin/dllar.cmd $(PATH_BUILTTOOLS_TMP)/bin/dllar.cmd: $(PATH_TOP)/src/misc/dllar.cmd745 cp $< $@746 744 $(PATH_BUILTTOOLS)/omfhack/ranlib.exe $(PATH_BUILTTOOLS_TMP)/omfhack/ranlib.exe: $(PATH_TOP)/tools/bin/true.exe 747 745 cp $< $@ … … 997 995 for dir in $(GCC_CONFIGURE_DIRS); do \ 998 996 echo $$dir; \ 999 if $(MAKE) $(MAKEOPT) -j 1 $(@:gcc-autoconf-%=%) -f $(PWD)/config.gmk -C src/$$dir ; then \997 if $(MAKE) $(MAKEOPT) -j 1 $(@:gcc-autoconf-%=%) -f $(PWD)/config.gmk -C $$dir ; then \ 1000 998 true; \ 1001 999 else \ … … 1013 1011 # let the build/bootstrap create the gcc import .def file before kicking off a build. 1014 1012 gcc-bootstrap gcc-build: gcc/gcc/config/i386/emx-libgcc_so_d.def 1015 gcc/gcc/config/i386/emx-libgcc_so_d.def: libc/src/lib /libgcc_d.awk $(PATH_OBJD)/emx/omf/libc.def libc/src/lib/libc.def1016 $(GAWK) -f libc/src/lib /libgcc_d.awk $(filter %.def,$^) > $@1013 gcc/gcc/config/i386/emx-libgcc_so_d.def: libc/src/libc/libgcc_d.awk $(PATH_OBJD)/libc/omf/libc.def libc/src/libc/libc.def 1014 $(GAWK) -f libc/src/libc/libgcc_d.awk $(filter %.def,$^) > $@ 1017 1015 1018 1016 … … 1023 1021 # For the 2nd stage we need a hack for using the right specs when linking... 1024 1022 #SPEC_HACK = $(if $(wildchar $(PATH_OBJ)/.all-stage1),\ 1025 # -specs $(PATH_TOP)/libc/src/lib /libc.specs, \1023 # -specs $(PATH_TOP)/libc/src/libc/libc.specs, \ 1026 1024 # -specs $(PATH_TOP)/tools/x86.os2/gcc/staged/lib/gcc-lib/i386-pc-os2-emx/$(GCC_VERSION)/specs) 1027 1025 SPECS_HACK = … … 1096 1094 gcc-builtunix-stage2: 1097 1095 $(MAKE) $(MAKEOPT) -C $(PATH_OBJ)/gcc prefix=$(PATH_BUILTTOOLS_TMPD) install 1098 ## cp $(PATH_TOP)/libc/src/lib /libc.specs $(PATH_OBJ)/gcc/gcc/specs1096 ## cp $(PATH_TOP)/libc/src/libc/libc.specs $(PATH_OBJ)/gcc/gcc/specs 1099 1097 1100 1098 … … 1166 1164 endif 1167 1165 for dir in $(BINUTILS_CONFIGURE_DIRS); do \ 1168 if $(MAKE) $(MAKEOPT) -j 1 $(@:binutils-autoconf-%=%) -f $(PWD)/config.gmk -C src/$$dir ; then \1166 if $(MAKE) $(MAKEOPT) -j 1 $(@:binutils-autoconf-%=%) -f $(PWD)/config.gmk -C $$dir ; then \ 1169 1167 true; \ 1170 1168 else \ … … 1372 1370 emx-build emx-install: 1373 1371 mkdir -p $(PATH_OBJ)/emx 1374 $(MAKE) $(MAKEOPT) - C $(PATH_TOP)/emx -f $(MAKEFILE) $@-it1372 $(MAKE) $(MAKEOPT) -f $(PATH_TOP)/emx/Makefile.gmk -C $(PATH_TOP)/emx -f $(MAKEFILE) $@-it 1375 1373 1376 1374 emx-build-it: 1377 $(MAKE) $(MAKEOPT) -j 1 - C $(PATH_TOP)/emx $(EMX_DEFINES) tools1378 $(MAKE) $(MAKEOPT) - C $(PATH_TOP)/emx $(EMX_DEFINES) all1375 $(MAKE) $(MAKEOPT) -j 1 -f $(PATH_TOP)/emx/Makefile.gmk -C $(PATH_TOP)/emx $(EMX_DEFINES) tools 1376 $(MAKE) $(MAKEOPT) -f $(PATH_TOP)/emx/Makefile.gmk -C $(PATH_TOP)/emx $(EMX_DEFINES) all 1379 1377 1380 1378 emx-install-it: 1381 $(MAKE) $(MAKEOPT) - C $(PATH_TOP)/emx $(EMX_DEFINES) INS=$(ALL_PREFIX)/ install1379 $(MAKE) $(MAKEOPT) -f $(PATH_TOP)/emx/Makefile.gmk -C $(PATH_TOP)/emx $(EMX_DEFINES) INS=$(ALL_PREFIX)/ install 1382 1380 1383 1381 … … 1388 1386 # Install the compiled emx stuff to builtunix. 1389 1387 emx-builtunix-stage2: 1390 $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/emx $(EMX_DEFINES) INS=$(PATH_BUILTTOOLS_TMP)/ install1388 $(MAKE) $(MAKEOPT)-f $(PATH_TOP)/emx/Makefile.gmk -C $(PATH_TOP)/emx $(EMX_DEFINES) INS=$(PATH_BUILTTOOLS_TMP)/ install 1391 1389 1392 1390 # Quick bootstrap workers. 1393 1391 emx-quick: 1394 GCCLOAD=3 $(MAKE) $(MAKEOPT) - C $(PATH_TOP)/emx $(EMX_DEFINES) all1392 GCCLOAD=3 $(MAKE) $(MAKEOPT) -f $(PATH_TOP)/emx/Makefile.gmk -C $(PATH_TOP)/emx $(EMX_DEFINES) all 1395 1393 1396 1394 emx-quick-install: 1397 $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/emx $(EMX_DEFINES) INS=$(PATH_BUILTTOOLS)/ install1395 $(MAKE) $(MAKEOPT)-f $(PATH_TOP)/emx/Makefile.gmk -C $(PATH_TOP)/emx $(EMX_DEFINES) INS=$(PATH_BUILTTOOLS)/ install 1398 1396 1399 1397 … … 1441 1439 1442 1440 libc-build-it: 1443 $(MAKE) $(MAKEOPT) -j 1 - C $(PATH_TOP)/libc $(LIBC_DEFINES) tools1444 $(MAKE) $(MAKEOPT) - C $(PATH_TOP)/libc $(LIBC_DEFINES) all1441 $(MAKE) $(MAKEOPT) -j 1 -f $(PATH_TOP)/libc/Makefile.gmk -C $(PATH_TOP)/libc $(LIBC_DEFINES) tools 1442 $(MAKE) $(MAKEOPT) -f $(PATH_TOP)/libc/Makefile.gmk -C $(PATH_TOP)/libc $(LIBC_DEFINES) all 1445 1443 1446 1444 libc-install-it: 1447 $(MAKE) $(MAKEOPT) - C $(PATH_TOP)/libc $(LIBC_DEFINES) INS=$(ALL_PREFIX)/ install1445 $(MAKE) $(MAKEOPT) -f $(PATH_TOP)/libc/Makefile.gmk -C $(PATH_TOP)/libc $(LIBC_DEFINES) INS=$(ALL_PREFIX)/ install 1448 1446 1449 1447 … … 1454 1452 # Install the compiled libc stuff to builtunix. 1455 1453 libc-builtunix-stage2: 1456 $(MAKE) $(MAKEOPT) - C $(PATH_TOP)/libc $(LIBC_DEFINES) INS=$(PATH_BUILTTOOLS_TMP)/ install1454 $(MAKE) $(MAKEOPT) -f $(PATH_TOP)/libc/Makefile.gmk -C $(PATH_TOP)/libc $(LIBC_DEFINES) INS=$(PATH_BUILTTOOLS_TMP)/ install 1457 1455 1458 1456 # Quick bootstrap workers. 1459 1457 libc-quick: 1460 GCCLOAD=3 $(MAKE) $(MAKEOPT) -f $(PATH_TOP)/libc/ libonly.gmk -C $(PATH_TOP)/libc $(LIBC_DEFINES) all1458 GCCLOAD=3 $(MAKE) $(MAKEOPT) -f $(PATH_TOP)/libc/Makefile.gmk -C $(PATH_TOP)/libc $(LIBC_DEFINES) all 1461 1459 1462 1460 libc-quick-install: 1463 $(MAKE) $(MAKEOPT) -f $(PATH_TOP)/libc/ libonly.gmk -C $(PATH_TOP)/libc $(LIBC_DEFINES) INS=$(PATH_BUILTTOOLS)/ install1461 $(MAKE) $(MAKEOPT) -f $(PATH_TOP)/libc/Makefile.gmk -C $(PATH_TOP)/libc $(LIBC_DEFINES) INS=$(PATH_BUILTTOOLS)/ install 1464 1462 1465 1463 … … 1572 1570 cp $(PATH_TOP)/doc/COPYING.LIB $(ALL_PREFIX)/doc/GCC-$(GCC_VERSION) 1573 1571 cp $(PATH_TOP)/doc/COPYING $(ALL_PREFIX)/doc/GCC-$(GCC_VERSION) 1574 # cp $(PATH_TOP)/ChangeLog $(ALL_PREFIX)/doc/GCC-$(GCC_VERSION)/ChangeLog.os21575 1572 cp $(PATH_TOP)/libc/ChangeLog.LIBC $(ALL_PREFIX)/doc/GCC-$(GCC_VERSION) 1576 cp $(PATH_TOP)/src/misc/MakeOmfLibs.cmd $(ALL_PREFIX)/lib 1577 cp $(PATH_TOP)/src/misc/dllar.cmd $(ALL_PREFIX)/bin 1578 cp $(PATH_TOP)/src/misc/gccenv.cmd $(ALL_PREFIX)/bin 1573 cp $(PATH_TOP)/emx/ChangeLog.emx $(ALL_PREFIX)/doc/GCC-$(GCC_VERSION) 1579 1574 1580 1575 -
trunk/binutils/gas/as.c
r2447 r2448 224 224 225 225 #ifdef BFD_ASSEMBLER 226 fprintf (stderr, _("GNU assembler version %s (%s) using BFD version %s (Innotek Build 2005-11-15 0 2:02)"),226 fprintf (stderr, _("GNU assembler version %s (%s) using BFD version %s (Innotek Build 2005-11-15 03:52)"), 227 227 VERSION, TARGET_ALIAS, BFD_VERSION_STRING); 228 228 #else … … 546 546 /* This output is intended to follow the GNU standards document. */ 547 547 #ifdef BFD_ASSEMBLER 548 printf (_("GNU assembler %s (Innotek Build 2005-11-15 0 2:02)\n"), BFD_VERSION_STRING);548 printf (_("GNU assembler %s (Innotek Build 2005-11-15 03:52)\n"), BFD_VERSION_STRING); 549 549 #else 550 printf (_("GNU assembler %s (Innotek Build 2005-11-15 0 2:02)\n"), VERSION);550 printf (_("GNU assembler %s (Innotek Build 2005-11-15 03:52)\n"), VERSION); 551 551 #endif 552 552 printf (_("Copyright 2002 Free Software Foundation, Inc.\n")); -
trunk/emx/ChangeLog.emx
r2446 r2448 2 2 3 3 TODO: open replace on RAMFS fails with error 32! 4 5 2004-11-14: knut st. osmundsen <bird-gccos2-spam@anduin.net> 6 - ChangeLog.emx: 7 o Renamed and cleaned out all the libc stuff. 8 o Reorganizing the repository. 4 9 5 10 2005-11-12: knut st. osmundsen <bird-gccos2-spam@anduin.net> … … 7 12 o Fixed problems with symbol truncation. 8 13 Kudos to Yuri for tracking down the places which required attention. 9 - libc:10 o Committed the getdirents implementation (forgot to add it apparently).11 o Created proper backend for fcntl removing F_GETOSFD in the process. Using12 fcntl to set O_NONBLOCK on sockets works now.13 o Fixed a generic error handling bug in ioctl, write, read, dup and dup14 which was causing incorrect errnos.15 o Changed line buffer from 512 to 8192 bytes in _response().16 o Corrected shmat to return -1 instead of NULL on failure.17 o Fixed bug in the sigsuspend (includes pause ++) handling,18 would usually never return.19 20 2005-10-31: knut st. osmundsen <bird-gccos2-spam@anduin.net>21 - libc:22 o Fixed sharedpm problem on legacy systems. (Thanks to Andrew Below23 for pointing it out.)24 25 2005-10-26: knut st. osmundsen <bird-gccos2-spam@anduin.net>26 - libc:27 o Implemented getdirents().28 29 2005-09-26: knut st. osmundsen <bird-gccos2-spam@anduin.net>30 - libc:31 o Implemented __libc_Back_ioFHToPath using __LIBC_FH::pszNativePath.32 33 2005-09-25: knut st. osmundsen <bird-gccos2-spam@anduin.net>34 - libc:35 o Implemented fchdir().36 o Implemented inheritance of open directory handles. Unfortunately,37 I ran out of size bits for the bundle type, so the SPM bit is no38 longer compatible with earlier versions. The consequences39 of this are related to inheritance and signaling - so recompile!40 14 41 15 2005-08-28: knut st. osmundsen <bird-gccos2-spam@anduin.net> 42 - libc:43 o Reworked the open backend, adding directory support. Some O_*44 flags was changed in the process, breaking the old ABI.45 This is not fully tested.46 o Added more BSD fields to struct stat, breaking the old ABI.47 The mtime field and ctime fields will now keep the same values48 and the creation time is to be found in birthtime. This means that49 ctime will be updated in a few places where it doesn't on unix - but50 this is probably better than previously where it wasn't ever updated51 when it should.52 o Removed forwarder dlls since struct stat, O_* and __LIBC_FH is53 soon going to be incompatible with rc1 and older versions.54 16 - version.smak: 55 17 o Changed version number back to 3.3.5 / 0.6 rc2. 56 57 2005-08-27: knut st. osmundsen <bird-gccos2-spam@anduin.net>58 - libc:59 o Fixed lot's of unix attribute (in EA) handling.60 o Started preparing for open() to work on directories so61 fchdir() can be implemented and opendir reimplemented.62 This will break libsocket backwards compatability.63 o Added _hstrdup.64 o Fixed two cases where the signal semaphore was incorrectly unlocked65 after signalDeliver().66 o Don't try the '.exe' too early on executables (exec/spawn), this broke67 execution of './configure' and other scripts with no extension.68 69 2005-08-24: knut st. osmundsen <bird-gccos2-spam@anduin.net>70 - libc:71 o Fixed bad panic format types in safesems.72 18 73 19 2005-08-21: knut st. osmundsen <bird-gccos2-spam@anduin.net> … … 75 21 o Default stack size set to 1MB. 76 22 The old defaults were 8MB (emxbind) and 8KB (emxomfld). 77 - libc:78 o Filled in the NULLs in sys_signame and sys_siglist.79 o Added __libc_Back_gfProcessHandleHashBangScripts and80 __libc_Back_gfProcessHandlePCBatchScripts for use in shells which81 can handle such scripts more efficiently than libc.82 o Fixed some bugs related to finding the interpreter in the spawn/exec backend.83 o Merged the signal semaphore handling into the safe sems and84 made signals use them instead.85 o Tried to workaround the race conditions in __libc_Back_safesemEvSleep/Wakeup.86 These might affect SysV sems.87 o Corrected the declarations of _DLL_InitTerm.88 89 2005-08-20: Lorne Sunley <lsunley@mb.sympatico. >90 - libc:91 o Added OBJ_FORK to the allocations in sysv_shm.92 93 2005-08-20: knut st. osmundsen <bird-gccos2-spam@anduin.net>94 - libc:95 o Define _EMX_SOURCE (__USE_EMX) along with _BSD_SOURCE and _SVID_SOURCE as96 defaults in features.h.97 o Protect the fork operations by the means of must complete so98 signals won't interrupt us till we're finished. This might leave99 unkillable processes around if fork goes highwire.100 o Better exception logging during fork.101 o Use MMX memcpy in fork (if supported).102 o The C function __libc_Back_processFork() replaces the pure assembly __fork().103 o Added _memcpy_amd.104 o Fixed some logging statements in sharedpm.c.105 o Log __fmutex_release_internal_must_complete.106 o Corrected a few prototypes in process.h to use pid_t.107 108 2005-08-13: knut st. osmundsen <bird-gccos2-spam@anduin.net>109 - libc:110 o Added SH_COMPAT to share.h and emulate it as SH_DENYNO (just like watcom).111 The SH_COMPAT shareing mode is not available to OS/2 processes, only DOS / os2krnl.112 113 2005-08-02: knut st. osmundsen <bird-gccos2-spam@anduin.net>114 - libc:115 o __libc_back_fsNativeFileModeSet(): The long set api is broken116 in 14.103b & c (at least) so avoid it where it isn't strictly required.117 23 118 24 2005-07-24: knut st. osmundsen <bird-gccos2-spam@anduin.net> 119 - libos2:120 o Added some missing INCL_DOSERRORS #defines (very odd ones).121 25 - emximp: 122 26 o Fixed bad done string allocation. … … 125 29 o Switched back to alloca and adding 23 MB of stack. 126 30 127 2005-07-21: knut st. osmundsen <bird-gccos2-spam@anduin.net>128 - libc:129 o unistd.h prototype of encrypt() shall return void not int.130 o Fixed __USE_GNU tests in ftw.h and sys/dirent.h.131 132 31 2005-07-17: knut st. osmundsen <bird-gccos2-spam@anduin.net> 133 - libc:134 o LIBC_ASSERT*() are for internal libc errors, LIBCLOG_ERROR*() are135 for user related error. Big code adjustements.136 o Fixed a few smaller issues.137 o Started fixing exec() backend.138 o Fixed some more mktime / localtime bugs.139 o Fixed crash on simple LIBC_ASSERT() caused by NULL format string.140 o Generate device numbers for devices and pipes too.141 o Fixed mixup of Dev and Inode during filehandle inheritance.142 o Fixed __dup and __dup2 bug in relation to the FD_CLOEXEC clearing.143 o Fixed bug in codepage normalization during setlocale().144 o Fixed bug in regex where the lock was overwritten after initialization.145 o Switch the glibc locks to smutex to avoid leaking event semaphores.146 o Added _smutex_try_request().147 o Fixed __libc_back_fsResolve to always set fInUnixTree so the result can148 be adjusted correctly on failure as well.149 32 - version.smak: 150 33 o Changed version number back to 3.3.5 / 0.6 rc1. 151 152 2005-07-11: knut st. osmundsen <bird-gccos2-spam@anduin.net>153 - libos2:154 o UniStrFromUcs added and UniStrToUcs to uconv.h.155 Added UniStrFromUcs, UniStrToUcs, UniMalloc and UniFree to unicode.imp.156 157 2005-07-10: knut st. osmundsen <bird-gccos2-spam@anduin.net>158 - libc:159 o Replaced BSD regex with the new GLIBC implementation.160 o Fixed two bad bugs in the handling of the list of free161 SPM notification structures.162 o Moved the codeset standardization up a bit so nl_langinfo163 and setlocale reports the same codeset.164 165 2005-07-06: knut st. osmundsen <bird-gccos2-spam@anduin.net>166 - libc:167 o Changed utimes() to allow NULL pointer parameter.168 Please note that BSD will crash in if you try it there.169 o Renamed the BSD setmode to bsd_setmode and put back the170 PC setmode.171 172 2005-07-05: knut st. osmundsen <bird-gccos2-spam@anduin.net>173 - libc:174 o Fixed spawn/fork + fork() + exec/spawn/fork in the child.175 o Kill any known decentants to prevent them from being176 adopted by our parent. (On UNIX processes begin made177 orphants are adopted and killed by the init process.)178 o Added signal handler types for POSIX, BSD and GNU conformance.179 o Reap embryos when the waiter thread is querying spm about180 the death certificate. This, together with a tiny fix181 in __spawnve() cures the bad spm process leaks when spawning182 non-libc processes seen with make when building libc.183 184 2005-07-04: knut st. osmundsen <bird-gccos2-spam@anduin.net>185 - libc:186 o Added the BSD optreset global to getopt.187 o Changed PC setmode to _setmode. As it collides with a BSD 4.4. interface.188 o Added the BSD 4.4. setmode/getmode functions from FreeBSD.189 o Added getsid and getpgid, correcting the getpgrp implementation.190 o Added/replaced setbuf, setbuffer and setlinebuf from BSD.191 192 2005-07-03: knut st. osmundsen <bird-gccos2-spam@anduin.net>193 - libc:194 o Collected the different panic routines into one single routine195 in the backend, __libc_Back_panic[V](). The routine supports196 very simple printf like message formatting. By default it wil197 dump any available registers and attempt dumping the process198 before killing it. This behaviour can be configured with the199 env var.: LIBC_PANIC=[nodump][terse][quiet][breakpoint]200 201 2005-07-02: knut st. osmundsen <bird-gccos2-spam@anduin.net>202 - libc:203 o Added obstack.h and it's implementation from GLIBC.204 o malloc and realloc must set errno to ENOMEM on failure.205 o Fixed assertion during realloc(p, -256) to return failure206 instead. Added a few more overflow checks.207 o Added %m (GLIBC extension) to the printf familiy. %m means208 priting strerror(errno), it takes no arguments.209 o Fixed serveral bugs in the C/POSIX locale210 o Implemented the LC_MESSAGES locale.211 o Fixed mixup in fts.c port.212 o Replaced the EMX ftw with the BSD one so we implement the SuS specs.213 o Clear FD_CLOEXEC on the handle returned by dup, dup2 and fcntl(F_DUPFD,,).214 o Fixed a buffer size validation bug in the backend for getcwd and215 friends. Was requiring a byte to much.216 o Updated some TCPIP headers with GLIBC __USE_MISC #includes. (more to go)217 o sys/fcntl.h shall include sys/stat.h in XSI mode.218 o Added stpncpy from GLIBC.219 o Added sys/builtin.h to sys/smutex.h.220 o Updated features.h and sys/gnu/cdefs.h with more recent versions from cvs.221 o Ported from GLIBC 2.3.x CVS.222 o Fixed some waitid() and waitpid() problems related to stopping and resuming children.223 o Updated argz.h because of bustage caused by new cdefs.h (THROW).224 - libcrypt:225 o Created stub library.226 - version.smak, libc.smak:227 o Back to betas, beta6 now.228 229 2005-07-01: knut st. osmundsen <bird-gccos2-spam@anduin.net>230 - libc:231 o Made isinf[lf] return -1 for negative infinity like GLIBC does.232 o Added prototypes for nan[lf] to math.h, gcc inlines these.233 o Ported GLIBC argp and getopt (argp requires the GLIBC one).234 This means no optreset anylonger.235 o Some corrections / hacks in the weak_alias departement.236 o Shopped missing math stuff from GLIBC.237 o Added fpu_control.h, ieee754.h and endian.h from the GLIBC tradition.238 239 2005-06-30: knut st. osmundsen <bird-gccos2-spam@anduin.net>240 - libc:241 o Added fwide() (dummy until LIBC07).242 o Renamed struct _FILE to struct __sFILE to match BSD.243 o Added wait.h for GLIBC compatability, content is #include <sys/wait.h>.244 o Added _D_EXACT_NAMLEN and _D_ALLOC_NAMLEN macros to sys/dirent.h to245 make GLIBC code happy.246 o Added REG_NOERROR to regex.h to make GLIBC code happy.247 o The three default heap handles can be duplicates of one another, this248 could cause deadlocks in certain cases usually involing tiled memory.249 o Added asprintf() and vasprintf().250 o Added get_current_dir_name() (GLIBC extension).251 o Added the strdupa() and strndupa() GLIBC extensions. These are macros252 use alloca() to allocate the memory for the string.253 o Added the getdelim() and getline() GLIBC extensions.254 o Added getlogin_r() (still just a fake).255 o Added TEMP_FAILURE_RETRY() macro to unistd.h. This is yet another GLIBC hack.256 257 2005-06-29: knut st. osmundsen <bird-gccos2-spam@anduin.net>258 - *:259 o Fixed stack alignment, it must be 16 bytes not 4!260 o Fixed bustage caused by the include cleanup.261 - libc:262 o Added ieeefp.h and functions from FreeBSD - this is263 the SysV/386 FP control interface. (inline only)264 o Added fgets_unlocked and gets_unlocked.265 266 2005-06-28: knut st. osmundsen <bird-gccos2-spam@anduin.net>267 - *:268 o Released v0.6 beta 5.269 o Changed versions to v0.6 rc1.270 o Created the libc06b5 forwarder dll.271 - libc:272 o Added _NSIG and making NSIG and _NSIG equal to SIGRTMAX + 1.273 o Added memrawchr and strchrnul from glibc, enabling us to shop .S274 files from glibc at the same time.275 o On glibc lot's of limits.h stuff is included from direct.h because of276 need for NAME_MAX, let's do something similar.277 o Corrected MAXNAMLEN / d_name field length.278 34 279 35 2005-06-27: knut st. osmundsen <bird-gccos2-spam@anduin.net> … … 285 41 o Kicked out all the old weak handling (from early 3.2.2 alphas). 286 42 287 2005-06-26: knut st. osmundsen <bird-gccos2-spam@anduin.net>288 - libc:289 o Added [__]isinf[fl] which seems to have been mislaid during the290 math source import.291 o Rewrote the libcXXXX.dll install rule to not play with emxload since292 emxload sticks around when first loaded.293 o Made unsetenv() cause tzset reload just like putenv() and setenv().294 o Changed putenv() behaviour for removal (no '=' in input) to be identical295 to unsetenv(). This solves duplicate variable testcase.296 o Changed filestreams opened for both reading and writing to switch297 more willingly between read and write mode.298 o Made sscan() return EOF on EOF.299 o Made sscan() skip blanks in input for '%%'.300 o Implemented the stdio_unlocked stuff with BSD and GLIBC extension.301 TODO: Require a new locktype which support recursive usage! Currently302 a hack using 8 free flag bits is used.303 o Corrected realpath() behaviour to return the path up to the failure304 point on error. _realrealpath() also does this now.305 (This also saves us a temp buffer and a copy of the result.)306 o Fixed a bug in the handling of ".." in the path resolver.307 o Extended that path resolver to check the directoryness of the input308 according to flags and any trailing slashes.309 o Change the path resolver to be very strict about UNC - UNC have exactly310 two slashes at the start of the path.311 312 2005-06-25: knut st. osmundsen <bird-gccos2-spam@anduin.net>313 - libc:314 o Fixed SIGINT and similar issues with fork().315 TODO: LIBC signals depending on 16-bit OS/2 signals will316 still cause trouble, this needs fixing.317 o Extended the fmutex error message.318 o Fixed regression in the fmutex must completion code (bad fs handling).319 320 2005-06-23: knut st. osmundsen <bird-gccos2-spam@anduin.net>321 - libc:322 o Fixed some more incorrectness of the 'C' locale, it only323 defines the first 128 chars.324 o Build hack for math.h.325 o Updated sys/stat.h, sys/resource.h and sys/_types.h to326 FreeBSD 5.3 level.327 o btowc(): WEOF is 32-bit, wchar_t is 16.328 o *printf(): wide char support.329 o sysctl(): Changed the boottime alogrithm.330 o strxfrm(): Corrected the return values.331 o __ftime(): Corrected regression causing the time to be 35 years wrong.332 o strftime(): Added C99 %F.333 o strptime(): Fixed a few parsing and calculation bugs.334 335 2005-06-19: knut st. osmundsen <bird-gccos2-spam@anduin.net>336 - libc:337 o File resize optimization: The JFS, HPFS and probably NET338 will never return space which isn't zeroed when expanding339 a file. Associate a file system information object with the340 filehandles to keep track of such features. This also fixes341 the fsStatFH() implementation trouble.342 This attribute doesn't apply to CDFS. While RAMFS fails343 the test, it zeros at open but not at setfilesize.344 o Fixed invalid inode and dev numbers for new files, was passing345 the wrong path around.346 347 2005-06-13: knut st. osmundsen <bird-gccos2-spam@anduin.net>348 - libc:349 o Auto init fmutexes.350 o Fixed potential deadlock the first time a must-complete351 fmutex was entered.352 o Replaced mktemp and mkstemp with BSD versions. Also adding353 mkstemps, mkdtemp, arc4random, arc4random_addrandom and354 arc4random_stir.355 o Limited the namespace pollution caused by machine/param.h356 (included by sys/param.h which is used by lot's of tcpip headers).357 Define _BSD_NAMESPACE_POLLUTION to get it all.358 o Fixed bug in getitimer/setitmer, it didn't zero the old value struct359 if the timer wasn't running.360 o Fixed a bug in __ftime(), the time was jolting around.361 362 2005-06-12: knut st. osmundsen <bird-gccos2-spam@anduin.net>363 - libc:364 o Changed the LIBC_PATHREADWRITERS to a generic LIBC_HOOK_DLLS.365 See src/emx/src/lib/sys/hooks.c for details.366 367 2005-06-11: knut st. osmundsen <bird-gccos2-spam@anduin.net>368 - libc:369 o The smallcnv stuff is gone, waste of space since we're not really into370 static linking. Should've done this when switching to gdtoa.371 o Ported the msun and some other math bits from current FreeBSD libc.372 This mostly replaces the EMX math, except for some double long variants373 and some EMX specific ones. This is a risky change, but it's needed374 if we're gonna catch up on the C99 bits and make libstdc++ happy.375 There are some new headers, complex.h and fenv.h being the importan ones.376 float.h have gotten some updates while math.h is totally replaced.377 More than 100 standard functions were added!378 NOTE: msun is using MATH_ERREXCEPT (math_errhandling) and not379 MATH_ERRNO for error reporting.380 I really hope this is not gonna uncover more OS/2 387 mess.381 o Handle .cmd, .bat, .btm and hash-bang script files if DosExecPgm()382 fails. (I'm a little bit uncertain about argv[0], but it appears to work.)383 384 43 2005-06-05: knut st. osmundsen <bird-gccos2-spam@anduin.net> 385 - libc:386 o the setitimer backend was making incorrect assumptions about the387 HTIMER range - NULLHANDLE is valid for HTIMER. Changed it to use ~0U388 as invalid handle. (untested)389 o Default TCPIP mode is __USB_LIBC_TCPIP. When either TCPV40HDRS or TCPV41HDRS390 are defined we are in strict mode and __USB_LIBC_TCPIP will not be defined.391 44 - libomflib, emxomfar: 392 45 o Allow multiple modules by the same basename. This is not in tradition with … … 401 54 old ld and fixup the binutils port! 402 55 403 2005-05-08: knut st. osmundsen <bird-gccos2-spam@anduin.net>404 - libc:405 o Added _getenv_[int|long|longlong]. Using this for LIBC_THREAD_MIN_STACK_SIZE.406 o Ported the BSD SysV Semaphore module.407 o Added a signal notification callback to the thread structure.408 o Changed tcpip term callback to more generic exitlist callback (SPM).409 o Ported the BSD SysV Shared Memory module.410 411 2005-05-05: knut st. osmundsen <bird-gccos2-spam@anduin.net>412 - libc:413 o Added fts.h and ported the BSD implementation.414 It's not 100% correct since we're lacking fchdir and cannot open415 directories - will update it when this is in place.416 o Disabled the UF_ and SF_ defines in sys/stat.h since we don't have st_flags.417 o Added mkfifo (stub).418 o Added lutimes and futimes, replacing __utimes.419 420 2005-05-01: knut st. osmundsen <bird-gccos2-spam@anduin.net>421 - libc:422 o Fixed incorrect d_type returned by readdir and readdir_r.423 o Changed chdir() to unix style, added _chdir_os2() as a backwards compatible424 api. _chdir2() and chdir() are operating identically now.425 o Fixed several incorrect/incomplete path resolve cases. Some causing426 invalid ino values.427 o Unlock the libc DLL before installing it (cp, make or someone might be using it).428 o Unix root rewrite rule ends it's pszTo with a slash, this caused429 two slashes and thus UNC trouble.430 o Quick rewrite of access() (also affects eaccess()) to work in chroot environment.431 o Added O_BINARY to all opens in bsd/db.432 433 56 2005-04-30: knut st. osmundsen <bird-gccos2-spam@anduin.net> 434 57 - libmoddef: … … 436 59 - weakld: 437 60 o Fixed incorrect .def-file parse error message. 438 - sys/param.h:439 o Added MAXBSIZE, BKVASIZE and BKVAMASK which are used by some BSD tools.440 - libc:441 o Added fchmod and reimplemented chmod and lchmod. Still missing FS level442 unix attribute handling, but this is a start.443 444 2005-04-25: knut st. osmundsen <bird-gccos2-spam@anduin.net>445 - libc:446 o Added the sysctl interface from BSD. Not all values are447 supported, nor are we compatible with tcpip41 sysctl yet.448 449 2005-04-24: knut st. osmundsen <bird-gccos2-spam@anduin.net>450 - libc:451 o Fixed bug in getfsstate(). (df from coreutils works now!)452 o Implemented process priority management. Added nice(), setpriority()453 and getpriority() in the process.454 o Added process enumeration and access function to sharedpm.455 61 456 62 2005-04-23: knut st. osmundsen <bird-gccos2-spam@anduin.net> 457 63 - emxomf: 458 64 o Refined the 'G' hack fixing globals in the text segment. 459 - libc:460 o Added cs:eip to the abnormal termination message. (signals.c)461 o Default stack size 512KB when caller specifies 0. (beginthr.c)462 o Use the env.var. LIBC_THREAD_MIN_STACK_SIZE value as a byte count463 specifying the minimum stack size. When not specified minium size464 defaults to 4096. (beginthr.c)465 o Added the libsocket and libsyslog libraries to the libc IMPORT library.466 There are now two sets of libc_dll.a/lib libraries, one for tcpipv4 and467 one for tcpipv41+ (default).468 o Added nanosleep() and changed usleep() and sleep() to use it.469 o Added wmemcpy(), wmemset(), wmemcmp(), wmemchr() and wmemmove(). (untested)470 o Added SUN/HP/RTLinux api gethrtime() as a wrapper around the DosTmr* apis.471 o Rewrote atexit() fixing problem with the callbacks calling exit() recursivly472 and adding on_exit().473 o Added stdio_ext.h and implemented __fpending() and __fbufsize().474 (Just to make coreutils easier to port.)475 476 2005-03-23: knut st. osmundsen <bird-gccos2-spam@anduin.net>477 - src/lib/sys/__spawnve.c:478 o Fixed double free of pFS (should've been pSig).479 Thanks for froloff.480 481 2005-03-19: knut st. osmundsen <bird-gccos2-spam@anduin.net>482 - 386/builtin.h:483 o Fixed serveral bugs in the atomic inc/dec functions.484 Added a testcase for these.485 - libc:486 o Fixed various typos in the socket per process counting. Thanks to487 nickk for point these out.488 65 489 66 2005-03-13: knut st. osmundsen <bird-gccos2-spam@anduin.net> 490 67 - version.smak: 491 68 o 6b4 -> 6b5. 492 493 - libc:494 o Implemented socket duplication.495 o Fixed various socket close & fork bugs.496 o Applied parts of tcpipver patches from Lorne and Froloff.497 o Fixed various UNC trouble reported by David.498 o Fixed open problem in DosEx.499 o Fixed incorrect pool allocation in DosEx.500 o Fixed missing free pool item in DoxEx - *big* leak.501 o Fixed TID/PID mixup when calling DosVerifyPidTid() from fmutex wait loop.502 o Applied patch from Nickk for broken settimeofday().503 o Moved iconv into LIBC.504 o Ported GLIBC intl and made it a part of LIBC.505 o Implemented -Zargs-wild and -Zargs-resp crt0 variations.506 o Added support for single quoted arguments. (pray this doesn't screw up...)507 o Replaced the __atod implementation with the NETLIB gdtoa implementation508 used by BSD. (The old routine kept hitting assertions.)509 o Created libc06a4 forwarder dll.510 511 - libiconv, libdl, libm:512 o Made these empty stub libraries.513 69 514 70 - emxomf: … … 517 73 getopt_long(,,"l::", NULL, NULL) solves the problem. 518 74 519 - testcases:520 o Testcases for various new problems/code.521 522 2005-02-01: knut st. osmundsen <bird-gccos2-spam@anduin.net>523 - libc:524 o Fixed bogus bubble sort in setlocale/LC_COLLATE.525 526 2005-01-31: knut st. osmundsen <bird-gccos2-spam@anduin.net>527 - libc:528 o Applied readdir_r() errno fix from Lorne.529 o Fixed lstat() backend on request from Lorne.530 531 2005-01-30: knut st. osmundsen <bird-gccos2-spam@anduin.net>532 - libc:533 o Applies setlocale patch from Lorne which fixes two bugs in LC_COLLATE.534 535 2005-01-28: knut st. osmundsen <bird-gccos2-spam@anduin.net>536 - libc:537 o Applied setlocale patch from Lorne.538 o Faked the C99 lconv additions by copying the local ones.539 540 2005-01-16: knut st. osmundsen <bird-gccos2-spam@anduin.net>541 - libos2:542 o Added SafeDosStartSession from Dmitry Froloff.543 - libc:544 o Fixed year problem in settimeofday.545 o Check if fxsave/fxrstor is supported before using them in fork().546 ASSUMES cpuid eax=1 works on all targets.547 o Implemented nl_langinfo(CODESET).548 o Added bunch a of ASCII codeset name conversions.549 o Fixed bug in socket inherit over exec/spawn. Thanks to Froloff.550 o Forgot to take the signal semaphore when receiving a signal551 from the 16bit handler. Thanks to Froloff.552 o rmdir errno fix from Lorne.553 o rmdir shall fail on symlink.554 o rmdir shall return ENOTDIR if the path isn't a directory (but exists).555 o Fixed setlocale(LC_ALL/LC_MONETARY, "C").556 o Changed the process reaper to use internal signal api to skip some overhead.557 o Fixed a return path from signal raise where the signal sem wasn't558 released. (The out of queue node hang.)559 - libsocket:560 o os2_select: Fixed a couple of filehandle conversion bugs. Thanks to Froloff.561 o soclose shouldn't return EBADF but ENOSOCK according to the specs.562 - libsocket, libc:563 o Return ENOSOCK instead of ENOSYS when attempting socket operation on filehandle.564 565 566 2005-01-??: knut st. osmundsen <bird-gccos2-spam@anduin.net>567 - libc:568 o Fixed problem with fork'ed children beliving they were569 still forking after fork() returned. (DLL load issue)570 o Fixed signal queue node leak. Thanks to Lorne.571 572 2004-12-20: knut st. osmundsen <bird-gccos2-spam@anduin.net>573 - libc:574 o Added inode and dev calculation for fstat and stat.575 TODO: save unix EAs. opendir d_fileno?576 o Ported all string/w* functions from FreeBSD except wcsxfrm.c.577 578 2004-12-12: knut st. osmundsen <bird-gccos2-spam@anduin.net>579 - os2emx.h:580 o Corrected define of NP_NBLK. (thanks to froloff)581 - __mcount:582 o Export stub in all builds but the profiling build.583 - libdl:584 o Removed and stubbed it (install). It's all in LIBC now.585 TODO: make libm and libdl stubbing in LIBC!586 75 587 76 2004-12-09: knut st. osmundsen <bird-gccos2-spam@anduin.net> 588 - waitpid(), waitid(), wait(), wait4(), wait3(),589 __libc_Back_processWait():590 o Fixed missing WNOHANG handling.591 Created waitpid-1.c testcase in testcase/misc for this problem.592 o Clearified error codes ECHILD and EINVAL, use the waitpid() specs.593 594 77 - ChangeLog.Libc: 595 78 o Created this file. -
trunk/gcc/gcc/config/i386/emx-libgcc_so_d.def
r2447 r2448 1 1 ; Auto-generated file, DO NOT EDIT!!! (see libgcc_d.awk) */ 2 LIBRARY libc06 b5INITINSTANCE TERMINSTANCE2 LIBRARY libc06r2 INITINSTANCE TERMINSTANCE 3 3 EXPORTS 4 4 EXPORTS -
trunk/gcc/gcc/version.c
r2447 r2448 7 7 organization's name in parentheses at the end of the string. */ 8 8 9 const char version_string[] = "3.3.5 (Innotek Build 2005-11-15 0 2:02)";9 const char version_string[] = "3.3.5 (Innotek Build 2005-11-15 03:52)"; 10 10 11 11 /* This is the location of the online document giving instructions for -
trunk/libc/Makefile.gmk
r2447 r2448 85 85 A = .$(if $(findstring omf,$(.TKIND)),lib,a) 86 86 87 # Use the tool we built.88 GETTOOL ?= $.$(TOOLFMT)/$1$E89 # Use the tool we built if present90 GETTOOL2 ?= `test -f '$.$(TOOLFMT)/$1$E' && echo '$.$(TOOLFMT)/'`$1$E91 92 87 # The C compiler 93 88 CC = gcc -c -Zmt -fmessage-length=0 … … 97 92 endif 98 93 CFLAGS.INC += -Isrc/include 99 CFLAGS.INC += -Isrc/ libc/bsd/include94 CFLAGS.INC += -Isrc/fbsdlibc/include 100 95 CFLAGS = -Wall -Wundef -Wmissing-prototypes -mstack-arg-probe $(CFLAGS.INC) $(CFLAGS.$(MODE)) $(CFLAGS.KIND) 101 96 # The additional C compiler flags for different build modes … … 152 147 153 148 # emxbind tool 154 EMXBIND = $(call GETTOOL2,emxbind)149 EMXBIND = emxbind 155 150 # emxbind flags 156 151 EMXBINDFLAGS = -bq $(EMXBINDFLAGS.$(MODE)) … … 172 167 173 168 # The tool to create an archive 174 AR = $(if $(findstring .lib,$@), $(call GETTOOL2,emxomfar),ar)169 AR = $(if $(findstring .lib,$@), emxomfar,ar) 175 170 ARFLAGS = crs 176 171 DO.LIBRARY = $(call RM,$@); $(AR) $(ARFLAGS)$1 $@ $(^O) … … 179 174 # removing unused stuff (like empty lines and comments) 180 175 # and sorting alphabetically (looks nicer). 181 EMXEXP = $(call GETTOOL2,emxexp)176 EMXEXP = emxexp 182 177 EMXEXPFLAGS = -u 183 178 DO.EMXEXP = $(EMXEXP) $(strip $(EMXEXPFLAGS) $1) | sed -e "/^$$/d" -e "/^ *;/d" | sort -d >>$2 184 179 185 180 # The tool to create import libraries 186 IMPLIB = $(call GETTOOL2,emximp)181 IMPLIB = emximp 187 182 IMPLIBFLAGS.prof = -m 188 183 IMPLIBFLAGS.lazy = -l … … 208 203 # or not. Unfortunately make isn't up to the job of figuring this out, so we 209 204 # must use the shell. 210 EMXOMF = $(call GETTOOL2,emxomf)205 EMXOMF = emxomf 211 206 DO.EMXOMF = $(EMXOMF) $(strip $1 -o) $@ $(if $<,$<, $(subst /omf-prof/,/aout-prof/,$(subst /omf-log/,/aout-log/,$(subst /omf/,/aout/,$(@:.obj=.o)))) ) 212 207 … … 294 289 #------------ Submakefiles ------------ 295 290 ifndef SUBMAK 296 SUBMAK := version.smak $( wildcard src/*/*.smak) include/include.smak $(wildcard bsd/*/*.smak) $(wildcard gnu/*/*.smak)291 SUBMAK := version.smak $(filter-out $(wildcard src/msun/*.smak),$(wildcard src/*/*.smak)) include/include.smak $(wildcard bsd/*/*.smak) $(wildcard gnu/*/*.smak) 297 292 endif 298 293 -
trunk/libc/src/fbsdlibc/db/db.smak
r2446 r2448 1 libc.TSRC += $(wildcard src/ libc/bsd/db/btree/*.c)2 libc.TSRC += $(wildcard src/ libc/bsd/db/db/*.c)3 libc.TSRC += $(wildcard src/ libc/bsd/db/hash/*.c)4 libc.TSRC += $(wildcard src/ libc/bsd/db/mpool/*.c)5 libc.TSRC += $(wildcard src/ libc/bsd/db/recno/*.c)1 libc.TSRC += $(wildcard src/fbsdlibc/db/btree/*.c) 2 libc.TSRC += $(wildcard src/fbsdlibc/db/db/*.c) 3 libc.TSRC += $(wildcard src/fbsdlibc/db/hash/*.c) 4 libc.TSRC += $(wildcard src/fbsdlibc/db/mpool/*.c) 5 libc.TSRC += $(wildcard src/fbsdlibc/db/recno/*.c) -
trunk/libc/src/fbsdlibc/gdtoa/gdtoa.smak
r2446 r2448 1 libc.TSRC += $(filter-out %arithchk.c,$(wildcard src/ libc/bsd/gdtoa/*.c)) \2 $(addprefix src/ libc/bsd/gdtoa/glue/, machdep_ldisx.c _hdtoa.c _ldtoa.c glue.c)1 libc.TSRC += $(filter-out %arithchk.c,$(wildcard src/fbsdlibc/gdtoa/*.c)) \ 2 $(addprefix src/fbsdlibc/gdtoa/glue/, machdep_ldisx.c _hdtoa.c _ldtoa.c glue.c) 3 3 libc.TDEP += 4 4 5 5 # make everything depend on arith.h. 6 $(filter-out %arithchk.c,$(wildcard src/ libc/bsd/gdtoa/*.c)): $.arith.h6 $(filter-out %arithchk.c,$(wildcard src/fbsdlibc/gdtoa/*.c)): $.arith.h 7 7 8 8 # generate arith.h. … … 11 11 12 12 # build arith.h generator. 13 $.arithchk.exe: src/ libc/bsd/gdtoa/arithchk.c13 $.arithchk.exe: src/fbsdlibc/gdtoa/arithchk.c 14 14 $(LD) $(CFLAGS:-Iinclude=) $(CFLAGS.dbg) $(LDFLAGS.dbg) $(LDFLAGS.aout) -o $@ $< 15 15 -
trunk/libc/src/fbsdlibc/gen/gen.smak
r2446 r2448 1 libc.TSRC += $(wildcard src/ libc/bsd/gen/*.c)1 libc.TSRC += $(wildcard src/fbsdlibc/gen/*.c) -
trunk/libc/src/fbsdlibc/i386/i386.smak
r2446 r2448 1 libc.TSRC.386 += $(wildcard src/ libc/bsd/i386/*/*.c) $(wildcard src/libc/bsd/i386/*/*.S)1 libc.TSRC.386 += $(wildcard src/fbsdlibc/i386/*/*.c) $(wildcard src/fbsdlibc/i386/*/*.S) -
trunk/libc/src/fbsdlibc/locale/locale.smak
r2446 r2448 1 libc.TSRC += $(wildcard src/ libc/bsd/locale/*.c)1 libc.TSRC += $(wildcard src/fbsdlibc/locale/*.c) -
trunk/libc/src/fbsdlibc/net/net.smak
r2446 r2448 1 libc.TSRC += $(wildcard src/ libc/bsd/net/*.c)1 libc.TSRC += $(wildcard src/fbsdlibc/net/*.c) -
trunk/libc/src/fbsdlibc/nls/nls.smak
r2446 r2448 1 libc.TSRC += $(wildcard src/ libc/bsd/nls/*.c)1 libc.TSRC += $(wildcard src/fbsdlibc/nls/*.c) -
trunk/libc/src/fbsdlibc/stdio/stdio.smak
r2446 r2448 1 libc.TSRC += $(wildcard src/ libc/bsd/stdio/*.c)1 libc.TSRC += $(wildcard src/fbsdlibc/stdio/*.c) -
trunk/libc/src/fbsdlibc/stdlib/stdlib.smak
r2446 r2448 1 libc.TSRC += $(wildcard src/ libc/bsd/stdlib/*.c)1 libc.TSRC += $(wildcard src/fbsdlibc/stdlib/*.c) -
trunk/libc/src/fbsdlibc/stdtime/stdtime.smak
r2446 r2448 1 libc.TSRC += $(wildcard src/ libc/bsd/stdtime/*.c)1 libc.TSRC += $(wildcard src/fbsdlibc/stdtime/*.c) -
trunk/libc/src/glibc/argp/argp.smak
r2446 r2448 1 libc.TSRC += $(wildcard src/ libc/lgpl/argp/*.c)1 libc.TSRC += $(wildcard src/glibc/argp/*.c) -
trunk/libc/src/glibc/crypt/crypt.smak
r2446 r2448 1 libc.TSRC += $(addprefix src/ libc/lgpl/crypt/,crypt-entry.c md5-crypt.c md5.c crypt.c crypt_util.c)1 libc.TSRC += $(addprefix src/glibc/crypt/,crypt-entry.c md5-crypt.c md5.c crypt.c crypt_util.c) 2 2 3 3 include comend.smak -
trunk/libc/src/glibc/intl/intl.smak
r2446 r2448 1 libc.TSRC += $(filter-out %plural-eval.c,$(wildcard src/ libc/lgpl/intl/*.c))1 libc.TSRC += $(filter-out %plural-eval.c,$(wildcard src/glibc/intl/*.c)) 2 2 3 #$(foreach srcfile,$(wildcard src/ libc/lgpl/intl/*.c), \3 #$(foreach srcfile,$(wildcard src/glibc/intl/*.c), \ 4 4 # $(eval .TCF.$(srcfile) := )) 5 5 -
trunk/libc/src/glibc/malloc/malloc.smak
r2446 r2448 1 libc.TSRC += $(wildcard src/ libc/lgpl/malloc/*.c)1 libc.TSRC += $(wildcard src/glibc/malloc/*.c) -
trunk/libc/src/glibc/math/math.smak
r2446 r2448 1 libc.TSRC += $(wildcard src/ libc/lgpl/math/*.c)1 libc.TSRC += $(wildcard src/glibc/math/*.c) -
trunk/libc/src/glibc/posix/posix.smak
r2446 r2448 1 libc.TSRC += $(filter-out $(addprefix src/ libc/lgpl/posix/,regcomp.c regexec.c regex_internal.c), \2 $(wildcard src/ libc/lgpl/posix/*.c))1 libc.TSRC += $(filter-out $(addprefix src/glibc/posix/,regcomp.c regexec.c regex_internal.c), \ 2 $(wildcard src/glibc/posix/*.c)) -
trunk/libc/src/glibc/string/string.smak
r2446 r2448 1 libc.TSRC += $(wildcard src/ libc/lgpl/string/*.c)1 libc.TSRC += $(wildcard src/glibc/string/*.c) -
trunk/libc/src/glibc/sysdeps/sysdeps.smak
r2446 r2448 1 libc.TSRC += $(wildcard src/ libc/lgpl/sysdeps/os2/*.c) \2 $(wildcard src/ libc/lgpl/sysdeps/i386/*.S) \3 $(wildcard src/ libc/lgpl/sysdeps/i386/fpu/*.S) \4 $(wildcard src/ libc/lgpl/sysdeps/i386/fpu/*.c) \5 $(wildcard src/ libc/lgpl/sysdeps/generic/*.c) \6 $(wildcard src/ libc/lgpl/sysdeps/ieee754/ldbl-96/*.c)1 libc.TSRC += $(wildcard src/glibc/sysdeps/os2/*.c) \ 2 $(wildcard src/glibc/sysdeps/i386/*.S) \ 3 $(wildcard src/glibc/sysdeps/i386/fpu/*.S) \ 4 $(wildcard src/glibc/sysdeps/i386/fpu/*.c) \ 5 $(wildcard src/glibc/sysdeps/generic/*.c) \ 6 $(wildcard src/glibc/sysdeps/ieee754/ldbl-96/*.c) -
trunk/libc/src/legacy/libdl/dl.smak
r2447 r2448 4 4 .MODULE := libdl 5 5 .MDESC := Stub dynamic loading library (move into libc) 6 .MDEP := emxomf7 6 8 7 .TARGET := libdl_p.a -
trunk/libc/src/legacy/libm/m.smak
r2447 r2448 3 3 .MODULE := libm 4 4 .MDESC := Stub math library (move into libc) 5 .MDEP := emxomf6 5 7 6 .TARGET := libm_p.a -
trunk/libc/src/libc/libc.smak
r2447 r2448 9 9 10 10 # First of all, include all second-level libc submakefiles 11 LIBC.SUBMAK := $(wildcard src/libc/*/*.smak) $(wildcard src/libc/bsd/*/*.smak) $(wildcard src/libc/lgpl/*/*.smak) 11 LIBC.SUBMAK := \ 12 $(wildcard src/libc/*/*.smak) \ 13 $(wildcard src/fbsdlibc/*/*.smak) \ 14 $(wildcard src/glibc/*/*.smak) \ 15 $(wildcard src/msun/*.smak) 12 16 -include $(LIBC.SUBMAK) 13 17 # Add to the list of genrules.smak dependencies … … 39 43 -D_BSD_NAMESPACE_POLLUTION \ 40 44 -I$. \ 41 -Isrc/ libc/bsd/include \42 -Isrc/ libc/bsd/locale \43 -Isrc/ libc/lgpl\44 -Isrc/ libc/lgpl/sysdeps/os2 \45 -Isrc/ libc/lgpl/sysdeps/i386 \46 -Isrc/ libc/lgpl/sysdeps/generic \47 -Isrc/ libc/lgpl/include45 -Isrc/fbsdlibc/include \ 46 -Isrc/fbsdlibc/locale \ 47 -Isrc/glibc \ 48 -Isrc/glibc/sysdeps/os2 \ 49 -Isrc/glibc/sysdeps/i386 \ 50 -Isrc/glibc/sysdeps/generic \ 51 -Isrc/glibc/include 48 52 .TSF += $(.TCF) 49 53 .INSDIR = lib/ … … 351 355 all: libc-dll 352 356 ifndef LIBC_CORE_ONLY 353 libc-dll: emxbind emxexpapp alias libc libos2 libos2@omf \357 libc-dll: app alias libc libos2 libos2@omf \ 354 358 $(LIBC.DIRS) $(LIBC.DLL) $(LIBC.IMPLIB) $(LIBC.IMPLIB.TCPIPV4) \ 355 359 $(LIBC.PRF.DIRS) $(LIBC.PRF.DLL) \ … … 357 361 $(LIBC.ELH.DIRS) $(LIBC.ELH.DLL) 358 362 else 359 libc-dll: emxbind emxexp appalias libc libos2 libos2@omf \363 libc-dll: alias libc libos2 libos2@omf \ 360 364 $(LIBC.DIRS) $(LIBC.DLL) $(LIBC.IMPLIB) $(LIBC.IMPLIB.TCPIPV4) 361 365 endif … … 422 426 src/libc/msun/*/*.c \ 423 427 src/libc/msun/*/*.S \ 424 src/ libc/bsd/*/*.c \425 src/ libc/bsd/*/glue/*.c \426 src/ libc/lgpl/*/*.c \427 src/ libc/lgpl/sysdeps/i386/*.S \428 src/ libc/lgpl/sysdeps/i386/*.c \429 src/ libc/lgpl/sysdeps/i386/i486/*.S \430 src/ libc/lgpl/sysdeps/i386/fpu/*.S \431 src/ libc/lgpl/sysdeps/i386/fpu/*.c \432 src/ libc/lgpl/sysdeps/generic/*.c \433 src/ libc/lgpl/sysdeps/ieee754/ldbl-96/*.c428 src/fbsdlibc/*/*.c \ 429 src/fbsdlibc/*/glue/*.c \ 430 src/glibc/*/*.c \ 431 src/glibc/sysdeps/i386/*.S \ 432 src/glibc/sysdeps/i386/*.c \ 433 src/glibc/sysdeps/i386/i486/*.S \ 434 src/glibc/sysdeps/i386/fpu/*.S \ 435 src/glibc/sysdeps/i386/fpu/*.c \ 436 src/glibc/sysdeps/generic/*.c \ 437 src/glibc/sysdeps/ieee754/ldbl-96/*.c 434 438 $.stmp-libc-std: $(wildcard $(_STD_WILDWILD)) 435 cd src/libc && gawk -f ./mkstd.awk $(patsubst src/ libc/%,%,$^) > ../../__tmp__439 cd src/libc && gawk -f ./mkstd.awk $(patsubst src/%,../%,$(patsubst src/libc/%,%,$^)) > ../../__tmp__ 436 440 $(call UPDATE,__tmp__,$.libc-std.h) 437 441 $(call TOUCH,$@) -
trunk/libc/src/libc/startup/startup.smak
r2447 r2448 78 78 $(call CP,$^,$(dir $@)) 79 79 80 libc: emxomf ld$(.DIRS) $(.OBJS)80 libc: $(.DIRS) $(.OBJS) 81 81 startup: $(.DIRS) $(.OBJS) 82 82 -
trunk/libc/src/libos2/os2.smak
r2447 r2448 3 3 .MODULE := libos2 4 4 .MDESC := OS/2 import library (similar to os2386.lib) 5 .MDEP := emxomf emximp6 5 .INSDIR := lib/ 7 6 -
trunk/libc/src/libsocket/socket.smak
r2447 r2448 4 4 .MDESC := The socket library 5 5 #_MDIRS := $.aout/tcpipv4 $.aout-prof/tcpipv4 $.aout/dep-tcpipv4 $.aout-prof/dep-tcpipv4 6 .MDEP := emxomf emximp7 6 #$(_MDIRS) 8 7 #TARGDIRS += $(_MDIRS) -
trunk/libc/src/libsyslog/syslog.smak
r2447 r2448 4 4 .MODULE := libsyslog 5 5 .MDESC := syslog library. 6 .MDEP := emxomf7 6 8 7 .TARGET := libsyslog_p.a -
trunk/libc/src/msun/msun.smak
r2446 r2448 51 51 # select the sources we need. 52 52 $(foreach asrc,$(basename $(ARCH_SRCS)),$(eval COMMON_SRCS := $(filter-out $(asrc).%,$(COMMON_SRCS)))) 53 MSUN_SRCS := $(wildcard src/ libc/msun/bsdsrc/*.c) \54 $(addprefix src/ libc/msun/src/,$(COMMON_SRCS))53 MSUN_SRCS := $(wildcard src/msun/bsdsrc/*.c) \ 54 $(addprefix src/msun/src/,$(COMMON_SRCS)) 55 55 56 56 # No optimizations based on strict aliasing here, thank you. … … 58 58 59 59 # Add to libc modules. 60 libc.TSRC.386 += $(addprefix src/ libc/msun/i387/,$(ARCH_SRCS))60 libc.TSRC.386 += $(addprefix src/msun/i387/,$(ARCH_SRCS)) 61 61 libc.TSRC += $(MSUN_SRCS) 62 62
Note:
See TracChangeset
for help on using the changeset viewer.