[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/24267] ld discards a symbol with -flto and -static
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug ld/24267] ld discards a symbol with -flto and -static |
Date: |
Fri, 15 Mar 2019 23:06:18 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=24267
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #30 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Frediano Ziglio from comment #29)
> Wonderful!
>
> Some question:
> - why not adding a test based on the code from Martin?
Please feel free to submit a patch.
> - is this fix not similar to a previous issue (PR 23958, PR 23818, PR 23309,
> PR 22983, PR 22751, PR 22502, PR 22220, PR 21382, PR 18250, PR 20267, PR
> 20321)?
This was fixed for ELF by
commit 529fcb958524a45f737111d1a42787fdee4d7c66
Author: Paul Brook <address@hidden>
Date: Wed Dec 1 23:23:12 2004 +0000
2004-12-01 Paul Brook <address@hidden>
bfd/
* elflink.c (elf_link_add_object_symbols): Make symbols from
discarded
sections undefined.
ld/testsuite/
* ld-elf/group1.d: New test.
* ld-elf/group.ld, ld-elf/group1a.s, ld-elf/group1b.s: New test.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/24267] ld discards a symbol with -flto and -static, (continued)
- [Bug ld/24267] ld discards a symbol with -flto and -static, marxin.liska at gmail dot com, 2019/03/11
- [Bug ld/24267] ld discards a symbol with -flto and -static, hjl.tools at gmail dot com, 2019/03/11
- [Bug ld/24267] ld discards a symbol with -flto and -static, marxin.liska at gmail dot com, 2019/03/12
- [Bug ld/24267] ld discards a symbol with -flto and -static, freddy77 at gmail dot com, 2019/03/12
- [Bug ld/24267] ld discards a symbol with -flto and -static, hjl.tools at gmail dot com, 2019/03/14
- [Bug ld/24267] ld discards a symbol with -flto and -static, hjl.tools at gmail dot com, 2019/03/14
- [Bug ld/24267] ld discards a symbol with -flto and -static, marxin.liska at gmail dot com, 2019/03/15
- [Bug ld/24267] ld discards a symbol with -flto and -static, freddy77 at gmail dot com, 2019/03/15
- [Bug ld/24267] ld discards a symbol with -flto and -static, cvs-commit at gcc dot gnu.org, 2019/03/15
- [Bug ld/24267] ld discards a symbol with -flto and -static, freddy77 at gmail dot com, 2019/03/15
- [Bug ld/24267] ld discards a symbol with -flto and -static,
hjl.tools at gmail dot com <=