Print this page
5007142 Add ntohll and htonll to sys/byteorder.h
6717509 Need to use bswap/bswapq for byte swap of 64-bit integer on x32/x64
PSARC 2008/474

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libc/i386/Makefile.com
          +++ new/usr/src/lib/libc/i386/Makefile.com
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  #
  22   22  # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
  25      -# ident "%Z%%M% %I%     %E% SMI"
  26      -#
  27   25  
  28   26  LIB_PIC= libc_pic.a
  29   27  VERS=   .1
  30   28  CPP=    /usr/lib/cpp
  31   29  TARGET_ARCH=    i386
  32   30  
  33   31  VALUES= values-Xa.o
  34   32  
  35   33  # objects are grouped by source directory
  36   34  
↓ open down ↓ 64 lines elided ↑ open up ↑
 101   99          dtrace_data.o
 102  100  
 103  101  GENOBJS=                        \
 104  102          _div64.o                \
 105  103          _divdi3.o               \
 106  104          _getsp.o                \
 107  105          _mul64.o                \
 108  106          abs.o                   \
 109  107          alloca.o                \
 110  108          byteorder.o             \
      109 +        byteorder64.o           \
 111  110          cuexit.o                \
 112  111          ecvt.o                  \
 113  112          errlst.o                \
 114  113          i386_data.o             \
 115  114          ladd.o                  \
 116  115          ldivide.o               \
 117  116          lmul.o                  \
 118  117          lock.o                  \
 119  118          lshiftl.o               \
 120  119          lsign.o                 \
↓ open down ↓ 842 lines elided ↑ open up ↑
 963  962  # enables ASSERT() checking in the threads portion of the library.
 964  963  # This is automatically enabled for DEBUG builds, not for non-debug builds.
 965  964  THREAD_DEBUG =
 966  965  $(NOT_RELEASE_BUILD)THREAD_DEBUG = -DTHREAD_DEBUG
 967  966  
 968  967  ALTPICS= $(TRACEOBJS:%=pics/%)
 969  968  
 970  969  $(DYNLIB) := PICS += $(ROOTFS_LIBDIR)/libc_i18n.a
 971  970  $(DYNLIB) := BUILD.SO = $(LD) -o $@ -G $(DYNFLAGS) $(PICS) $(ALTPICS) $(LDLIBS)
 972  971  
 973      -MAPFILES =      ../port/mapfile-vers ../i386/mapfile-vers 
      972 +MAPFILES =      ../port/mapfile-vers ../i386/mapfile-vers
 974  973  
 975  974  #
 976  975  # EXTN_CPPFLAGS and EXTN_CFLAGS set in enclosing Makefile
 977  976  #
 978  977  CFLAGS +=       $(EXTN_CFLAGS)
 979  978  CPPFLAGS=       -D_REENTRANT -Di386 $(EXTN_CPPFLAGS) $(THREAD_DEBUG) \
 980  979                  -I$(LIBCBASE)/inc -I../inc $(CPPFLAGS.master)
 981  980  ASFLAGS=        $(AS_PICFLAGS) -P -D__STDC__ -D_ASM $(CPPFLAGS) $(i386_AS_XARCH)
 982  981  
 983  982  # Conditionally add support for making |wordexp()| check whether
↓ open down ↓ 236 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX