01bc9d5012
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.
6 lines
89 B
Makefile
6 lines
89 B
Makefile
# $NetBSD: Makefile.inc,v 1.1 2010/08/07 18:01:33 joerg Exp $
|
|
|
|
CPPFLAGS+= -DELFSIZE=32
|
|
|
|
|