Summary: | ld arm: global/weak non-hidden symbols referenced by R_ARM_FUNCDESC are unnecessarily exported | ||
---|---|---|---|
Product: | binutils | Reporter: | Fangrui Song <i> |
Component: | ld | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | NEW --- | ||
Severity: | normal | CC: | clyon, sam |
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: |
Description
Fangrui Song
2024-02-24 07:18:12 UTC
bfd/elf32-arm.c:16521 if (eh->fdpic_cnts.funcdesc_cnt > 0) { if (htab->root.dynamic_sections_created && h->dynindx == -1 && !h->forced_local) if (! bfd_elf_link_record_dynamic_symbol (info, h)) return false; is too conservative. bfd_elf_link_record_dynamic_symbol records some symbols that do not need to be exported. |