mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 06:17:47 +08:00
[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:
@ -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>
|
2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
|
||||||
|
|
||||||
* elf32-arc.c (name_for_global_symbol): Changed assert.
|
* elf32-arc.c (name_for_global_symbol): Changed assert.
|
||||||
|
@ -1735,7 +1735,8 @@ elf_arc_check_relocs (bfd * abfd,
|
|||||||
non-readonly sections. */
|
non-readonly sections. */
|
||||||
if (bfd_link_dll (info) && !bfd_link_pie (info)
|
if (bfd_link_dll (info) && !bfd_link_pie (info)
|
||||||
&& (sec->flags & SEC_ALLOC) != 0
|
&& (sec->flags & SEC_ALLOC) != 0
|
||||||
&& (sec->flags & SEC_READONLY) != 0)
|
&& (sec->flags & SEC_READONLY) == 0
|
||||||
|
&& (sec->flags & SEC_CODE) != 0)
|
||||||
{
|
{
|
||||||
const char *name;
|
const char *name;
|
||||||
if (h)
|
if (h)
|
||||||
|
Reference in New Issue
Block a user