diff options
author | Claudiu Zissulescu <claziss@gmail.com> | 2019-02-09 11:07:42 +0100 |
---|---|---|
committer | Claudiu Zissulescu <claziss@gmail.com> | 2019-02-09 11:07:42 +0100 |
commit | a0e90a73f0dc7e44c980ef5ea512eb7a3bd0cabc (patch) | |
tree | 5234055e2e9ec8d8360e6a8cf5551b0a5d78202d /bfd/elf32-arc.c | |
parent | d1ea488747b9ca046c5b68ece2de757e1f357e3a (diff) | |
download | gdb-a0e90a73f0dc7e44c980ef5ea512eb7a3bd0cabc.zip gdb-a0e90a73f0dc7e44c980ef5ea512eb7a3bd0cabc.tar.gz gdb-a0e90a73f0dc7e44c980ef5ea512eb7a3bd0cabc.tar.bz2 |
[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.
Diffstat (limited to 'bfd/elf32-arc.c')
-rw-r--r-- | bfd/elf32-arc.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/bfd/elf32-arc.c b/bfd/elf32-arc.c index c7469de..b86dd59 100644 --- a/bfd/elf32-arc.c +++ b/bfd/elf32-arc.c @@ -71,16 +71,6 @@ name_for_global_symbol (struct elf_link_hash_entry *h) } \ } - -/* The default symbols representing the init and fini dyn values. - TODO: Check what is the relation of those strings with arclinux.em - and DT_INIT. */ -#define INIT_SYM_STRING "_init" -#define FINI_SYM_STRING "_fini" - -char * init_str = INIT_SYM_STRING; -char * fini_str = FINI_SYM_STRING; - #define ARC_RELOC_HOWTO(TYPE, VALUE, SIZE, BITSIZE, RELOC_FUNCTION, OVERFLOW, FORMULA) \ case VALUE: \ return "R_" #TYPE; \ |