[PATCH] bfd: xtensa: fix PR ld/25630
Max Filippov
jcmvbkbc@gmail.com
Thu Mar 5 04:53:00 GMT 2020
More information about the Binutils mailing list
Thu Mar 5 04:53:00 GMT 2020
- Previous message (by thread): PR25629, objcopy : SIGSEGV in filter_symbols
- Next message (by thread): [PATCH] bfd: xtensa: fix PR ld/25630
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
bfd/ 2020-03-05 Max Filippov <jcmvbkbc@gmail.com> * elf32-xtensa.c (shrink_dynamic_reloc_sections): Shrink dynamic relocation sections for any removed reference to a dynamic symbol. --- bfd/elf32-xtensa.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c index 12ff9f772aaf..65e14d87940c 100644 --- a/bfd/elf32-xtensa.c +++ b/bfd/elf32-xtensa.c @@ -10148,10 +10148,9 @@ shrink_dynamic_reloc_sections (struct bfd_link_info *info, if ((r_type == R_XTENSA_32 || r_type == R_XTENSA_PLT) && (input_section->flags & SEC_ALLOC) != 0 - && (dynamic_symbol || bfd_link_pic (info)) - && (!h || h->root.type != bfd_link_hash_undefweak - || (dynamic_symbol - && (bfd_link_dll (info) || info->export_dynamic)))) + && (dynamic_symbol + || (bfd_link_pic (info) + && (!h || h->root.type != bfd_link_hash_undefweak)))) { asection *srel; bfd_boolean is_plt = FALSE; -- 2.20.1
- Previous message (by thread): PR25629, objcopy : SIGSEGV in filter_symbols
- Next message (by thread): [PATCH] bfd: xtensa: fix PR ld/25630
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list