sunxi: re-add rootfs build when no profile is set, fixes #17980, thanks.
[openwrt.git] / toolchain / binutils / patches / 2.23.1 / 400-mips_no_dynamic_linking_sym.patch
1 --- a/bfd/elfxx-mips.c
2 +++ b/bfd/elfxx-mips.c
3 @@ -7335,6 +7335,7 @@ _bfd_mips_elf_create_dynamic_sections (b
4  
5        name = SGI_COMPAT (abfd) ? "_DYNAMIC_LINK" : "_DYNAMIC_LINKING";
6        bh = NULL;
7 +      if (0) {
8        if (!(_bfd_generic_link_add_one_symbol
9             (info, abfd, name, BSF_GLOBAL, bfd_abs_section_ptr, 0,
10              NULL, FALSE, get_elf_backend_data (abfd)->collect, &bh)))
11 @@ -7347,6 +7348,7 @@ _bfd_mips_elf_create_dynamic_sections (b
12  
13        if (! bfd_elf_link_record_dynamic_symbol (info, h))
14         return FALSE;
15 +      }
16  
17        if (! mips_elf_hash_table (info)->use_rld_obj_head)
18         {