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

@@ -684,12 +684,12 @@
 
 
 
        -z finiarray=function
 
-           Appends an entry to the .finiarray section of the object being
-           built.  If no .finiarray section is present, a section is created.
+           Appends an entry to the .fini_array section of the object being
+           built.  If no .fini_array section is present, a section is created.
            The new entry is initialized to point to function. See
            Initialization and Termination Sections in Linker and Libraries
            Guide.
 
 

@@ -804,12 +804,12 @@
            link-edit, must reference an eliminated section.
 
 
        -z initarray=function
 
-           Appends an entry to the .initarray section of the object being
-           built.  If no .initarray section is present, a section is created.
+           Appends an entry to the .init_array section of the object being
+           built.  If no .init_array section is present, a section is created.
            The new entry is initialized to point to function. See
            Initialization and Termination Sections in Linker and Libraries
            Guide.