[ARC] Don't convert _DYNAMIC@ to _GLOBAL_OFFSET_TABLE_
authorVineet Gupta <vgupta@synopsys.com>
Mon, 30 May 2016 09:49:22 +0000 (15:19 +0530)
committerCupertino Miranda <cmiranda@synopsys.com>
Thu, 8 Jun 2017 17:00:35 +0000 (19:00 +0200)
commit7ef0acc15ec011371a3901a997c867165bf7a733
treeebbaf1950fed9f820e85f791edabd7a2c238f372
parentcc89d0b3344614ae97456df84034096b698e5790
[ARC] Don't convert _DYNAMIC@ to _GLOBAL_OFFSET_TABLE_

Historically the arc abi demanded that a GOT[0] should be referencible as
[pc+_DYNAMIC@gotpc].  Hence we convert a _DYNAMIC@gotpc to a GOTPC reference to
_GLOBAL_OFFSET_TABLE_.

This is no longer the case and uClibc and upcomming GNU libc don't expect this
to happen.

gas/ChangeLog:

    Vineet Gupta  <vgupta@synopsys.com>
    Cupertino Miranda  <cmiranda@synopsys.com>

* config/tc-arc.c (md_undefined_symbol): Changed.
* config/tc-arc.h (DYNAMIC_STRUCT_NAME): Removed.
bfd/ChangeLog
gas/config/tc-arc.c
gas/config/tc-arc.h