Changeset 2448


Ignore:
Timestamp:
Nov 15, 2005, 4:40:28 AM (20 years ago)
Author:
bird
Message:

serious restructuring in progress.

Location:
trunk
Files:
1 added
2 deleted
31 edited
5 moved

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r2447 r2448  
    742742        mkdir -p $(PATH_BUILTTOOLS)/bin $(PATH_BUILTTOOLS)/lib $(PATH_BUILTTOOLS)/include $(PATH_BUILTTOOLS)/omfhack
    743743       
    744 $(PATH_BUILTTOOLS)/bin/dllar.cmd $(PATH_BUILTTOOLS_TMP)/bin/dllar.cmd: $(PATH_TOP)/src/misc/dllar.cmd
    745         cp $< $@
    746744$(PATH_BUILTTOOLS)/omfhack/ranlib.exe $(PATH_BUILTTOOLS_TMP)/omfhack/ranlib.exe: $(PATH_TOP)/tools/bin/true.exe
    747745        cp $< $@
     
    997995        for dir in $(GCC_CONFIGURE_DIRS); do \
    998996                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 \
    1000998                        true; \
    1001999                else \
     
    10131011# let the build/bootstrap create the gcc import .def file before kicking off a build.
    10141012gcc-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.def
    1016         $(GAWK) -f libc/src/lib/libgcc_d.awk $(filter %.def,$^) > $@
     1013gcc/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,$^) > $@
    10171015
    10181016
     
    10231021# For the 2nd stage we need a hack for using the right specs when linking...
    10241022#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, \
    10261024#              -specs $(PATH_TOP)/tools/x86.os2/gcc/staged/lib/gcc-lib/i386-pc-os2-emx/$(GCC_VERSION)/specs)
    10271025SPECS_HACK =
     
    10961094gcc-builtunix-stage2:
    10971095        $(MAKE) $(MAKEOPT) -C $(PATH_OBJ)/gcc prefix=$(PATH_BUILTTOOLS_TMPD) install
    1098 ##      cp $(PATH_TOP)/libc/src/lib/libc.specs $(PATH_OBJ)/gcc/gcc/specs
     1096##      cp $(PATH_TOP)/libc/src/libc/libc.specs $(PATH_OBJ)/gcc/gcc/specs
    10991097
    11001098
     
    11661164endif
    11671165        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 \
    11691167                        true; \
    11701168                else \
     
    13721370emx-build emx-install:
    13731371        mkdir -p $(PATH_OBJ)/emx
    1374         $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/emx -f $(MAKEFILE) $@-it
     1372        $(MAKE) $(MAKEOPT) -f $(PATH_TOP)/emx/Makefile.gmk -C $(PATH_TOP)/emx -f $(MAKEFILE) $@-it
    13751373
    13761374emx-build-it:
    1377         $(MAKE) $(MAKEOPT) -j 1 -C $(PATH_TOP)/emx $(EMX_DEFINES) tools
    1378         $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/emx $(EMX_DEFINES) all
     1375        $(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
    13791377
    13801378emx-install-it:
    1381         $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/emx $(EMX_DEFINES) INS=$(ALL_PREFIX)/ install
     1379        $(MAKE) $(MAKEOPT) -f $(PATH_TOP)/emx/Makefile.gmk -C $(PATH_TOP)/emx $(EMX_DEFINES) INS=$(ALL_PREFIX)/ install
    13821380
    13831381                                       
     
    13881386# Install the compiled emx stuff to builtunix.
    13891387emx-builtunix-stage2:
    1390         $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/emx $(EMX_DEFINES) INS=$(PATH_BUILTTOOLS_TMP)/  install
     1388        $(MAKE) $(MAKEOPT)-f $(PATH_TOP)/emx/Makefile.gmk -C $(PATH_TOP)/emx $(EMX_DEFINES) INS=$(PATH_BUILTTOOLS_TMP)/  install
    13911389
    13921390# Quick bootstrap workers.                     
    13931391emx-quick:
    1394         GCCLOAD=3 $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/emx $(EMX_DEFINES) all
     1392        GCCLOAD=3 $(MAKE) $(MAKEOPT) -f $(PATH_TOP)/emx/Makefile.gmk -C $(PATH_TOP)/emx $(EMX_DEFINES) all
    13951393                       
    13961394emx-quick-install:
    1397         $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/emx $(EMX_DEFINES) INS=$(PATH_BUILTTOOLS)/ install
     1395        $(MAKE) $(MAKEOPT)-f $(PATH_TOP)/emx/Makefile.gmk -C $(PATH_TOP)/emx $(EMX_DEFINES) INS=$(PATH_BUILTTOOLS)/ install
    13981396                               
    13991397
     
    14411439
    14421440libc-build-it:
    1443         $(MAKE) $(MAKEOPT) -j 1 -C $(PATH_TOP)/libc $(LIBC_DEFINES) tools
    1444         $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/libc $(LIBC_DEFINES) all
     1441        $(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
    14451443
    14461444libc-install-it:
    1447         $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/libc $(LIBC_DEFINES) INS=$(ALL_PREFIX)/ install
     1445        $(MAKE) $(MAKEOPT) -f $(PATH_TOP)/libc/Makefile.gmk -C $(PATH_TOP)/libc $(LIBC_DEFINES) INS=$(ALL_PREFIX)/ install
    14481446
    14491447                                       
     
    14541452# Install the compiled libc stuff to builtunix.
    14551453libc-builtunix-stage2:
    1456         $(MAKE) $(MAKEOPT) -C $(PATH_TOP)/libc $(LIBC_DEFINES) INS=$(PATH_BUILTTOOLS_TMP)/  install
     1454        $(MAKE) $(MAKEOPT) -f $(PATH_TOP)/libc/Makefile.gmk -C $(PATH_TOP)/libc $(LIBC_DEFINES) INS=$(PATH_BUILTTOOLS_TMP)/  install
    14571455
    14581456# Quick bootstrap workers.                     
    14591457libc-quick:
    1460         GCCLOAD=3 $(MAKE) $(MAKEOPT) -f $(PATH_TOP)/libc/libonly.gmk -C $(PATH_TOP)/libc $(LIBC_DEFINES) all
     1458        GCCLOAD=3 $(MAKE) $(MAKEOPT) -f $(PATH_TOP)/libc/Makefile.gmk -C $(PATH_TOP)/libc $(LIBC_DEFINES) all
    14611459
    14621460libc-quick-install:
    1463         $(MAKE) $(MAKEOPT) -f $(PATH_TOP)/libc/libonly.gmk -C $(PATH_TOP)/libc $(LIBC_DEFINES) INS=$(PATH_BUILTTOOLS)/ install
     1461        $(MAKE) $(MAKEOPT) -f $(PATH_TOP)/libc/Makefile.gmk -C $(PATH_TOP)/libc $(LIBC_DEFINES) INS=$(PATH_BUILTTOOLS)/ install
    14641462               
    14651463                               
     
    15721570        cp $(PATH_TOP)/doc/COPYING.LIB              $(ALL_PREFIX)/doc/GCC-$(GCC_VERSION)
    15731571        cp $(PATH_TOP)/doc/COPYING                  $(ALL_PREFIX)/doc/GCC-$(GCC_VERSION)
    1574 #       cp $(PATH_TOP)/ChangeLog                    $(ALL_PREFIX)/doc/GCC-$(GCC_VERSION)/ChangeLog.os2
    15751572        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)
    15791574                       
    15801575
  • trunk/binutils/gas/as.c

    r2447 r2448  
    224224
    225225#ifdef BFD_ASSEMBLER
    226   fprintf (stderr, _("GNU assembler version %s (%s) using BFD version %s (Innotek Build 2005-11-15 02:02)"),
     226  fprintf (stderr, _("GNU assembler version %s (%s) using BFD version %s (Innotek Build 2005-11-15 03:52)"),
    227227           VERSION, TARGET_ALIAS, BFD_VERSION_STRING);
    228228#else
     
    546546          /* This output is intended to follow the GNU standards document.  */
    547547#ifdef BFD_ASSEMBLER
    548           printf (_("GNU assembler %s (Innotek Build 2005-11-15 02:02)\n"), BFD_VERSION_STRING);
     548          printf (_("GNU assembler %s (Innotek Build 2005-11-15 03:52)\n"), BFD_VERSION_STRING);
    549549#else
    550           printf (_("GNU assembler %s (Innotek Build 2005-11-15 02:02)\n"), VERSION);
     550          printf (_("GNU assembler %s (Innotek Build 2005-11-15 03:52)\n"), VERSION);
    551551#endif
    552552          printf (_("Copyright 2002 Free Software Foundation, Inc.\n"));
  • trunk/emx/ChangeLog.emx

    r2446 r2448  
    22
    33TODO: open replace on RAMFS fails with error 32!
     4
     52004-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.
    49
    5102005-11-12: knut st. osmundsen <bird-gccos2-spam@anduin.net>
     
    712        o Fixed problems with symbol truncation.
    813          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. Using
    12           fcntl to set O_NONBLOCK on sockets works now.
    13         o Fixed a generic error handling bug in ioctl, write, read, dup and dup
    14           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 Below
    23           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 no
    38           longer compatible with earlier versions. The consequences
    39           of this are related to inheritance and signaling - so recompile!
    4014
    41152005-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 values
    48           and the creation time is to be found in birthtime. This means that
    49           ctime will be updated in a few places where it doesn't on unix - but
    50           this is probably better than previously where it wasn't ever updated
    51           when it should.
    52         o Removed forwarder dlls since struct stat, O_* and __LIBC_FH is
    53           soon going to be incompatible with rc1 and older versions.
    5416    - version.smak:
    5517        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 so
    61           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 unlocked
    65           after signalDeliver().
    66         o Don't try the '.exe' too early on executables (exec/spawn), this broke
    67           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.
    7218
    73192005-08-21: knut st. osmundsen <bird-gccos2-spam@anduin.net>
     
    7521        o Default stack size set to 1MB.
    7622          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 and
    80           __libc_Back_gfProcessHandlePCBatchScripts for use in shells which
    81           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 and
    84           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 as
    96           defaults in features.h.
    97         o Protect the fork operations by the means of must complete so
    98           signals won't interrupt us till we're finished. This might leave
    99           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 broken
    116           in 14.103b & c (at least) so avoid it where it isn't strictly required.
    11723
    118242005-07-24: knut st. osmundsen <bird-gccos2-spam@anduin.net>
    119     - libos2:
    120         o Added some missing INCL_DOSERRORS #defines (very odd ones).
    12125    - emximp:
    12226        o Fixed bad done string allocation.
     
    12529        o Switched back to alloca and adding 23 MB of stack.
    12630
    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 
    132312005-07-17: knut st. osmundsen <bird-gccos2-spam@anduin.net>
    133     - libc:
    134         o LIBC_ASSERT*() are for internal libc errors, LIBCLOG_ERROR*() are
    135           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 can
    148           be adjusted correctly on failure as well.
    14932    - version.smak:
    15033        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 free
    161           SPM notification structures.
    162         o Moved the codeset standardization up a bit so nl_langinfo
    163           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 the
    170           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 being
    176           adopted by our parent. (On UNIX processes begin made
    177           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 about
    180           the death certificate. This, together with a tiny fix
    181           in __spawnve() cures the bad spm process leaks when spawning
    182           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 routine
    195           in the backend, __libc_Back_panic[V](). The routine supports
    196           very simple printf like message formatting. By default it wil
    197           dump any available registers and attempt dumping the process
    198           before killing it. This behaviour can be configured with the
    199           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 failure
    206           instead. Added a few more overflow checks.
    207         o Added %m (GLIBC extension) to the printf familiy. %m means
    208           priting strerror(errno), it takes no arguments.
    209         o Fixed serveral bugs in the C/POSIX locale
    210         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 and
    215           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 to
    245           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, this
    248           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 macros
    252           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 is
    263           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 .S
    274           files from glibc at the same time.
    275         o On glibc lot's of limits.h stuff is included from direct.h because of
    276           need for NAME_MAX, let's do something similar.
    277         o Corrected MAXNAMLEN / d_name field length.
    27834
    279352005-06-27: knut st. osmundsen <bird-gccos2-spam@anduin.net>
     
    28541        o Kicked out all the old weak handling (from early 3.2.2 alphas).
    28642
    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 the
    290           math source import.
    291         o Rewrote the libcXXXX.dll install rule to not play with emxload since
    292           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 identical
    295           to unsetenv(). This solves duplicate variable testcase.
    296         o Changed filestreams opened for both reading and writing to switch
    297           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! Currently
    302                 a hack using 8 free flag bits is used.
    303         o Corrected realpath() behaviour to return the path up to the failure
    304           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 input
    308           according to flags and any trailing slashes.
    309         o Change the path resolver to be very strict about UNC - UNC have exactly
    310           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 will
    316                 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 only
    323           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 to
    326           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 NET
    338           will never return space which isn't zeroed when expanding
    339           a file. Associate a file system information object with the
    340           filehandles to keep track of such features. This also fixes
    341           the fsStatFH() implementation trouble.
    342           This attribute doesn't apply to CDFS. While RAMFS fails
    343           the test, it zeros at open but not at setfilesize.
    344         o Fixed invalid inode and dev numbers for new files, was passing
    345           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-complete
    351           fmutex was entered.
    352         o Replaced mktemp and mkstemp with BSD versions. Also adding
    353           mkstemps, mkdtemp, arc4random, arc4random_addrandom and
    354           arc4random_stir.
    355         o Limited the namespace pollution caused by machine/param.h
    356           (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 struct
    359           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 into
    370           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 variants
    373           and some EMX specific ones. This is a risky change, but it's needed
    374           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 not
    379                 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 
    384432005-06-05: knut st. osmundsen <bird-gccos2-spam@anduin.net>
    385     - libc:
    386         o the setitimer backend was making incorrect assumptions about the
    387           HTIMER range - NULLHANDLE is valid for HTIMER. Changed it to use ~0U
    388           as invalid handle. (untested)
    389         o Default TCPIP mode is __USB_LIBC_TCPIP. When either TCPV40HDRS or TCPV41HDRS
    390           are defined we are in strict mode and __USB_LIBC_TCPIP will not be defined.
    39144    - libomflib, emxomfar:
    39245        o Allow multiple modules by the same basename. This is not in tradition with
     
    40154                old ld and fixup the binutils port!
    40255
    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 open
    415           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 compatible
    424           api. _chdir2() and chdir() are operating identically now.
    425         o Fixed several incorrect/incomplete path resolve cases. Some causing
    426           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 caused
    429           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 
    433562005-04-30: knut st. osmundsen <bird-gccos2-spam@anduin.net>
    43457    - libmoddef:
     
    43659    - weakld:
    43760        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 level
    442           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 are
    447           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.
    45561
    456622005-04-23: knut st. osmundsen <bird-gccos2-spam@anduin.net>
    45763    - emxomf:
    45864        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 count
    463           specifying the minimum stack size. When not specified minium size
    464           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 and
    467           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() recursivly
    472           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 to
    487           nickk for point these out.
    48865
    489662005-03-13: knut st. osmundsen <bird-gccos2-spam@anduin.net>
    49067    - version.smak:
    49168        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 implementation
    508           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.
    51369
    51470    - emxomf:
     
    51773          getopt_long(,,"l::", NULL, NULL) solves the problem.
    51874
    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 signal
    551           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't
    558           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 were
    569           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!
    58675
    587762004-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 
    59477    - ChangeLog.Libc:
    59578        o Created this file.
  • trunk/gcc/gcc/config/i386/emx-libgcc_so_d.def

    r2447 r2448  
    11; Auto-generated file, DO NOT EDIT!!! (see libgcc_d.awk) */
    2 LIBRARY libc06b5 INITINSTANCE TERMINSTANCE
     2LIBRARY libc06r2 INITINSTANCE TERMINSTANCE
    33EXPORTS
    44EXPORTS
  • trunk/gcc/gcc/version.c

    r2447 r2448  
    77   organization's name in parentheses at the end of the string.  */
    88
    9 const char version_string[] = "3.3.5 (Innotek Build 2005-11-15 02:02)";
     9const char version_string[] = "3.3.5 (Innotek Build 2005-11-15 03:52)";
    1010
    1111/* This is the location of the online document giving instructions for
  • trunk/libc/Makefile.gmk

    r2447 r2448  
    8585A = .$(if $(findstring omf,$(.TKIND)),lib,a)
    8686
    87 # Use the tool we built.
    88 GETTOOL ?= $.$(TOOLFMT)/$1$E
    89 # Use the tool we built if present
    90 GETTOOL2 ?= `test -f '$.$(TOOLFMT)/$1$E' && echo '$.$(TOOLFMT)/'`$1$E
    91 
    9287# The C compiler
    9388CC = gcc -c -Zmt -fmessage-length=0
     
    9792endif
    9893CFLAGS.INC  += -Isrc/include
    99 CFLAGS.INC  += -Isrc/libc/bsd/include
     94CFLAGS.INC  += -Isrc/fbsdlibc/include
    10095CFLAGS      = -Wall -Wundef -Wmissing-prototypes -mstack-arg-probe $(CFLAGS.INC) $(CFLAGS.$(MODE)) $(CFLAGS.KIND)
    10196# The additional C compiler flags for different build modes
     
    152147
    153148# emxbind tool
    154 EMXBIND = $(call GETTOOL2,emxbind)
     149EMXBIND = emxbind
    155150# emxbind flags
    156151EMXBINDFLAGS = -bq $(EMXBINDFLAGS.$(MODE))
     
    172167
    173168# The tool to create an archive
    174 AR = $(if $(findstring .lib,$@), $(call GETTOOL2,emxomfar),ar)
     169AR = $(if $(findstring .lib,$@), emxomfar,ar)
    175170ARFLAGS = crs
    176171DO.LIBRARY = $(call RM,$@); $(AR) $(ARFLAGS)$1 $@ $(^O)
     
    179174# removing unused stuff (like empty lines and comments)
    180175# and sorting alphabetically (looks nicer).
    181 EMXEXP = $(call GETTOOL2,emxexp)
     176EMXEXP = emxexp
    182177EMXEXPFLAGS = -u
    183178DO.EMXEXP = $(EMXEXP) $(strip $(EMXEXPFLAGS) $1) | sed -e "/^$$/d" -e "/^ *;/d" | sort -d >>$2
    184179
    185180# The tool to create import libraries
    186 IMPLIB = $(call GETTOOL2,emximp)
     181IMPLIB = emximp
    187182IMPLIBFLAGS.prof = -m
    188183IMPLIBFLAGS.lazy = -l
     
    208203#   or not. Unfortunately make isn't up to the job of figuring this out, so we
    209204#       must use the shell.
    210 EMXOMF = $(call GETTOOL2,emxomf)
     205EMXOMF = emxomf
    211206DO.EMXOMF = $(EMXOMF) $(strip $1 -o) $@ $(if $<,$<, $(subst /omf-prof/,/aout-prof/,$(subst /omf-log/,/aout-log/,$(subst /omf/,/aout/,$(@:.obj=.o)))) )
    212207
     
    294289#------------ Submakefiles ------------
    295290ifndef SUBMAK
    296 SUBMAK := version.smak $(wildcard src/*/*.smak) include/include.smak $(wildcard bsd/*/*.smak) $(wildcard gnu/*/*.smak)
     291SUBMAK := version.smak $(filter-out $(wildcard src/msun/*.smak),$(wildcard src/*/*.smak)) include/include.smak $(wildcard bsd/*/*.smak) $(wildcard gnu/*/*.smak)
    297292endif
    298293
  • 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)
     1libc.TSRC += $(wildcard src/fbsdlibc/db/btree/*.c)
     2libc.TSRC += $(wildcard src/fbsdlibc/db/db/*.c)
     3libc.TSRC += $(wildcard src/fbsdlibc/db/hash/*.c)
     4libc.TSRC += $(wildcard src/fbsdlibc/db/mpool/*.c)
     5libc.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)
     1libc.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)
    33libc.TDEP +=
    44
    55# make everything depend on arith.h.
    6 $(filter-out %arithchk.c,$(wildcard src/libc/bsd/gdtoa/*.c)): $.arith.h
     6$(filter-out %arithchk.c,$(wildcard src/fbsdlibc/gdtoa/*.c)): $.arith.h
    77
    88# generate arith.h.
     
    1111       
    1212# build arith.h generator.
    13 $.arithchk.exe: src/libc/bsd/gdtoa/arithchk.c                                                                   
     13$.arithchk.exe: src/fbsdlibc/gdtoa/arithchk.c                                                                   
    1414        $(LD) $(CFLAGS:-Iinclude=) $(CFLAGS.dbg) $(LDFLAGS.dbg) $(LDFLAGS.aout) -o $@ $<
    1515
  • trunk/libc/src/fbsdlibc/gen/gen.smak

    r2446 r2448  
    1 libc.TSRC += $(wildcard src/libc/bsd/gen/*.c)
     1libc.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)
     1libc.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)
     1libc.TSRC += $(wildcard src/fbsdlibc/locale/*.c)
  • trunk/libc/src/fbsdlibc/net/net.smak

    r2446 r2448  
    1 libc.TSRC += $(wildcard src/libc/bsd/net/*.c)
     1libc.TSRC += $(wildcard src/fbsdlibc/net/*.c)
  • trunk/libc/src/fbsdlibc/nls/nls.smak

    r2446 r2448  
    1 libc.TSRC += $(wildcard src/libc/bsd/nls/*.c)
     1libc.TSRC += $(wildcard src/fbsdlibc/nls/*.c)
  • trunk/libc/src/fbsdlibc/stdio/stdio.smak

    r2446 r2448  
    1 libc.TSRC += $(wildcard src/libc/bsd/stdio/*.c)
     1libc.TSRC += $(wildcard src/fbsdlibc/stdio/*.c)
  • trunk/libc/src/fbsdlibc/stdlib/stdlib.smak

    r2446 r2448  
    1 libc.TSRC += $(wildcard src/libc/bsd/stdlib/*.c)
     1libc.TSRC += $(wildcard src/fbsdlibc/stdlib/*.c)
  • trunk/libc/src/fbsdlibc/stdtime/stdtime.smak

    r2446 r2448  
    1 libc.TSRC += $(wildcard src/libc/bsd/stdtime/*.c)
     1libc.TSRC += $(wildcard src/fbsdlibc/stdtime/*.c)
  • trunk/libc/src/glibc/argp/argp.smak

    r2446 r2448  
    1 libc.TSRC += $(wildcard src/libc/lgpl/argp/*.c)
     1libc.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)
     1libc.TSRC += $(addprefix src/glibc/crypt/,crypt-entry.c md5-crypt.c md5.c crypt.c crypt_util.c)
    22
    33include 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))
     1libc.TSRC += $(filter-out %plural-eval.c,$(wildcard src/glibc/intl/*.c))
    22
    3 #$(foreach srcfile,$(wildcard src/libc/lgpl/intl/*.c), \
     3#$(foreach srcfile,$(wildcard src/glibc/intl/*.c), \
    44#       $(eval .TCF.$(srcfile) :=  ))
    55
  • trunk/libc/src/glibc/malloc/malloc.smak

    r2446 r2448  
    1 libc.TSRC += $(wildcard src/libc/lgpl/malloc/*.c)
     1libc.TSRC += $(wildcard src/glibc/malloc/*.c)
  • trunk/libc/src/glibc/math/math.smak

    r2446 r2448  
    1 libc.TSRC += $(wildcard src/libc/lgpl/math/*.c)
     1libc.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))
     1libc.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)
     1libc.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)
     1libc.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  
    44.MODULE := libdl
    55.MDESC  := Stub dynamic loading library (move into libc)
    6 .MDEP   := emxomf
    76
    87.TARGET := libdl_p.a
  • trunk/libc/src/legacy/libm/m.smak

    r2447 r2448  
    33.MODULE := libm
    44.MDESC  := Stub math library (move into libc)
    5 .MDEP   := emxomf
    65
    76.TARGET := libm_p.a
  • trunk/libc/src/libc/libc.smak

    r2447 r2448  
    99
    1010# 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)
     11LIBC.SUBMAK := \
     12        $(wildcard src/libc/*/*.smak) \
     13        $(wildcard src/fbsdlibc/*/*.smak) \
     14        $(wildcard src/glibc/*/*.smak) \
     15        $(wildcard src/msun/*.smak)
    1216-include $(LIBC.SUBMAK)
    1317# Add to the list of genrules.smak dependencies
     
    3943 -D_BSD_NAMESPACE_POLLUTION \
    4044 -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/include
     45 -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
    4852.TSF    += $(.TCF)
    4953.INSDIR = lib/
     
    351355all: libc-dll
    352356ifndef LIBC_CORE_ONLY
    353 libc-dll: emxbind emxexp app alias libc libos2 libos2@omf \
     357libc-dll: app alias libc libos2 libos2@omf \
    354358                        $(LIBC.DIRS) $(LIBC.DLL) $(LIBC.IMPLIB) $(LIBC.IMPLIB.TCPIPV4) \
    355359                        $(LIBC.PRF.DIRS) $(LIBC.PRF.DLL) \
     
    357361                        $(LIBC.ELH.DIRS) $(LIBC.ELH.DLL)
    358362else
    359 libc-dll: emxbind emxexp app alias libc libos2 libos2@omf \
     363libc-dll: alias libc libos2 libos2@omf \
    360364                        $(LIBC.DIRS) $(LIBC.DLL) $(LIBC.IMPLIB) $(LIBC.IMPLIB.TCPIPV4)
    361365endif
     
    422426        src/libc/msun/*/*.c \
    423427        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/*.c
     428        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
    434438$.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__
    436440        $(call UPDATE,__tmp__,$.libc-std.h)
    437441        $(call TOUCH,$@)
  • trunk/libc/src/libc/startup/startup.smak

    r2447 r2448  
    7878        $(call CP,$^,$(dir $@))
    7979
    80 libc: emxomf ld $(.DIRS) $(.OBJS)
     80libc:   $(.DIRS) $(.OBJS)
    8181startup: $(.DIRS) $(.OBJS)
    8282
  • trunk/libc/src/libos2/os2.smak

    r2447 r2448  
    33.MODULE := libos2
    44.MDESC  := OS/2 import library (similar to os2386.lib)
    5 .MDEP   := emxomf emximp
    65.INSDIR := lib/
    76
  • trunk/libc/src/libsocket/socket.smak

    r2447 r2448  
    44.MDESC  := The socket library
    55#_MDIRS  := $.aout/tcpipv4 $.aout-prof/tcpipv4 $.aout/dep-tcpipv4 $.aout-prof/dep-tcpipv4
    6 .MDEP   := emxomf emximp
    76#$(_MDIRS)
    87#TARGDIRS += $(_MDIRS)
  • trunk/libc/src/libsyslog/syslog.smak

    r2447 r2448  
    44.MODULE := libsyslog
    55.MDESC  := syslog library.
    6 .MDEP   := emxomf
    76
    87.TARGET := libsyslog_p.a
  • trunk/libc/src/msun/msun.smak

    r2446 r2448  
    5151# select the sources we need.
    5252$(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))
     53MSUN_SRCS := $(wildcard src/msun/bsdsrc/*.c) \
     54        $(addprefix src/msun/src/,$(COMMON_SRCS))
    5555       
    5656# No optimizations based on strict aliasing here, thank you.
     
    5858
    5959# Add to libc modules.
    60 libc.TSRC.386 += $(addprefix src/libc/msun/i387/,$(ARCH_SRCS))
     60libc.TSRC.386 += $(addprefix src/msun/i387/,$(ARCH_SRCS))
    6161libc.TSRC += $(MSUN_SRCS)
    6262
Note: See TracChangeset for help on using the changeset viewer.