changeset 5827:70b03ddc1344

6634436 XFFLAG should be updated.
author rie
date Mon, 14 Jan 2008 12:21:55 -0800
parents 0bfa56468300
children 79c8433fdb01
files usr/src/Makefile.master usr/src/cmd/sgs/Makefile.var usr/src/cmd/sgs/ldprof/Makefile.com usr/src/cmd/sgs/libcrle/Makefile.com usr/src/cmd/sgs/libelf/Makefile.com usr/src/cmd/sgs/link_audit/Makefile.com usr/src/cmd/sgs/packages/common/SUNWonld-README usr/src/lib/gss_mechs/mech_dh/backend/Makefile.com usr/src/lib/gss_mechs/mech_dh/dh1024/Makefile.com usr/src/lib/gss_mechs/mech_dh/dh192/Makefile.com usr/src/lib/gss_mechs/mech_dh/dh640/Makefile.com usr/src/lib/gss_mechs/mech_krb5/Makefile.com usr/src/lib/krb5/ss/Makefile.com usr/src/lib/rpcsec_gss/Makefile.com
diffstat 14 files changed, 48 insertions(+), 40 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/Makefile.master	Mon Jan 14 11:57:29 2008 -0800
+++ b/usr/src/Makefile.master	Mon Jan 14 12:21:55 2008 -0800
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 # ident	"%Z%%M%	%I%	%E% SMI"
@@ -355,7 +355,7 @@
 ILDOFF=			-xildoff
 #
 XDEPEND=		-xdepend
-XFFLAG=			-xF
+XFFLAG=			-xF=%all
 XESS=			-xs
 XSTRCONST=		-xstrconst 
 
@@ -762,6 +762,7 @@
 ZNOLAZYLOAD=	-znolazyload
 ZNORELOC=	-znoreloc
 ZNOVERSION=	-znoversion
+ZRECORD=	-zrecord
 ZREDLOCSYM=	-zredlocsym
 ZTEXT=		-ztext
 ZVERBOSE=	-zverbose
--- a/usr/src/cmd/sgs/Makefile.var	Mon Jan 14 11:57:29 2008 -0800
+++ b/usr/src/cmd/sgs/Makefile.var	Mon Jan 14 12:21:55 2008 -0800
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 # ident	"%Z%%M%	%I%	%E% SMI"
@@ -109,7 +109,6 @@
 # Common Macro definitions
 #
 VAR_CPPFLAGS=
-VAR_XFFLAG=		-xF=%all
 
 VAR_LINTFLAGS64=	-Xarch=$(MACH64:sparcv9=v9)
 VAR_I386_ARCH=		intel
--- a/usr/src/cmd/sgs/ldprof/Makefile.com	Mon Jan 14 11:57:29 2008 -0800
+++ b/usr/src/cmd/sgs/ldprof/Makefile.com	Mon Jan 14 12:21:55 2008 -0800
@@ -19,7 +19,7 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 # ident	"%Z%%M%	%I%	%E% SMI"
@@ -34,8 +34,6 @@
 include		../../../../lib/Makefile.lib
 include		../../Makefile.com
 
-ZIGNORE=
-
 ROOTLIBDIR=	$(ROOT)/usr/lib/link_audit
 
 SGSPROTO=	../../proto/$(MACH)
@@ -59,7 +57,9 @@
 		-I$(SRCBASE)/uts/$(ARCH)/sys \
 		$(CPPFLAGS.master)
 CFLAGS +=	$(C_PICFLAGS)
-LDLIBS +=	-lmapmalloc -lc $(DLLIB)
+
+lint :=		ZRECORD =
+LDLIBS +=	$(ZRECORD) -lmapmalloc -lc $(DLLIB)
 
 LINTFLAGS +=	-u -erroff=E_NAME_DECL_NOT_USED_DEF2
 LINTFLAGS64 +=	-u -erroff=E_NAME_DECL_NOT_USED_DEF2
--- a/usr/src/cmd/sgs/libcrle/Makefile.com	Mon Jan 14 11:57:29 2008 -0800
+++ b/usr/src/cmd/sgs/libcrle/Makefile.com	Mon Jan 14 12:21:55 2008 -0800
@@ -19,7 +19,7 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 # ident	"%Z%%M%	%I%	%E% SMI"
@@ -46,8 +46,8 @@
 DLLIB =		$(VAR_DL_LIB)
 package	:=	DLLIB = $(VAR_PKG_DL_LIB)
 
-ZIGNORE =
-LDLIBS +=	-lmapmalloc $(DLLIB) -lc
+lint :=		ZRECORD =
+LDLIBS +=	$(ZRECORD) -lmapmalloc $(DLLIB) -lc
 
 LINTFLAGS +=	-u
 LINTFLAGS64 +=	-u
--- a/usr/src/cmd/sgs/libelf/Makefile.com	Mon Jan 14 11:57:29 2008 -0800
+++ b/usr/src/cmd/sgs/libelf/Makefile.com	Mon Jan 14 12:21:55 2008 -0800
@@ -19,7 +19,7 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 # ident	"%Z%%M%	%I%	%E% SMI"
@@ -60,11 +60,6 @@
 
 include $(SRC)/cmd/sgs/Makefile.com
 
-#
-# Do not compile the libelf.a objects with the -xF flag
-#
-$(OBJS) :=	XFFLAG=
-
 WARLOCKFILES=	$(OBJECTS:%.o=wlocks/%.ll)
 
 MAPFILES =	../common/mapfile-common
--- a/usr/src/cmd/sgs/link_audit/Makefile.com	Mon Jan 14 11:57:29 2008 -0800
+++ b/usr/src/cmd/sgs/link_audit/Makefile.com	Mon Jan 14 12:21:55 2008 -0800
@@ -19,7 +19,7 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 # ident	"%Z%%M%	%I%	%E% SMI"
@@ -30,8 +30,6 @@
 
 NO_ASM_WARN=	-erroff=E_ASM_DISABLES_OPTIMIZATION
 
-ZIGNORE=
-
 SGSPROTO=	../../proto/$(MACH)
 
 TRUSSLIB=	truss.so.1
@@ -82,11 +80,11 @@
 $(SYMBINDREP):=	PICS = $(SYMBINDREPPICS)
 $(BINDLIB):=	PICS = $(BINDPICS)
 
-$(TRUSSLIB):=	LDLIBS += -lmapmalloc -lc
-$(PERFLIB):=	LDLIBS += -lmapmalloc -lc
-$(WHOLIB):=	LDLIBS += $(ELFLIBDIR) -lelf -lmapmalloc $(DLLIB) -lc
-$(SYMBINDREP):=	LDLIBS += -lmapmalloc -lc
-$(BINDLIB):=	LDLIBS += -lmapmalloc -lc
+$(TRUSSLIB):=	LDLIBS += $(ZRECORD) -lmapmalloc -lc
+$(PERFLIB):=	LDLIBS += $(ZRECORD) -lmapmalloc -lc
+$(WHOLIB):=	LDLIBS += $(ELFLIBDIR) -lelf $(ZRECORD) -lmapmalloc $(DLLIB) -lc
+$(SYMBINDREP):=	LDLIBS += $(ZRECORD) -lmapmalloc -lc
+$(BINDLIB):=	LDLIBS += $(ZRECORD) -lmapmalloc -lc
 
 $(TRUSSLIB):=	SONAME = $(TRUSSLIB)
 $(PERFLIB):=	SONAME = $(PERFLIB)
--- a/usr/src/cmd/sgs/packages/common/SUNWonld-README	Mon Jan 14 11:57:29 2008 -0800
+++ b/usr/src/cmd/sgs/packages/common/SUNWonld-README	Mon Jan 14 12:21:55 2008 -0800
@@ -1194,10 +1194,12 @@
 6568745 segfault when using LD_DEBUG with bit_audit library when instrumenting
 	mozilla (D)
 	PSARC/2007/413 Add -zglobalaudit option to ld
+6602294 ps_pbrandname breaks apps linked directly against librtld_db
+	(link-editor components only) 
 --------------------------------------------------------------------------------
 All the above changes are incorporated in the following patches:
-    Solaris/SunOS 5.10_sparc	patch T127111-XX
-    Solaris/SunOS 5.10_x86	patch T127112-XX
+    Solaris/SunOS 5.10_sparc	patch T127111-07
+    Solaris/SunOS 5.10_x86	patch T127112-07
 --------------------------------------------------------------------------------
 
 --------------
@@ -1277,8 +1279,6 @@
 	shared object reference
 6595139 various applications should export yy* global variables for libl
 6597841 gelf_getdyn() reads one too many dynamic entries
-6602294 ps_pbrandname breaks apps linked directly against librtld_db
-	(link-editor components only)
 6603313 dlclose() can fail to unload objects after fix for 6573641
 6234471 need a way to edit ELF objects (D)
 	PSARC/2007/509 elfedit
@@ -1305,3 +1305,4 @@
 	usr/src/common/elfcap
 6642769 ld(1) -z combreloc should become default behavior (D)
 	PSARC/2008/006: make ld(1) -z combreloc become default behavior
+6634436 XFFLAG should be updated.  (link-editor components only)
--- a/usr/src/lib/gss_mechs/mech_dh/backend/Makefile.com	Mon Jan 14 11:57:29 2008 -0800
+++ b/usr/src/lib/gss_mechs/mech_dh/backend/Makefile.com	Mon Jan 14 12:21:55 2008 -0800
@@ -19,7 +19,7 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 # ident	"%Z%%M%	%I%	%E% SMI"
@@ -57,6 +57,8 @@
 $(PICS) :=	CFLAGS64 += $(XFFLAG)
 $(PICS) :=	CCFLAGS64 += $(XFFLAG)
 
+DYNFLAGS +=	$(ZIGNORE)
+
 LIBS = $(DYNLIB)
 LIBNAME = $(LIBRARY:%.a=%)
 
--- a/usr/src/lib/gss_mechs/mech_dh/dh1024/Makefile.com	Mon Jan 14 11:57:29 2008 -0800
+++ b/usr/src/lib/gss_mechs/mech_dh/dh1024/Makefile.com	Mon Jan 14 12:21:55 2008 -0800
@@ -19,7 +19,7 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 # ident	"%Z%%M%	%I%	%E% SMI"
@@ -54,6 +54,8 @@
 $(PICS) :=	CFLAGS64 += $(XFFLAG)
 $(PICS) :=	CCFLAGS64 += $(XFFLAG)
 
+DYNFLAGS +=	$(ZIGNORE)
+
 LIBS = $(DYNLIB)
 LIBNAME = $(LIBRARY:%.a=%)
 
--- a/usr/src/lib/gss_mechs/mech_dh/dh192/Makefile.com	Mon Jan 14 11:57:29 2008 -0800
+++ b/usr/src/lib/gss_mechs/mech_dh/dh192/Makefile.com	Mon Jan 14 12:21:55 2008 -0800
@@ -19,7 +19,7 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 # ident	"%Z%%M%	%I%	%E% SMI"
@@ -54,6 +54,8 @@
 $(PICS) :=	CFLAGS64 += $(XFFLAG)
 $(PICS) :=	CCFLAGS64 += $(XFFLAG)
 
+DYNFLAGS +=	$(ZIGNORE)
+
 LIBS = $(DYNLIB)
 LIBNAME = $(LIBRARY:%.a=%)
 
--- a/usr/src/lib/gss_mechs/mech_dh/dh640/Makefile.com	Mon Jan 14 11:57:29 2008 -0800
+++ b/usr/src/lib/gss_mechs/mech_dh/dh640/Makefile.com	Mon Jan 14 12:21:55 2008 -0800
@@ -19,7 +19,7 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 # ident	"%Z%%M%	%I%	%E% SMI"
@@ -54,6 +54,8 @@
 $(PICS) :=	CFLAGS64 += $(XFFLAG)
 $(PICS) :=	CCFLAGS64 += $(XFFLAG)
 
+DYNFLAGS +=	$(ZIGNORE)
+
 LIBS = $(DYNLIB)
 LIBNAME = $(LIBRARY:%.a=%)
 
--- a/usr/src/lib/gss_mechs/mech_krb5/Makefile.com	Mon Jan 14 11:57:29 2008 -0800
+++ b/usr/src/lib/gss_mechs/mech_krb5/Makefile.com	Mon Jan 14 12:21:55 2008 -0800
@@ -19,7 +19,7 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 # ident	"%Z%%M%	%I%	%E% SMI"
@@ -260,8 +260,10 @@
 $(EXPORT_RELEASE_BUILD)include $(CLOSED)/lib/gss_mechs/mech_krb5/Makefile.export
 
 #CPPFLAGS += 	-D_REENTRANT
-$(PICS) := 	CFLAGS += $(XFFLAG)
-$(PICS) := 	CCFLAGS += $(XFFLAG)
+$(PICS) :=	CFLAGS += $(XFFLAG)
+$(PICS) :=	CFLAGS64 += $(XFFLAG)
+$(PICS) :=	CCFLAGS += $(XFFLAG)
+$(PICS) :=	CCFLAGS64 += $(XFFLAG)
 
 LIBS = $(DYNLIB) $(K5LIBLINK)
 
--- a/usr/src/lib/krb5/ss/Makefile.com	Mon Jan 14 11:57:29 2008 -0800
+++ b/usr/src/lib/krb5/ss/Makefile.com	Mon Jan 14 12:21:55 2008 -0800
@@ -19,7 +19,7 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 # ident	"%Z%%M%	%I%	%E% SMI"
@@ -69,7 +69,7 @@
 
 CFLAGS +=	$(CCVERBOSE) -I..
 
-DYNFLAGS +=	$(KRUNPATH) $(KMECHLIB)
+DYNFLAGS +=	$(KRUNPATH) $(KMECHLIB) $(ZIGNORE)
 
 LDLIBS +=	-lc
 
--- a/usr/src/lib/rpcsec_gss/Makefile.com	Mon Jan 14 11:57:29 2008 -0800
+++ b/usr/src/lib/rpcsec_gss/Makefile.com	Mon Jan 14 12:21:55 2008 -0800
@@ -19,7 +19,7 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 # ident	"%Z%%M%	%I%	%E% SMI"
@@ -35,7 +35,11 @@
 
 CPPFLAGS +=     -D_REENTRANT -I$(SRC)/uts/common/gssapi/include  \
 		-I$(SRC)/uts/common
-CFLAGS += $(XFFLAG)
+ 
+CFLAGS +=	$(XFFLAG)
+CFLAGS64 +=	$(XFFLAG)
+
+DYNFLAGS +=	$(ZIGNORE)
 
 LINTSRC=	$(LINTLIB:%.ln=%)