Use the correct names for the init and fini array start symbols in the default Pru...
authorDimitar Dimitrov <dimitar@dinux.eu>
Thu, 9 May 2019 09:26:11 +0000 (10:26 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 9 May 2019 09:26:11 +0000 (10:26 +0100)
* scripttempl/pru.sc (__init_array_begin, __init_array_begin):
Rename.

ld/ChangeLog
ld/scripttempl/pru.sc

index 6bdc516173a46e9886e0d0b24f82d765d3c76122..9ca4a4ed51a276ed6affe652946737185e4d76c9 100644 (file)
@@ -1,3 +1,8 @@
+2019-05-09  Dimitar Dimitrov  <dimitar@dinux.eu>
+
+       * scripttempl/pru.sc (__init_array_begin, __init_array_begin):
+       Rename.
+
 2019-05-08  Pekka Seppänen  <pexu@sourceware.mail.kapsi.fi>
 
        PR 24536
index 933a1f9690b5cd9e9fc1cac02ce75a412db99273..9ef798082f20c64a48f1dd404bf4ddf143e8dbe8 100644 (file)
@@ -119,11 +119,11 @@ SECTIONS
 
     /* CRT is prepared for constructor/destructor table to have
        a "valid" NULL address.  */
-    ${CONSTRUCTING+ __init_array_begin = . ; }
+    ${CONSTRUCTING+ __init_array_start = . ; }
     ${CONSTRUCTING+ KEEP (*(SORT_BY_INIT_PRIORITY(.init_array.*)))}
     ${CONSTRUCTING+ KEEP (*(.init_array))}
     ${CONSTRUCTING+ __init_array_end = . ; }
-    ${CONSTRUCTING+ __fini_array_begin = . ; }
+    ${CONSTRUCTING+ __fini_array_start = . ; }
     ${CONSTRUCTING+ KEEP (*(SORT_BY_INIT_PRIORITY(.fini_array.*)))}
     ${CONSTRUCTING+ KEEP (*(.fini_array))}
     ${CONSTRUCTING+ __fini_array_end = . ; }