Use PRINTOBJDIR to get the object directory of libc and use that with -I.
Add -D_REENTRANT
For cerror, allow -I../libc to allow inclusion of any assym.h, if up.
Let libposix and librt have their own version of __cerror (__posix_cerror and__rt_cerror). This enables each library (including libc) the oppurtunity tomake its __cerror hidden and avoid being cal
Let libposix and librt have their own version of __cerror (__posix_cerror and__rt_cerror). This enables each library (including libc) the oppurtunity tomake its __cerror hidden and avoid being called via the PLT. No user visibledifferences to no need to bump the minor number.
show more ...
MAKEVERBOSE messages
Rework how dependency generation is performed:* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES. This is a change of behaviour. If a Makefile wants the clean semantics it
Rework how dependency generation is performed:* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES. This is a change of behaviour. If a Makefile wants the clean semantics it must specifically append to CLEANFILES. Resolves PR toolchain/5204.* To recap: .d (depend) files are generated for all files in SRCS and DPSRCS that have a suffix of: .c .m .s .S .C .cc .cpp .cxx* If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES* Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d depend upon ${DPSRCS}* Deprecate the (short lived) DEPENDSRCSUpdate the various Makefiles to these new semantics; generally eitheradding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacingspecific .o dependencies with DPSRCS entries.Tested with "make -j 8 distribution" and "make distribution".
Use ${HOST_SH}
Make the generated .S files depend on ${.CURDIR}/sys/Makefile.inc.
Invoke makelintstub with CPP in the environment.
Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path (etc).(Reduces make output by ~ 20%)
Don't run makelintstub if MKLINT=no.
Update to match libc's new .S build rules.
Actually profile system calls.Problem and most of the fix reported by Anders Hjalmarsson in PR 4976; libposixmentioned by Chris G. Demetriou.
Some cleanup; g/c unneeded lint stub files.
make this build again after the mips->mipse? transition
Generate PSEUDO-stubs for chown(), fchown() and lchown(). Also, change theprefix of the actual syscall from "posix_" to "__posix_".
sh makelintstub, rather than trying to execute it directly
Instead of creating a .ln for each syscall stub, create one (big) .lnper class of syscall stubs. This is much more efficient (though it's stillpretty inefficient).This also fixes a problem with
Instead of creating a .ln for each syscall stub, create one (big) .lnper class of syscall stubs. This is much more efficient (though it's stillpretty inefficient).This also fixes a problem with syscall.h and DESTDIR which was prettywell buried in the old implementation.From Chris Demetriou <cgd@pa.dec.com>.
use CPPFLAGS instead of CFLAGS
Back out BUILDDIR and NOINSTALL changes.
DESTDIR -> BUILDDIR
Use toolchain-driven PIC flags to build .so files from assembler source,instead of inline tests on ${arch} and duplicate rules.
Add POSIX compatibility library.