This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Update comment for DT_INIT_ARRAY



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]