Date: Sat, 12 Oct 2002 19:52:23 -0700 (PDT) From: Marcel Moolenaar <marcel@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/conf kern.mk src/share/mk bsd.kern.mk Message-ID: <200210130252.g9D2qNvg012695@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210130252.g9D2qNvg012695>
