This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Use GCC's crtstuff on NetBSD 1.7 and later


The following switches NetBSD configs for NetBSD 1.7 and later to
use GCC's crtstuff.

Bootstrapped on alpha-netbsd, mipseb-netbsd, i386-netbsdelf.  Cross
compilers for arm-netbsdelf and sparc64-netbsd also verified to DTRT.

Committed to mainline.

	* config.gcc (*-*-netbsd*1.[7-9]*, *-*-netbsd*[2-9]*): Set
	extra_parts to "crtbegin.o crtend.o crtbeginS.o crtendS.o
	crtbeginT.o".
	(arm*-*-netbsd*, i[34567]86-*-netbsd*, m68k*-*-netbsd*)
	(ns32k-*-netbsd*, sparc-*-netbsd*, vax-*-netbsd*): Set extra_parts
	to "" for a.out configurations.
	* config/t-netbsd (CRTSTUFF_T_CFLAGS): Set to "-fPIC".

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>

Attachment: nbsd-crtstuff-patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]