mention i386 csu issue.

This commit is contained in:
christos 2006-05-17 16:42:59 +00:00
parent 94b00d6e09
commit 86c6d5fcc9
1 changed files with 9 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: HACKS,v 1.65 2006/05/15 04:55:13 christos Exp $
# $NetBSD: HACKS,v 1.66 2006/05/17 16:42:59 christos Exp $
#
# This file is intended to document workarounds for currently unsolved
# (mostly) compiler bugs.
@ -288,6 +288,14 @@ descr
-fno-strict-aliasing.
kcah
hack gcc4 _DYNAMIC problem
file lib/csu/i386_elf/crt0.c : 1.14
descr
GCC4.1 seems to be confused with the weak symbol _DYNAMIC and does
not produce code that references it. Static binaries fail because of
this since _rtld_setup gets called. For now, check for obj != NULL
so that statically linked binaries work.
kcah
port vax