[ARC] Fix to pass ld-elf-ehdr_start-shared.
bfd/ 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com> * elf32-arc.c (elf_arc_check_relocs): Changed
This commit is contained in:
parent
094fb06395
commit
b3aee8396f
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
|
||||
|
||||
* elf32-arc.c (elf_arc_check_relocs): Changed
|
||||
|
||||
2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
|
||||
|
||||
* elf32-arc.c (name_for_global_symbol): Changed assert.
|
||||
|
|
|
@ -1735,7 +1735,8 @@ elf_arc_check_relocs (bfd * abfd,
|
|||
non-readonly sections. */
|
||||
if (bfd_link_dll (info) && !bfd_link_pie (info)
|
||||
&& (sec->flags & SEC_ALLOC) != 0
|
||||
&& (sec->flags & SEC_READONLY) != 0)
|
||||
&& (sec->flags & SEC_READONLY) == 0
|
||||
&& (sec->flags & SEC_CODE) != 0)
|
||||
{
|
||||
const char *name;
|
||||
if (h)
|
||||
|
|
Loading…
Add table
Reference in a new issue