[ARC] don't force _init/_fini as DT_INIT/DT_FINI.
authorClaudiu Zissulescu <claziss@gmail.com>
Sat, 9 Feb 2019 10:07:42 +0000 (11:07 +0100)
committerClaudiu Zissulescu <claziss@gmail.com>
Sat, 9 Feb 2019 10:07:42 +0000 (11:07 +0100)
commita0e90a73f0dc7e44c980ef5ea512eb7a3bd0cabc
tree5234055e2e9ec8d8360e6a8cf5551b0a5d78202d
parentd1ea488747b9ca046c5b68ece2de757e1f357e3a
[ARC] don't force _init/_fini as DT_INIT/DT_FINI.

Recent gcc commit b4371b277f1e ("[ARC] Enable init_array support")
inhibits DT_"INIT,FINI} in favor of DT_{INIT,FINI}ARRAY.

Even prior to that, it seems ARC port is the only one with this
special DT_INIT/FINI handling in linker emulation. Removing it
doesn't seem to change any uClibc/glibc testsuite results,
so this can RIP anyways.

bfd/
    2019-02-01  Vineet Gupta <vgupta@synopsys.com>

           * elf32-arc.c: Delete init_str, fini_str

ld/
    2019-02-01  Vineet Gupta <vgupta@synopsys.com>

           * emultempl/arclinux.em : Delete special INIT/FINI handling.
bfd/ChangeLog
bfd/elf32-arc.c
ld/ChangeLog
ld/emultempl/arclinux.em