From nobody@FreeBSD.org  Sat May  5 16:30:31 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id B3DF81065679
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  5 May 2012 16:30:31 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 508F68FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  5 May 2012 16:30:31 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q45GUVJM083118
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 5 May 2012 16:30:31 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q45GUVtV083105;
	Sat, 5 May 2012 16:30:31 GMT
	(envelope-from nobody)
Message-Id: <201205051630.q45GUVtV083105@red.freebsd.org>
Date: Sat, 5 May 2012 16:30:31 GMT
From: Marcel Moolenaar <marcel@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [ia64] Implement revision 232832
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         167618
>Category:       ia64
>Synopsis:       [ia64] Implement revision 232832
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ia64
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 05 16:40:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Marcel Moolenaar
>Release:        10.0-CURRENT
>Organization:
>Environment:
FreeBSD eris.freebsd.org 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r235021M: Sat May  5 16:11:19 UTC 2012     marcel@eris.freebsd.org:/sys/ia64/compile/ERIS  ia64
>Description:
Revision 232832 changes the CRT behavior by not calling _init and _fini methods for dynamically linked executables. For statically linked executables, the preinit, init and fini arrays methods are being called though. The common CRT logic was factored out and put in a separate file.

All of this was not done for ia64 because crt1 is written in assembly and not C.

The changes need to be ported to ia64 and crt1 should possibly be rewritten in C.

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
