diff options
author | Dimitar Dimitrov <dimitar@dinux.eu> | 2019-05-09 10:26:11 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2019-05-09 10:26:11 +0100 |
commit | dd3189990b1d918b3a9e482ec6e9cc9a8b9e8fe9 (patch) | |
tree | 57d3d7bb4fc069c01550107ae86dbe9893764f9e /ld/scripttempl | |
parent | b42560a24154570a42360294f44ff14a95d795ec (diff) | |
download | gdb-dd3189990b1d918b3a9e482ec6e9cc9a8b9e8fe9.zip gdb-dd3189990b1d918b3a9e482ec6e9cc9a8b9e8fe9.tar.gz gdb-dd3189990b1d918b3a9e482ec6e9cc9a8b9e8fe9.tar.bz2 |
Use the correct names for the init and fini array start symbols in the default Pru linker script.
* scripttempl/pru.sc (__init_array_begin, __init_array_begin):
Rename.
Diffstat (limited to 'ld/scripttempl')
-rw-r--r-- | ld/scripttempl/pru.sc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/scripttempl/pru.sc b/ld/scripttempl/pru.sc index 933a1f9..9ef7980 100644 --- a/ld/scripttempl/pru.sc +++ b/ld/scripttempl/pru.sc @@ -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 = . ; } |