Update comment for DT_INIT_ARRAY
Andreas Jaeger
aj@suse.de
Fri Mar 31 02:47:00 GMT 2000
Hi Uli,
since DT_INIT_ARRAY is not reallocated anymore, we should update the
comment in ldsodefs.h.
I've committed the appended patch.
Andreas
2000-03-31 Andreas Jaeger <aj@suse.de>
* sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
anymore, update comment.
============================================================
Index: sysdeps/generic/ldsodefs.h
--- sysdeps/generic/ldsodefs.h 2000/03/30 16:26:15 1.2
+++ sysdeps/generic/ldsodefs.h 2000/03/31 10:46:03
@@ -38,10 +38,10 @@
/* All references to the value of l_info[DT_PLTGOT],
l_info[DT_STRTAB], l_info[DT_SYMTAB], l_info[DT_RELA],
- l_info[DT_REL], l_info[DT_JMPREL], l_info[VERSYMIDX (DT_VERSYM)],
- and l_info[DT_INIT_ARRAY] have to accessed via the D_PTR macro. The
- macro is needed since for most architectures the entry is already
- relocated - but for some not and we need to relocate at access time. */
+ l_info[DT_REL], l_info[DT_JMPREL], and l_info[VERSYMIDX (DT_VERSYM)]
+ have to accessed via the D_PTR macro. The macro is needed since for
+ most architectures the entry is already relocated - but for some not
+ and we need to relocate at access time. */
#ifdef DL_RO_DYN_SECTION
# define D_PTR(map,i) (map->i->d_un.d_ptr + map->l_addr)
#else
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.rhein-neckar.de
More information about the Libc-hacker
mailing list