. file- and functionality-compatible with previous situation (FreeBSD csu) (with a crt1.o -> crt0.o symlink in /usr/lib) . harmonizes source with netbsd . harmonizes linker invocation (e.g. clang) with netbsd . helpful to get some arm code in there for the arm port project
10 lines
216 B
Makefile
10 lines
216 B
Makefile
# $NetBSD: Makefile.inc,v 1.11 2009/09/19 14:54:17 skrll Exp $
|
|
|
|
SRCS+= rtld_start.S mdreloc.c
|
|
|
|
# XXX Should not be in CPPFLAGS!
|
|
CPPFLAGS+= -fpic
|
|
|
|
CPPFLAGS+= -DELFSIZE=32
|
|
|
|
LDFLAGS+= -Wl,-Bsymbolic -Wl,-e,_rtld_start
|