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

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1/ld.1
          +++ new/usr/src/man/man1/ld.1
↓ open down ↓ 965 lines elided ↑ open up ↑
 966  966  .RE
 967  967  
 968  968  
 969  969  .sp
 970  970  .ne 2
 971  971  .na
 972  972  \fB\fB-z\fR \fBfiniarray=\fR\fIfunction\fR\fR
 973  973  .ad
 974  974  .sp .6
 975  975  .RS 4n
 976      -Appends an entry to the \fB\&.finiarray\fR section of the object being built.
 977      -If no \fB\&.finiarray\fR section is present, a section is created. The new
      976 +Appends an entry to the \fB\&.fini_array\fR section of the object being built.
      977 +If no \fB\&.fini_array\fR section is present, a section is created. The new
 978  978  entry is initialized to point to \fIfunction\fR. See \fIInitialization and
 979  979  Termination Sections\fR in \fILinker and Libraries Guide\fR.
 980  980  .RE
 981  981  
 982  982  .sp
 983  983  .ne 2
 984  984  .na
 985  985  \fB\fB-z\fR \fBglobalaudit\fR\fR
 986  986  .ad
 987  987  .sp .6
↓ open down ↓ 152 lines elided ↑ open up ↑
1140 1140  contributes to the link-edit, must reference an eliminated section.
1141 1141  .RE
1142 1142  
1143 1143  .sp
1144 1144  .ne 2
1145 1145  .na
1146 1146  \fB\fB-z\fR \fBinitarray=\fR\fIfunction\fR\fR
1147 1147  .ad
1148 1148  .sp .6
1149 1149  .RS 4n
1150      -Appends an entry to the \fB\&.initarray\fR section of the object being built.
1151      -If no \fB\&.initarray\fR section is present, a section is created. The new
     1150 +Appends an entry to the \fB\&.init_array\fR section of the object being built.
     1151 +If no \fB\&.init_array\fR section is present, a section is created. The new
1152 1152  entry is initialized to point to \fIfunction\fR. See \fIInitialization and
1153 1153  Termination Sections\fR in \fILinker and Libraries Guide\fR.
1154 1154  .RE
1155 1155  
1156 1156  .sp
1157 1157  .ne 2
1158 1158  .na
1159 1159  \fB\fB-z\fR \fBinitfirst\fR\fR
1160 1160  .ad
1161 1161  .sp .6
↓ open down ↓ 706 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX