[PATCH v2] elf: Only use function size from regular object
H.J. Lu
hjl.tools@gmail.com
Thu Sep 10 23:32:28 GMT 2026
Only use function size defined in regular object since function size
defined in shared library at link-time is irrelevant.
bfd/
PR ld/34585
* elflink.c (elf_link_add_object_symbols): Only use function size
defined in regular object.
ld/
PR ld/34585
* testsuite/ld-arm/preempt-app.sym: Adjusted.
* testsuite/ld-elf/pr34585a.rd: New file.
* testsuite/ld-elf/pr34585a.s: Likewise.
* testsuite/ld-elf/pr34585b.rd: Likewise.
* testsuite/ld-elf/pr34585b.s: Likewise.
* testsuite/ld-elf/pr34585c.s: Likewise.
* testsuite/ld-elf/pr34585d.s: Likewise.
* testsuite/ld-elf/shared.exp: Run PR ld/34585 tests.
--
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v2-0001-elf-Only-use-function-size-from-regular-object.patch
Type: text/x-patch
Size: 7851 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20260911/3feaa824/attachment-0001.bin>
More information about the Binutils
mailing list