Home | History | Annotate | Line # | Download | only in mips
Makefile.inc revision 1.8
      1  1.8   thorpej #	$NetBSD: Makefile.inc,v 1.8 2001/12/14 22:21:47 thorpej Exp $
      2  1.1    mhitch 
      3  1.1    mhitch SRCS+=	rtld_start.S mips_reloc.c
      4  1.1    mhitch 
      5  1.8   thorpej COPTS+=	-mabicalls -G0 -fPIC
      6  1.8   thorpej 
      7  1.8   thorpej CPPFLAGS+= -DELFSIZE=32 -I${.CURDIR}
      8  1.5        pk CPPFLAGS+= -DRTLD_INHIBIT_COPY_RELOCS
      9  1.1    mhitch 
     10  1.7    castor .if (${MACHINE_ARCH} == "mipseb")
     11  1.1    mhitch # UGH!  ld.so.script specifies little-endian; need to override that here
     12  1.1    mhitch LDFLAGS+= -EB
     13  1.1    mhitch .endif
     14  1.1    mhitch 
     15  1.2   thorpej LDFLAGS+= -Bshareable -Bsymbolic -e .rtld_start
     16  1.4  christos LDFLAGS+= --script ${.CURDIR}/arch/mips/ld.so.script
     17