Home | History | Annotate | Line # | Download | only in mips
Makefile.inc revision 1.5
      1  1.5        pk #	$NetBSD: Makefile.inc,v 1.5 1999/02/27 10:44:27 pk Exp $
      2  1.1    mhitch 
      3  1.1    mhitch SRCS+=	rtld_start.S mips_reloc.c
      4  1.1    mhitch 
      5  1.1    mhitch CPPFLAGS+= -mabicalls -G0 -fPIC -DELFSIZE=32 -I${.CURDIR}
      6  1.5        pk CPPFLAGS+= -DRTLD_INHIBIT_COPY_RELOCS
      7  1.1    mhitch 
      8  1.1    mhitch .if (${MACHINE} == "newsmips")
      9  1.1    mhitch # UGH!  ld.so.script specifies little-endian; need to override that here
     10  1.1    mhitch LDFLAGS+= -EB
     11  1.1    mhitch .endif
     12  1.1    mhitch 
     13  1.2   thorpej LDFLAGS+= -Bshareable -Bsymbolic -e .rtld_start
     14  1.4  christos LDFLAGS+= --script ${.CURDIR}/arch/mips/ld.so.script
     15  1.1    mhitch 
     16  1.1    mhitch # Link ld.so for backward compatibility with old binaries
     17  1.3    mhitch LINKS+=	/usr/libexec/${PROG} /usr/libexec/ld.so
     18