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
*** 101,115 ****
install: all $(ROOTPROG) $(ROOTXPG4PROG) $(ROOTXPG6PROG)
$(RM) $(ROOTBIN)/red
$(LN) $(ROOTBIN)/ed $(ROOTBIN)/red
! values-xpg4.o: ../../lib/common/common/values-xpg4.c
! $(COMPILE.c) -o $@ ../../lib/common/common/values-xpg4.c
! values-xpg6.o: ../../lib/common/common/values-xpg6.c
! $(COMPILE.c) -o $@ ../../lib/common/common/values-xpg6.c
clean:
-@rm -rf $(OBJS) $(XPG4) $(XPG6) edobjs.xpg4 edobjs.xpg6 \
compile.c.i
--- 101,115 ----
install: all $(ROOTPROG) $(ROOTXPG4PROG) $(ROOTXPG6PROG)
$(RM) $(ROOTBIN)/red
$(LN) $(ROOTBIN)/ed $(ROOTBIN)/red
! values-xpg4.o: ../../lib/crt/common/values-xpg4.c
! $(COMPILE.c) -o $@ ../../lib/crt/common/values-xpg4.c
! values-xpg6.o: ../../lib/crt/common/values-xpg6.c
! $(COMPILE.c) -o $@ ../../lib/crt/common/values-xpg6.c
clean:
-@rm -rf $(OBJS) $(XPG4) $(XPG6) edobjs.xpg4 edobjs.xpg6 \
compile.c.i