Print this page
7322 ld(1) gets init/fini array section names wrong

@@ -971,12 +971,12 @@
 .na
 \fB\fB-z\fR \fBfiniarray=\fR\fIfunction\fR\fR
 .ad
 .sp .6
 .RS 4n
-Appends an entry to the \fB\&.finiarray\fR section of the object being built.
-If no \fB\&.finiarray\fR section is present, a section is created. The new
+Appends an entry to the \fB\&.fini_array\fR section of the object being built.
+If no \fB\&.fini_array\fR section is present, a section is created. The new
 entry is initialized to point to \fIfunction\fR. See \fIInitialization and
 Termination Sections\fR in \fILinker and Libraries Guide\fR.
 .RE
 
 .sp

@@ -1145,12 +1145,12 @@
 .na
 \fB\fB-z\fR \fBinitarray=\fR\fIfunction\fR\fR
 .ad
 .sp .6
 .RS 4n
-Appends an entry to the \fB\&.initarray\fR section of the object being built.
-If no \fB\&.initarray\fR section is present, a section is created. The new
+Appends an entry to the \fB\&.init_array\fR section of the object being built.
+If no \fB\&.init_array\fR section is present, a section is created. The new
 entry is initialized to point to \fIfunction\fR. See \fIInitialization and
 Termination Sections\fR in \fILinker and Libraries Guide\fR.
 .RE
 
 .sp