Home | History | Annotate | Download | only in csu
History log of /src/lib/csu/Makefile
RevisionDateAuthorComments
 1.41  20-Apr-2021  christos Instead of compiling files with -fcommon, create an include file and declare
the 3 symbols that need to be common using an attribute. Put all the 3 symbol
definitions in libc in one place (initfini.c). Reviewed by joerg@
 1.40  22-Apr-2020  joerg Explicitly use -fcommon for globals shared between libc and CSU.
 1.39  27-Jan-2019  dholland fix duplicated chunk from merge
 1.38  27-Jan-2019  pgoyette Merge the [pgoyette-compat] branch
 1.37  26-Jul-2018  kamil Specify NOLIBCSANITIZER in lib/csu

The low-level libraries in csu are used in non-sanitized code.
 1.36  16-Jun-2018  kamil branches: 1.36.2;
Disable MKSANITIZER in lib/csu

These low-level libraries are expected to be not touched by a sanitizer.
Every libc program not using sanitizers cannot work with sanitized csu.
 1.35  10-Aug-2014  matt branches: 1.35.22;
MKCOMPAT fixes for when compat MACHINE_CPU != normal MACHINE_CPU
 1.34  22-Apr-2014  joerg Retire USE_COMPILERCRTSTUFF=yes.
 1.33  10-Sep-2013  matt branches: 1.33.2;
Add support for a NetBSD MARCH elf note to record the MACHINE_ARCH for
which a program was compiled.
 1.32  28-Apr-2013  matt Make all earm variants use earm.
 1.31  16-Jun-2012  joerg branches: 1.31.2;
Unbreak compat.
 1.30  16-Jun-2012  joerg Allow USE_COMPILERCRTSTUFF=yes for platforms that use MACHINE_CPU !=
MACHINE_ARCH.
 1.29  31-Jan-2011  drochner branches: 1.29.4;
use of .PARSEDIR just doesn't work with .OBJDIR, replace with .CURDIR
 1.28  28-Nov-2010  skrll branches: 1.28.2;
Centralise USE_COMPILERCRTSTUFF.

PCC might need help.
 1.27  07-Aug-2010  joerg Switch i386 and x86_64 to the new CRT layout. The crt0.c body is shared
between all platforms and a small assembler stub in crt0.S is used for
setting up the proper stack and whatever else MD needs.

Extract crti.S and crtn. from the old dot_init.h files. Prepare other
platforms that use the 6-argument form of __(_)start for this.

Rewrite the crtbegin and crtend modules in assembler to make them
compiler independent. Document the interface in README.
 1.26  05-Jul-2010  mrg delete all the a.out csu code.
 1.25  13-Dec-2009  mrg look for ${CSU_MACHINE_ARCH}_elf directory first.
 1.24  02-May-2002  wiz branches: 1.24.40; 1.24.46;
${MACHINE_ARCH} != "arm32" is always true now, so remove it from an if.
 1.23  10-Jan-2001  enami - Fix typo
- Wrap long line
 1.22  08-Jan-2001  itojun use MACIHNE_CPU to determine architecture-dependent source code directory.
is use of exists(foo) safe enough?
TODO: many other places to fix
 1.21  04-Jan-2001  itojun sh3 split
 1.20  02-Jul-1999  simonb More trailing white space.
 1.19  19-Mar-1999  thorpej Oops, revert previous; thinko.
 1.18  19-Mar-1999  thorpej Go ahead and built c++rt0.o on all non-ELF platforms (i.e. including arm32;
the hacks to make this work have been committed).
 1.17  16-Mar-1999  thorpej Don't build c++rt.o if ELF.
 1.16  27-Feb-1999  tv This needs to use C///, not S///.
 1.15  27-Feb-1999  tv Clean up mipse[bl]->mips substitution.
 1.14  24-Feb-1999  drochner make this build again after the mips->mipse? transition
 1.13  03-Feb-1999  christos If object_fmt == elf and we have machine_elf, build that one.
 1.12  21-Jan-1999  mycroft Do not build on arm32 by default.
This is temporary.
 1.11  28-Mar-1998  cgd GC alpha's ECOFF_TOOLCHAIN make variable, and related bits. Nobody
should be using an ECOFF toolchain on NetBSD/alpha any more.
 1.10  16-Apr-1997  thorpej NetBSD/powerpc doesn't use the "generic" c++rt0.o
 1.9  23-Feb-1997  explorer Someone forgot a line continuation character
 1.8  23-Feb-1997  cgd turn Alpha's ELF_TOOLCHAIN checks to ECOFF_TOOLCHAIN checks
 1.7  18-Oct-1996  thorpej RCS id police.
 1.6  08-Oct-1996  cgd add a hack so that old- and new-toolchain alphas do the right thing:
include bsd.own.mk early on, and if !alpha or if !ELF_TOOLCHAIN,
build c++rt0.o. ELF alphas don't use the 'normal' C++ runtime startup
routines. Eventually, there should be better ways to distinguish what
toolchain and object format is in use, and the Alpha C++ startup code
changes should be merged with that used by the other ports.
 1.5  10-Jan-1994  deraadt c++ not g++
 1.4  05-Jan-1994  pk Subdirectory g++ contains C++ shared library helper routines.
 1.3  04-Dec-1993  cgd use MACHINE_ARCH to pick which crt0 to use.
 1.2  18-May-1993  cgd oops; last time i moved stuff, was to the wrong place...
don't use csu.* any more, just use *...
 1.1  18-May-1993  cgd move csu.${MACHINE} into a "csu" subdirectory.
 1.24.46.1  14-Dec-2009  mrg s/LD32DIR/MLIBDIR/ in most places, also look for CSU_MACHINE_ARCH.
 1.24.40.1  06-Jan-2011  riz Apply patch (requested by mrg in ticket #1499):

src/compat version 2. this allows building any number of alternate
library / program target ABIs. rather than duplicating the list of
subdirs and Makefiles to build, it re-traverses the necessary ones.
details:
- add support for MAKEDIRTARGETENV to share/mk
- renames LD32DIR to MLIBDIR
- fixes library builds for some subdirs (more was built than needed)
- fixes /bin & /sbin apps in compat mode
- reduces complexity in src/compat and the rest of the tree
- updates ldd netbsd32 support
 1.28.2.1  08-Feb-2011  bouyer Sync with HEAD
 1.29.4.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.29.4.1  30-Oct-2012  yamt sync with head
 1.31.2.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.31.2.1  23-Jun-2013  tls resync from head
 1.33.2.1  10-Aug-2014  tls Rebase.
 1.35.22.2  28-Jul-2018  pgoyette Sync with HEAD
 1.35.22.1  25-Jun-2018  pgoyette Sync with HEAD
 1.36.2.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed