Print this page
crt: Need a position-independent CRT for PIE
- Implement the greatest possible part of the crt1 in C
- Implement SPARC versions of the ASM sections of crt1
- Build crt1 position-independently, minor ASM updates to be position
  independent
- Implement crt1 with the hook expected by modern GCC to support
  profiling, make gcrt1 a symlink for source compatibility (older GCC
  initializes profiling at firsnt use of _mcount if necessary, so
  doesn't need the gcrt)
- Split the CRT out of developer/library/lint into a separate c-runtime package


  53 POFILE= awk_xpg4.po
  54 POFILES= $(OBJ1:%.o=%.po) $(OBJ2:%.o=%.po)
  55 
  56 .KEEP_STATE:
  57 
  58 .PARALLEL:      $(OBJS)
  59 
  60 all: $(XPG4)
  61 
  62 $(XPG4): $(OBJS)
  63         $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
  64         $(POST_PROCESS)
  65 
  66 $(POFILE): $(POFILES)
  67         $(RM) $@
  68         cat $(POFILES) > $@
  69 #
  70 
  71 install: all $(ROOTXPG4PROG)
  72 
  73 values-xpg4.o: ../../lib/common/common/values-xpg4.c
  74         $(COMPILE.c) -o $@ ../../lib/common/common/values-xpg4.c
  75 
  76 clean:
  77         $(RM) $(OBJS) $(XPG4) $(CLEANFILES)
  78 
  79 lint: lint_SRCS
  80 
  81 awk.c + y.tab.h: awk.y
  82 
  83 awk.o: awk.c y.tab.h
  84 
  85 awk0.c: awk.c y.tab.h
  86 
  87 awk1.c: awk.c y.tab.h
  88 
  89 awk2.c: awk.c y.tab.h
  90 
  91 awk3.c: awk.c y.tab.h
  92 
  93 awk4.c: awk.c y.tab.h
  94 


  53 POFILE= awk_xpg4.po
  54 POFILES= $(OBJ1:%.o=%.po) $(OBJ2:%.o=%.po)
  55 
  56 .KEEP_STATE:
  57 
  58 .PARALLEL:      $(OBJS)
  59 
  60 all: $(XPG4)
  61 
  62 $(XPG4): $(OBJS)
  63         $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
  64         $(POST_PROCESS)
  65 
  66 $(POFILE): $(POFILES)
  67         $(RM) $@
  68         cat $(POFILES) > $@
  69 #
  70 
  71 install: all $(ROOTXPG4PROG)
  72 
  73 values-xpg4.o: ../../lib/crt/common/values-xpg4.c
  74         $(COMPILE.c) -o $@ ../../lib/crt/common/values-xpg4.c
  75 
  76 clean:
  77         $(RM) $(OBJS) $(XPG4) $(CLEANFILES)
  78 
  79 lint: lint_SRCS
  80 
  81 awk.c + y.tab.h: awk.y
  82 
  83 awk.o: awk.c y.tab.h
  84 
  85 awk0.c: awk.c y.tab.h
  86 
  87 awk1.c: awk.c y.tab.h
  88 
  89 awk2.c: awk.c y.tab.h
  90 
  91 awk3.c: awk.c y.tab.h
  92 
  93 awk4.c: awk.c y.tab.h
  94