Print this page
11461 should use a native link-editor during the build
11463 SUNWonld has passed its use-by date
11464 cmd/sgs/tools should contain tools, not common code
11465 sgsmsg should be built with the rest of the build tools
*** 27,43 ****
RTLD= ld.so.1
AVLOBJ= avl.o
DTROBJ= dtrace_data.o
! TOOLOBJS= alist.o strhash.o
BLTOBJ= msg.o
ELFCAPOBJ= elfcap.o
OBJECTS= $(BLTOBJ) \
$(AVLOBJ) \
$(DTROBJ) \
! $(TOOLOBJS) \
$(ELFCAPOBJ) \
$(P_ASOBJS) $(P_COMOBJS) $(P_MACHOBJS) $(G_MACHOBJS) \
$(S_ASOBJS) $(S_COMOBJS) $(S_MACHOBJS) $(CP_MACHOBJS)
COMOBJS= $(P_COMOBJS) $(S_COMOBJS)
--- 27,43 ----
RTLD= ld.so.1
AVLOBJ= avl.o
DTROBJ= dtrace_data.o
! SGSCOMMONOBJ= alist.o strhash.o
BLTOBJ= msg.o
ELFCAPOBJ= elfcap.o
OBJECTS= $(BLTOBJ) \
$(AVLOBJ) \
$(DTROBJ) \
! $(SGSCOMMONOBJ) \
$(ELFCAPOBJ) \
$(P_ASOBJS) $(P_COMOBJS) $(P_MACHOBJS) $(G_MACHOBJS) \
$(S_ASOBJS) $(S_COMOBJS) $(S_MACHOBJS) $(CP_MACHOBJS)
COMOBJS= $(P_COMOBJS) $(S_COMOBJS)
*** 73,86 ****
ROOTDYNLIB64= $(RTLD:%=$(ROOTFS_LIBDIR64)/%)
FILEMODE = 755
! CPPFLAGS += -I$(SRCBASE)/lib/libc/inc \
! -I$(SRCBASE)/uts/common/krtld \
! -I$(SRCBASE)/uts/$(PLAT) \
! -I$(SRCBASE)/uts/$(PLAT)/krtld \
-I$(SRC)/common/sgsrtcid \
-I$(ELFCAP) \
$(CPPFEATUREMACROS)
ASFLAGS= -P -D_ASM $(CPPFLAGS)
--- 73,86 ----
ROOTDYNLIB64= $(RTLD:%=$(ROOTFS_LIBDIR64)/%)
FILEMODE = 755
! CPPFLAGS += -I$(SRC)/lib/libc/inc \
! -I$(SRC)/uts/common/krtld \
! -I$(SRC)/uts/$(PLAT) \
! -I$(SRC)/uts/$(PLAT)/krtld \
-I$(SRC)/common/sgsrtcid \
-I$(ELFCAP) \
$(CPPFEATUREMACROS)
ASFLAGS= -P -D_ASM $(CPPFLAGS)
*** 99,113 ****
# This is required for the system's self-consistency in any case.
CPICLIB = $(VAR_RTLD_CPICLIB)
CPICLIB64 = $(VAR_RTLD_CPICLIB64)
CLIB = -lc_pic
! LDLIBS += $(CONVLIBDIR) $(CONV_LIB) \
$(CPICLIB) $(CLIB) \
! $(LDDBGLIBDIR) $(LDDBG_LIB) \
$(RTLDLIB) -lrtld \
! $(LDLIB) $(LD_LIB)
DYNFLAGS += -i -e _rt_boot $(VERSREF) $(ZNODLOPEN) \
$(ZINTERPOSE) -zdtrace=dtrace_data '-R$$ORIGIN'
BUILD.s= $(AS) $(ASFLAGS) $< -o $@
--- 99,113 ----
# This is required for the system's self-consistency in any case.
CPICLIB = $(VAR_RTLD_CPICLIB)
CPICLIB64 = $(VAR_RTLD_CPICLIB64)
CLIB = -lc_pic
! LDLIBS += $(CONVLIBDIR) -lconv \
$(CPICLIB) $(CLIB) \
! $(LDDBGLIBDIR) -llddbg \
$(RTLDLIB) -lrtld \
! $(LDLIB) -lld
DYNFLAGS += -i -e _rt_boot $(VERSREF) $(ZNODLOPEN) \
$(ZINTERPOSE) -zdtrace=dtrace_data '-R$$ORIGIN'
BUILD.s= $(AS) $(ASFLAGS) $< -o $@
*** 136,148 ****
SGSMSGFLAGS1= $(SGSMSGFLAGS) -m $(BLTMESG)
SGSMSGFLAGS2= $(SGSMSGFLAGS) -h $(BLTDEFS) -d $(BLTDATA) -n rtld_msg
SRCS= $(AVLOBJ:%.o=$(VAR_AVLDIR)/%.c) \
$(DTROBJ:%.o=$(VAR_DTRDIR)/%.c) \
! $(TOOLOBJS:%.o=$(SGSTOOLS)/common/%.c) \
$(COMOBJS:%.o=../common/%.c) $(MACHOBJS:%.o=%.c) $(BLTDATA) \
! $(G_MACHOBJS:%.o=$(SRCBASE)/uts/$(PLAT)/krtld/%.c) \
$(CP_MACHOBJS:%.o=../$(MACH)/%.c) \
$(ASOBJS:%.o=%.s)
CLEANFILES += $(CRTS) $(BLTFILES)
CLOBBERFILES += $(RTLD)
--- 136,148 ----
SGSMSGFLAGS1= $(SGSMSGFLAGS) -m $(BLTMESG)
SGSMSGFLAGS2= $(SGSMSGFLAGS) -h $(BLTDEFS) -d $(BLTDATA) -n rtld_msg
SRCS= $(AVLOBJ:%.o=$(VAR_AVLDIR)/%.c) \
$(DTROBJ:%.o=$(VAR_DTRDIR)/%.c) \
! $(SGSCOMMONOBJ:%.o=$(SGSCOMMON)/%.c) \
$(COMOBJS:%.o=../common/%.c) $(MACHOBJS:%.o=%.c) $(BLTDATA) \
! $(G_MACHOBJS:%.o=$(SRC)/uts/$(PLAT)/krtld/%.c) \
$(CP_MACHOBJS:%.o=../$(MACH)/%.c) \
$(ASOBJS:%.o=%.s)
CLEANFILES += $(CRTS) $(BLTFILES)
CLOBBERFILES += $(RTLD)