https://sourceware.org/bugzilla/show_bug.cgi?id=32083

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
/* Callback used by a linker to check if the plugin will claim FILE. Writes
   the result in CLAIMED.  If KNOWN_USED, the object is known by the linker
   to be used, or an older API version is in use that does not provide that
   information; otherwise, the linker is only determining whether this is
   a plugin object and it should not be registered as having offload data if
   not claimed by the plugin.  */

static enum ld_plugin_status
claim_file_handler_v2 (const struct ld_plugin_input_file *file, int *claimed,
                       int known_used)

...
    if (obj.offload && (known_used || obj.found > 0))

Is known_used ignored when obj.found > 0?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to