re PR libgcj/49451 (FileHandleGcTest FAILS on IRIX)
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Wed, 29 Jun 2011 08:19:08 +0000 (08:19 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Wed, 29 Jun 2011 08:19:08 +0000 (08:19 +0000)
commitbdd98b6edc408fda6e065938af0bab021ec0c66e
treea4074fd2d15845bc509087d4cd217b78a36829c3
parenta0f33d3a128be9cc917198f93a13d451795b8175
re PR libgcj/49451 (FileHandleGcTest FAILS on IRIX)

PR libgcj/49451
* include/private/gcconfig.h [IRIX5 && _MIPS_SZPTR == 64]
(ELF_CLASS): Define.
* dyn_load.c [IRIX5]: Include <elf.h>.
Include <obj.h> for O32, <objlist.h> for N32, N64.
[SUNOS5DL && USE_PROC_FOR_LIBRARIES] (obj_offset): Define.
[SUNOS4 && USE_PROC_FOR_LIBRARIES] (obj_offset): Define.
[IRIX5 && !USE_PROC_FOR_LIBRARIES] (struct link_map): Define.
(__rld_obj_head): Declare.
(l_next, l_addr, obj_offset): Define.
(GC_FirstDLOpenedLinkMap): New function.
[SUNOS4 || SUNOS5DL] (GC_register_dynamic_libraries): Also use on
IRIX5.
Use obj_offset.
[IRIX5 || (USE_PROC_FOR_LIBRARIES && !LINUX]
(GC_register_dynamic_libraries): Don't use /proc version on IRIX5.

From-SVN: r175623
boehm-gc/ChangeLog
boehm-gc/dyn_load.c
boehm-gc/include/private/gcconfig.h