Subject: Re: compat_solaris
To: None <port-sparc64@NetBSD.ORG>
From: Michael <macallan18@earthlink.net>
List: port-sparc64
Date: 02/06/2005 18:38:20
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
after digging around a bit more I found where the loader barfs - it's
in sys/kern/exec_elf32.c
ELFNAME(check_header)
it bails because opera's eh->e_shnum is 15850 which is significantly
larger than 1024.
So - what's the purpose of this field in the ELF header? Why bail if
it's >1024?
Sorry, my knowledge of the ELF standard is next to nonexistent.
have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iQEVAwUBQgaqbMpnzkX8Yg2nAQI7Wwf/U+wrtSOKnEz97AJ/sOEh3GGXS7q6Ibuf
/iAj7X8KGQLVFjgZwpgcgOMNOIHpCeKk4hv8RW0ecXSO3JHKE1FmJesTf6D8Egp9
HwSzWFoCl6edJxl82r/d/T7tEQ0RtT1UdeHlDr9XU3Q2TJzIoPgs93ljZnU8o6KK
0qlNj31vnqB5ZMKhitVNuRmQAXgycgCw701lHnLe5M4IiWIN7H/KOiv/foEpAE8W
9A6mr1O1jiiyH7tM3SMB7ovehPLSux0XYDV08gc4Db4onOD2Yff07Nl3CN6IlQyL
gW5O2x/e5/Um0s44QRMsU7XzuiinNSAzpwIO/GtKjnFT/Z15esQyeg==
=Pron
-----END PGP SIGNATURE-----