From owner-cvs-all Sat Oct 12 19:52:25 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2975637B401; Sat, 12 Oct 2002 19:52:24 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E18FE43EAA; Sat, 12 Oct 2002 19:52:23 -0700 (PDT) (envelope-from marcel@FreeBSD.org) Received: from freefall.freebsd.org (marcel@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9D2qNCo012696; Sat, 12 Oct 2002 19:52:23 -0700 (PDT) (envelope-from marcel@freefall.freebsd.org) Received: (from marcel@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9D2qNvg012695; Sat, 12 Oct 2002 19:52:23 -0700 (PDT) Message-Id: <200210130252.g9D2qNvg012695@freefall.freebsd.org> From: Marcel Moolenaar Date: Sat, 12 Oct 2002 19:52:23 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/conf kern.mk src/share/mk bsd.kern.mk X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG marcel 2002/10/12 19:52:23 PDT Modified files: sys/conf kern.mk share/mk bsd.kern.mk Log: ia64 specific CFLAGS change: Fix the "@gprel relocation against dynamic symbol xxx" linker error. Variables defined in the link unit and small enough to be put in the short data section will have a gp-relative access sequence (using the @gprel relocation). It is invalid to have @gprel relocations in shared libraries, because they are to be resolved by the static linker and not the dynamic linker. The -fpic option will cause @ltoff relocations for @gprel relocations, but the side-effects are untested (if any). Instead, disable/eliminate the short data section to achieve the same. Revision Changes Path 1.31 +1 -1 src/share/mk/bsd.kern.mk 1.31 +1 -1 src/sys/conf/kern.mk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message