diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2024-08-23 05:36:45 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2024-08-23 06:04:29 -0700 |
commit | cb51e0b236c7d492af2033582230e78d8b55290f (patch) | |
tree | d91d61c75c4ec072415bdf8329f895a02edd1927 /gcc | |
parent | c429d509a86d61b21298b787948e24a9c97084e3 (diff) | |
download | gcc-cb51e0b236c7d492af2033582230e78d8b55290f.zip gcc-cb51e0b236c7d492af2033582230e78d8b55290f.tar.gz gcc-cb51e0b236c7d492af2033582230e78d8b55290f.tar.bz2 |
lto: Don't check obj.found for offload section
obj.found is the number of LTO symbols. We should include the offload
section when it is used by linker even if there are no LTO symbols.
PR lto/116361
* lto-plugin.c (claim_file_handler_v2): Don't check obj.found
for the offload section.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions